Searched refs:etc1_uint32 (Results 1 – 2 of 2) sorted by relevance
/hardware/google/gfxstream/common/etc/include/gfxstream/ |
D | etc.h | 34 typedef unsigned int etc1_uint32; typedef 55 void etc1_encode_block(const etc1_byte* pIn, etc1_uint32 validPixelMask, etc1_byte* pOut); 79 etc1_uint32 etc1_get_encoded_data_size(etc1_uint32 width, etc1_uint32 height); 81 etc1_uint32 etc_get_encoded_data_size(ETC2ImageFormat format, etc1_uint32 width, 82 etc1_uint32 height); 83 etc1_uint32 etc_get_decoded_pixel_size(ETC2ImageFormat format); 92 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, 93 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut); 105 etc1_uint32 width, etc1_uint32 height, 106 etc1_uint32 stride); [all …]
|
/hardware/google/gfxstream/common/etc/ |
D | etc.cpp | 224 etc1_uint32 low, bool second, bool flipped, bool isPunchthroughAlpha, in decode_subblock() 266 static void etc2_T_H_index(const int* clrTable, etc1_uint32 low, in etc2_T_H_index() 296 static void etc2_decode_block_T(etc1_uint32 high, etc1_uint32 low, in etc2_decode_block_T() 325 static void etc2_decode_block_H(etc1_uint32 high, etc1_uint32 low, in etc2_decode_block_H() 356 static void etc2_decode_block_P(etc1_uint32 high, etc1_uint32 low, in etc2_decode_block_P() 391 etc1_uint32 high = (pIn[0] << 24) | (pIn[1] << 16) | (pIn[2] << 8) | pIn[3]; in etc2_decode_rgb_block() 392 etc1_uint32 low = (pIn[4] << 24) | (pIn[5] << 16) | (pIn[6] << 8) | pIn[7]; in etc2_decode_rgb_block() 495 etc1_uint32 high; 496 etc1_uint32 low; 497 etc1_uint32 score; // Lower is more accurate [all …]
|