/development/tools/emulator/opengl/host/libs/Translator/include/GLcommon/ |
etc1.h | 27 typedef unsigned char etc1_byte; typedef 46 void etc1_encode_block(const etc1_byte* pIn, etc1_uint32 validPixelMask, etc1_byte* pOut); 56 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut); 69 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, 70 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut); 80 int etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, 90 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height) [all...] |
/frameworks/base/opengl/include/ETC1/ |
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* pHeader, etc1_uint32 width, etc1_uint32 height) [all...] |
/development/tools/emulator/opengl/host/libs/Translator/GLcommon/ |
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* p = pIn + i * 3 [all...] |
TextureUtils.cpp | 66 etc1_byte* pOut = new etc1_byte[size]; 67 int res = etc1_decode_image((const etc1_byte*)data, pOut, width, height, 3, bpr);
|
/frameworks/base/opengl/libs/ETC1/ |
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* p = pIn + i * 3 [all...] |
/development/tools/etc1tool/ |
etc1tool.cpp | 136 int read_PNG_File(const char* pInput, etc1_byte** ppImageData, 147 etc1_byte* pSourceImage = 0; 202 pSourceImage = new etc1_byte[stride * height]; 234 int readPKMFile(const char* pInput, etc1_byte** ppImageData, 238 etc1_byte header[ETC_PKM_HEADER_SIZE]; 319 etc1_byte* pSourceImage = 0; 320 etc1_byte* pEncodedData = 0; 321 etc1_byte* pDiffImage = 0; // Used for differencing 328 pEncodedData = new etc1_byte[encodedSize]; 343 etc1_byte header[ETC_PKM_HEADER_SIZE] [all...] |
/frameworks/base/core/jni/android/opengl/ |
util.cpp | 839 etc1_encode_block((etc1_byte*) inB.getData(), validPixelMask, 840 (etc1_byte*) outB.getData()); 864 etc1_decode_block((etc1_byte*) inB.getData(), 865 (etc1_byte*) outB.getData()); 901 int result = etc1_encode_image((etc1_byte*) inB.getData(), 904 (etc1_byte*) outB.getData()); 934 int result = etc1_decode_image((etc1_byte*) inB.getData(), 935 (etc1_byte*) outB.getData(), 952 etc1_pkm_format_header((etc1_byte*) headerB.getData(), width, height); 968 result = etc1_pkm_is_valid((etc1_byte*) headerB.getData()) [all...] |
/frameworks/base/opengl/libagl/ |
texture.cpp | [all...] |