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");
158 if (bufptr < s->dstbuf) {
165 s->
dstptr[linesize] = bufptr[linesize];
166 s->
dstptr[linesize + 1] = bufptr[linesize + 1];
194 int tag, firstcolor, is_odd_frame;
215 is_odd_frame = avpkt->
data[0];
221 palette = (uint32_t *)frame->
data[1];
224 palette[i + firstcolor] = (s->
srcptr[0] << 18) |
227 palette[i + firstcolor] |= 0xFF
U << 24 |
228 (palette[i + firstcolor] >> 6) & 0x30303;
233 for (y = 0; y < avctx->
height; y += 2) {
234 for (x = 0; x < avctx->
width; x += 2) {