Home | History | Annotate | Download | only in etc1

Lines Matching refs:pOut

175 void decode_subblock(etc1_byte* pOut, int r, int g, int b, const int* table,
198 etc1_byte* q = pOut + 3 * (x + 4 * y);
208 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut) {
237 decode_subblock(pOut, r1, g1, b1, tableA, low, false, flipped);
238 decode_subblock(pOut, r2, g2, b2, tableB, low, true, flipped);
480 static void writeBigEndian(etc1_byte* pOut, etc1_uint32 d) {
481 pOut[0] = (etc1_byte)(d >> 24);
482 pOut[1] = (etc1_byte)(d >> 16);
483 pOut[2] = (etc1_byte)(d >> 8);
484 pOut[3] = (etc1_byte) d;
493 etc1_byte* pOut) {
505 writeBigEndian(pOut, a.high);
506 writeBigEndian(pOut + 4, a.low);
518 // pOut - pointer to encoded data. Must be large enough to store entire encoded image.
521 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) {
562 memcpy(pOut, encoded, sizeof(encoded));
563 pOut += sizeof(encoded);
571 // pOut - pointer to the image data. Will be written such that the Red component of
576 int etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut,
601 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy);
630 static void writeBEUint16(etc1_byte* pOut, etc1_uint32 data) {
631 pOut[0] = (etc1_byte) (data >> 8);
632 pOut[1] = (etc1_byte) data;