• Home
  • Raw
  • Download

Lines Matching refs:pIn

200 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut) {  in etc1_decode_block()  argument
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()
247 void etc_average_colors_subblock(const etc1_byte* pIn, etc1_uint32 inMask, in etc_average_colors_subblock() argument
263 const etc1_byte* p = pIn + i * 3; in etc_average_colors_subblock()
280 const etc1_byte* p = pIn + i * 3; in etc_average_colors_subblock()
299 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument
303 int pixelR = pIn[0]; in chooseModifier()
304 int pixelG = pIn[1]; in chooseModifier()
305 int pixelB = pIn[2]; in chooseModifier()
335 void etc_encode_subblock_helper(const etc1_byte* pIn, etc1_uint32 inMask, in etc_encode_subblock_helper() argument
349 score += chooseModifier(pBaseColors, pIn + i * 3, in etc_encode_subblock_helper()
364 score += chooseModifier(pBaseColors, pIn + i * 3, in etc_encode_subblock_helper()
429 void etc_encode_block_helper(const etc1_byte* pIn, etc1_uint32 inMask, in etc_encode_block_helper() argument
447 etc_encode_subblock_helper(pIn, inMask, &temp, flipped, false, in etc_encode_block_helper()
458 etc_encode_subblock_helper(pIn, inMask, &temp, flipped, true, in etc_encode_block_helper()
480 void etc1_encode_block(const etc1_byte* pIn, etc1_uint32 inMask, in etc1_encode_block() argument
484 etc_average_colors_subblock(pIn, inMask, colors, false, false); in etc1_encode_block()
485 etc_average_colors_subblock(pIn, inMask, colors + 3, false, true); in etc1_encode_block()
486 etc_average_colors_subblock(pIn, inMask, flippedColors, true, false); in etc1_encode_block()
487 etc_average_colors_subblock(pIn, inMask, flippedColors + 3, true, true); in etc1_encode_block()
490 etc_encode_block_helper(pIn, inMask, colors, &a, false); in etc1_encode_block()
491 etc_encode_block_helper(pIn, inMask, flippedColors, &b, true); in etc1_encode_block()
508 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, in etc1_encode_image() argument
536 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); in etc1_encode_image()
564 int etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, in etc1_decode_image() argument
585 etc1_decode_block(pIn, block); in etc1_decode_image()
586 pIn += ETC1_ENCODED_BLOCK_SIZE; in etc1_decode_image()
623 static etc1_uint32 readBEUint16(const etc1_byte* pIn) { in readBEUint16() argument
624 return (pIn[0] << 8) | pIn[1]; in readBEUint16()