Lines Matching refs:pOut
167 void decode_subblock(etc1_byte* pOut, int r, int g, int b, const int* table, in decode_subblock() argument
190 etc1_byte* q = pOut + 3 * (x + 4 * y); in decode_subblock()
200 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut) { in etc1_decode_block() argument
229 decode_subblock(pOut, r1, g1, b1, tableA, low, false, flipped); in etc1_decode_block()
230 decode_subblock(pOut, r2, g2, b2, tableB, low, true, flipped); in etc1_decode_block()
468 static void writeBigEndian(etc1_byte* pOut, etc1_uint32 d) { in writeBigEndian() argument
469 pOut[0] = (etc1_byte)(d >> 24); in writeBigEndian()
470 pOut[1] = (etc1_byte)(d >> 16); in writeBigEndian()
471 pOut[2] = (etc1_byte)(d >> 8); in writeBigEndian()
472 pOut[3] = (etc1_byte) d; in writeBigEndian()
481 etc1_byte* pOut) { in etc1_encode_block() argument
493 writeBigEndian(pOut, a.high); in etc1_encode_block()
494 writeBigEndian(pOut + 4, a.low); in etc1_encode_block()
509 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) { in etc1_encode_image() argument
550 memcpy(pOut, encoded, sizeof(encoded)); in etc1_encode_image()
551 pOut += sizeof(encoded); in etc1_encode_image()
564 int etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, in etc1_decode_image() argument
589 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy); in etc1_decode_image()
618 static void writeBEUint16(etc1_byte* pOut, etc1_uint32 data) { in writeBEUint16() argument
619 pOut[0] = (etc1_byte) (data >> 8); in writeBEUint16()
620 pOut[1] = (etc1_byte) data; in writeBEUint16()