Home | History | Annotate | Download | only in ETC1

Lines Matching refs:pOut

167 void decode_subblock(etc1_byte* pOut, int r, int g, int b, const int* table,
190 etc1_byte* q = pOut + 3 * (x + 4 * y);
200 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut) {
229 decode_subblock(pOut, r1, g1, b1, tableA, low, false, flipped);
230 decode_subblock(pOut, r2, g2, b2, tableB, low, true, flipped);
472 static void writeBigEndian(etc1_byte* pOut, etc1_uint32 d) {
473 pOut[0] = (etc1_byte)(d >> 24);
474 pOut[1] = (etc1_byte)(d >> 16);
475 pOut[2] = (etc1_byte)(d >> 8);
476 pOut[3] = (etc1_byte) d;
485 etc1_byte* pOut) {
497 writeBigEndian(pOut, a.high);
498 writeBigEndian(pOut + 4, a.low);
510 // pOut - pointer to encoded data. Must be large enough to store entire encoded image.
513 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) {
554 memcpy(pOut, encoded, sizeof(encoded));
555 pOut += sizeof(encoded);
563 // pOut - pointer to the image data. Will be written such that the Red component of
568 int etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut,
593 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy);
622 static void writeBEUint16(etc1_byte* pOut, etc1_uint32 data) {
623 pOut[0] = (etc1_byte) (data >> 8);
624 pOut[1] = (etc1_byte) data;