Go to the documentation of this file.
51 int buf_size = avpkt->
size;
67 for (i = 0; i < 16; i++) {
68 a->
delta[i] = *bytestream++;
72 for (y = 0; y < avctx->
height; y++) {
80 for (i = 0; i < 4; i++)
81 a->
offset[i] = *bytestream++;
83 offset = a->
offset[0] - a->
delta[bytestream[2] & 0xF];
84 for (x = 0; x < avctx->
width; x += 4) {
85 luma[0] = offset += a->
delta[bytestream[2] & 0xF];
86 luma[1] = offset += a->
delta[bytestream[2] >> 4];
87 luma[2] = offset += a->
delta[bytestream[0] & 0xF];
88 luma[3] = offset += a->
delta[bytestream[0] >> 4];
91 *cb++ = bytestream[3];
92 *
cr++ = bytestream[1];
97 offset = a->
offset[y & 3] - a->
delta[bytestream[2] & 0xF];
99 for (x = 0; x < avctx->
width; x += 8) {
100 luma[0] = offset += a->
delta[bytestream[2] & 0xF];
101 luma[1] = offset += a->
delta[bytestream[2] >> 4];
102 luma[2] = offset += a->
delta[bytestream[3] & 0xF];
103 luma[3] = offset += a->
delta[bytestream[3] >> 4];
104 luma[4] = offset += a->
delta[bytestream[0] & 0xF];
105 luma[5] = offset += a->
delta[bytestream[0] >> 4];
106 luma[6] = offset += a->
delta[bytestream[1] & 0xF];
107 luma[7] = offset += a->
delta[bytestream[1] >> 4];