Home | History | Annotate | Download | only in GLcommon

Lines Matching refs:pIn

200 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut) {
201 etc1_uint32 high = (pIn[0] << 24) | (pIn[1] << 16) | (pIn[2] << 8) | pIn[3];
202 etc1_uint32 low = (pIn[4] << 24) | (pIn[5] << 16) | (pIn[6] << 8) | pIn[7];
247 void etc_average_colors_subblock(const etc1_byte* pIn, etc1_uint32 inMask,
263 const etc1_byte* p = pIn + i * 3;
280 const etc1_byte* p = pIn + i * 3;
299 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex,
303 int pixelR = pIn[0];
304 int pixelG = pIn[1];
305 int pixelB = pIn[2];
335 void etc_encode_subblock_helper(const etc1_byte* pIn, etc1_uint32 inMask,
349 score += chooseModifier(pBaseColors, pIn + i * 3,
364 score += chooseModifier(pBaseColors, pIn + i * 3,
433 void etc_encode_block_helper(const etc1_byte* pIn, etc1_uint32 inMask,
451 etc_encode_subblock_helper(pIn, inMask, &temp, flipped, false,
462 etc_encode_subblock_helper(pIn, inMask, &temp, flipped, true,
484 void etc1_encode_block(const etc1_byte* pIn, etc1_uint32 inMask,
488 etc_average_colors_subblock(pIn, inMask, colors, false, false);
489 etc_average_colors_subblock(pIn, inMask, colors + 3, false, true);
490 etc_average_colors_subblock(pIn, inMask, flippedColors, true, false);
491 etc_average_colors_subblock(pIn, inMask, flippedColors + 3, true, true);
494 etc_encode_block_helper(pIn, inMask, colors, &a, false);
495 etc_encode_block_helper(pIn, inMask, flippedColors, &b, true);
508 // pIn - pointer to the image data. Formatted such that the Red component of
509 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset;
512 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height,
540 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy);
562 // pIn - pointer to encoded data.
564 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset. Must be
568 int etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut,
589 etc1_decode_block(pIn, block);
590 pIn += ETC1_ENCODED_BLOCK_SIZE;
627 static etc1_uint32 readBEUint16(const etc1_byte* pIn) {
628 return (pIn[0] << 8) | pIn[1];