• Home
  • Raw
  • Download

Lines Matching refs:pIn

208 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut) {  in etc1_decode_block()  argument
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()
255 void etc_average_colors_subblock(const etc1_byte* pIn, etc1_uint32 inMask, in etc_average_colors_subblock() argument
271 const etc1_byte* p = pIn + i * 3; in etc_average_colors_subblock()
288 const etc1_byte* p = pIn + i * 3; in etc_average_colors_subblock()
307 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument
311 int pixelR = pIn[0]; in chooseModifier()
312 int pixelG = pIn[1]; in chooseModifier()
313 int pixelB = pIn[2]; in chooseModifier()
343 void etc_encode_subblock_helper(const etc1_byte* pIn, etc1_uint32 inMask, in etc_encode_subblock_helper() argument
357 score += chooseModifier(pBaseColors, pIn + i * 3, in etc_encode_subblock_helper()
372 score += chooseModifier(pBaseColors, pIn + i * 3, in etc_encode_subblock_helper()
443 void etc_encode_block_helper(const etc1_byte* pIn, etc1_uint32 inMask, in etc_encode_block_helper() argument
461 etc_encode_subblock_helper(pIn, inMask, &temp, flipped, false, in etc_encode_block_helper()
472 etc_encode_subblock_helper(pIn, inMask, &temp, flipped, true, in etc_encode_block_helper()
494 void etc1_encode_block(const etc1_byte* pIn, etc1_uint32 inMask, in etc1_encode_block() argument
498 etc_average_colors_subblock(pIn, inMask, colors, false, false); in etc1_encode_block()
499 etc_average_colors_subblock(pIn, inMask, colors + 3, false, true); in etc1_encode_block()
500 etc_average_colors_subblock(pIn, inMask, flippedColors, true, false); in etc1_encode_block()
501 etc_average_colors_subblock(pIn, inMask, flippedColors + 3, true, true); in etc1_encode_block()
504 etc_encode_block_helper(pIn, inMask, colors, &a, false); in etc1_encode_block()
505 etc_encode_block_helper(pIn, inMask, flippedColors, &b, true); in etc1_encode_block()
522 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, in etc1_encode_image() argument
550 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); in etc1_encode_image()
578 int etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, in etc1_decode_image() argument
599 etc1_decode_block(pIn, block); in etc1_decode_image()
600 pIn += ETC1_ENCODED_BLOCK_SIZE; in etc1_decode_image()
637 static etc1_uint32 readBEUint16(const etc1_byte* pIn) { in readBEUint16() argument
638 return (pIn[0] << 8) | pIn[1]; in readBEUint16()