/external/skia/third_party/etc1/ |
etc1.h | 33 typedef unsigned char etc1_byte; typedef 52 void etc1_encode_block(const etc1_byte* pIn, etc1_uint32 validPixelMask, etc1_byte* pOut); 62 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut); 75 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, 76 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut); 86 int etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, 96 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height) [all...] |
etc1.cpp | 130 static inline etc1_byte clamp(int x) { 131 return (etc1_byte) (x >= 0 ? (x < 255 ? x : 255) : 0); 175 void decode_subblock(etc1_byte* pOut, int r, int g, int b, const int* table, 198 etc1_byte* q = pOut + 3 * (x + 4 * y); 208 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut) { 255 void etc_average_colors_subblock(const etc1_byte* pIn, etc1_uint32 inMask, 256 etc1_byte* pColors, bool flipped, bool second) { 271 const etc1_byte* p = pIn + i * 3; 288 const etc1_byte* p = pIn + i * 3 [all...] |
/frameworks/native/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...] |
/frameworks/native/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...] |
/external/skia/bench/ |
ETCBitmapBench.cpp | 23 static etc1_byte* create_expanded_etc1_bitmap(const uint8_t* orig, int factor) { 27 const etc1_byte* origData = reinterpret_cast<const etc1_byte*>(orig); 52 etc1_byte* newData = reinterpret_cast<etc1_byte *>( 56 etc1_byte* copyInto = newData; 67 const etc1_byte* rowStart = origData + ((j % origBlocksY) * origRowSzInBytes); 102 etc1_byte* expandedETC1 =
|
/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...] |
/external/skia/gm/ |
etc1bitmap.cpp | 29 etc1_byte *origData = reinterpret_cast<etc1_byte *>(data); 51 etc1_byte *newData = reinterpret_cast<etc1_byte *>(am.get());
|
/frameworks/base/core/jni/android/opengl/ |
util.cpp | 921 etc1_encode_block((etc1_byte*) inB.getData(), validPixelMask, 922 (etc1_byte*) outB.getData()); 946 etc1_decode_block((etc1_byte*) inB.getData(), 947 (etc1_byte*) outB.getData()); 983 etc1_encode_image((etc1_byte*) inB.getData(), width, height, pixelSize, stride, 984 (etc1_byte*) outB.getData()); 1014 etc1_decode_image((etc1_byte*) inB.getData(), (etc1_byte*) outB.getData(), 1030 etc1_pkm_format_header((etc1_byte*) headerB.getData(), width, height); 1046 result = etc1_pkm_is_valid((etc1_byte*) headerB.getData()) [all...] |
/frameworks/native/opengl/libagl/ |
texture.cpp | [all...] |