Home
last modified time | relevance | path

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

/external/skia/third_party/etc1/
Detc1.h35 typedef unsigned int etc1_uint32; typedef
52 void etc1_encode_block(const etc1_byte* pIn, etc1_uint32 validPixelMask, etc1_byte* pOut);
66 etc1_uint32 etc1_get_encoded_data_size(etc1_uint32 width, etc1_uint32 height);
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);
87 etc1_uint32 width, etc1_uint32 height,
88 etc1_uint32 pixelSize, etc1_uint32 stride);
96 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height);
104 etc1_uint32 etc1_pkm_get_width(const etc1_byte* pHeader);
108 etc1_uint32 etc1_pkm_get_height(const etc1_byte* pHeader);
Detc1.cpp176 etc1_uint32 low, bool second, bool flipped) { in decode_subblock()
209 etc1_uint32 high = (pIn[0] << 24) | (pIn[1] << 16) | (pIn[2] << 8) | pIn[3]; in etc1_decode_block()
210 etc1_uint32 low = (pIn[4] << 24) | (pIn[5] << 16) | (pIn[6] << 8) | pIn[7]; in etc1_decode_block()
242 etc1_uint32 high;
243 etc1_uint32 low;
244 etc1_uint32 score; // Lower is more accurate
255 void etc_average_colors_subblock(const etc1_byte* pIn, etc1_uint32 inMask, in etc_average_colors_subblock()
306 static etc1_uint32 chooseModifier(const etc1_byte* pBaseColors, in chooseModifier()
307 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier()
309 etc1_uint32 bestScore = ~0; in chooseModifier()
[all …]