Searched refs:etc1_byte (Results 1 - 4 of 4) sorted by relevance
/frameworks/native/opengl/include/ETC1/ |
H A D | etc1.h | 25 typedef unsigned char etc1_byte; typedef 44 void etc1_encode_block(const etc1_byte* pIn, etc1_uint32 validPixelMask, etc1_byte* pOut); 54 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut); 67 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, 68 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut); 78 int etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, 88 void etc1_pkm_format_header(etc1_byte* pHeade [all...] |
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 122 static inline etc1_byte clamp(int x) { 123 return (etc1_byte) (x >= 0 ? (x < 255 ? x : 255) : 0); 167 void decode_subblock(etc1_byte* pOut, int r, int g, int b, const int* table, 190 etc1_byte* q = pOut + 3 * (x + 4 * y); 200 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut) { 247 void etc_average_colors_subblock(const etc1_byte* pIn, etc1_uint32 inMask, 248 etc1_byte* pColors, bool flipped, bool second) { 263 const etc1_byte* p = pIn + i * 3; 280 const etc1_byte* [all...] |
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 841 etc1_encode_block((etc1_byte*) inB.getData(), validPixelMask, 842 (etc1_byte*) outB.getData()); 866 etc1_decode_block((etc1_byte*) inB.getData(), 867 (etc1_byte*) outB.getData()); 903 int result = etc1_encode_image((etc1_byte*) inB.getData(), 906 (etc1_byte*) outB.getData()); 936 int result = etc1_decode_image((etc1_byte*) inB.getData(), 937 (etc1_byte*) outB.getData(), 954 etc1_pkm_format_header((etc1_byte*) headerB.getData(), width, height); 970 result = etc1_pkm_is_valid((etc1_byte*) header [all...] |
/frameworks/native/opengl/libagl/ |
H A D | texture.cpp | 1134 (const etc1_byte*)data, 1135 (etc1_byte*)surface->data,
|
Completed in 68 milliseconds