1 #ifndef S2TC_COMPRESSOR_H
2 #define S2TC_COMPRESSOR_H
4 // note: this is a C header file!
10 void rgb565_image(unsigned char *out, const unsigned char *rgba, int w, int h, int srccomps, int bgr, int alphabits);
30 void s2tc_encode_block(unsigned char *out, const unsigned char *rgba, int iw, int w, int h, DxtMode dxt, ColorDistMode cd, int nrandom);