• Home
  • Raw
  • Download

Lines Matching refs:pOut

175 void decode_subblock(etc1_byte* pOut, int r, int g, int b, const int* table,  in decode_subblock()  argument
198 etc1_byte* q = pOut + 3 * (x + 4 * y); in decode_subblock()
208 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut) { in etc1_decode_block() argument
237 decode_subblock(pOut, r1, g1, b1, tableA, low, false, flipped); in etc1_decode_block()
238 decode_subblock(pOut, r2, g2, b2, tableB, low, true, flipped); in etc1_decode_block()
480 static void writeBigEndian(etc1_byte* pOut, etc1_uint32 d) { in writeBigEndian() argument
481 pOut[0] = (etc1_byte)(d >> 24); in writeBigEndian()
482 pOut[1] = (etc1_byte)(d >> 16); in writeBigEndian()
483 pOut[2] = (etc1_byte)(d >> 8); in writeBigEndian()
484 pOut[3] = (etc1_byte) d; in writeBigEndian()
493 etc1_byte* pOut) { in etc1_encode_block() argument
505 writeBigEndian(pOut, a.high); in etc1_encode_block()
506 writeBigEndian(pOut + 4, a.low); in etc1_encode_block()
521 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) { in etc1_encode_image() argument
562 memcpy(pOut, encoded, sizeof(encoded)); in etc1_encode_image()
563 pOut += sizeof(encoded); in etc1_encode_image()
576 int etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, in etc1_decode_image() argument
601 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy); in etc1_decode_image()
630 static void writeBEUint16(etc1_byte* pOut, etc1_uint32 data) { in writeBEUint16() argument
631 pOut[0] = (etc1_byte) (data >> 8); in writeBEUint16()
632 pOut[1] = (etc1_byte) data; in writeBEUint16()