Home
last modified time | relevance | path

Searched refs:etc1_uint32 (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/opengl/include/ETC1/
Detc1.h27 typedef unsigned int etc1_uint32; typedef
44 void etc1_encode_block(const etc1_byte* pIn, etc1_uint32 validPixelMask, etc1_byte* pOut);
58 etc1_uint32 etc1_get_encoded_data_size(etc1_uint32 width, etc1_uint32 height);
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);
79 etc1_uint32 width, etc1_uint32 height,
80 etc1_uint32 pixelSize, etc1_uint32 stride);
88 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height);
96 etc1_uint32 etc1_pkm_get_width(const etc1_byte* pHeader);
100 etc1_uint32 etc1_pkm_get_height(const etc1_byte* pHeader);
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp168 etc1_uint32 low, bool second, bool flipped) { in decode_subblock()
201 etc1_uint32 high = (pIn[0] << 24) | (pIn[1] << 16) | (pIn[2] << 8) | pIn[3]; in etc1_decode_block()
202 etc1_uint32 low = (pIn[4] << 24) | (pIn[5] << 16) | (pIn[6] << 8) | pIn[7]; in etc1_decode_block()
234 etc1_uint32 high;
235 etc1_uint32 low;
236 etc1_uint32 score; // Lower is more accurate
247 void etc_average_colors_subblock(const etc1_byte* pIn, etc1_uint32 inMask, in etc_average_colors_subblock()
298 static etc1_uint32 chooseModifier(const etc1_byte* pBaseColors, in chooseModifier()
299 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier()
301 etc1_uint32 bestScore = ~0; in chooseModifier()
[all …]