57 {{1, 2, 3, 4}, {1, 2, 0, 3},
58 {1, 2, 1, 3}, {1, 2, 2, 3},
59 {1, 0, 2, 3}, {1, 0, 0, 2},
60 {1, 0, 1, 2}, {1, 1, 2, 3},
61 {0, 1, 2, 3}, {0, 1, 0, 2},
62 {1, 1, 0, 2}, {0, 1, 1, 2},
63 {0, 0, 1, 2}, {0, 0, 0, 1},
116 "Palette parameters invalid, header probably corrupt\n");
160 if (bufptr < s->dstbuf) {
167 s->
dstptr[linesize] = bufptr[linesize];
168 s->
dstptr[linesize + 1] = bufptr[linesize + 1];
196 int tag, firstcolor, is_odd_frame;
217 is_odd_frame = avpkt->
data[0];
223 palette = (uint32_t *)frame->
data[1];
226 palette[i + firstcolor] = (s->
srcptr[0] << 18) |
229 palette[i + firstcolor] |= 0xFF
U << 24 |
230 (palette[i + firstcolor] >> 6) & 0x30303;
235 for (y = 0; y < avctx->
height; y += 2) {
236 for (x = 0; x < avctx->
width; x += 2) {