56 {{1, 2, 3, 4}, {1, 2, 0, 3},
57 {1, 2, 1, 3}, {1, 2, 2, 3},
58 {1, 0, 2, 3}, {1, 0, 0, 2},
59 {1, 0, 1, 2}, {1, 1, 2, 3},
60 {0, 1, 2, 3}, {0, 1, 0, 2},
61 {1, 1, 0, 2}, {0, 1, 1, 2},
62 {0, 0, 1, 2}, {0, 0, 0, 1},
106 "YOP: palette parameters invalid, header probably corrupt\n");
146 if (bufptr < s->dstbuf) {
148 "YOP: cannot decode, file probably corrupt\n");
154 s->
dstptr[linesize] = bufptr[linesize];
155 s->
dstptr[linesize + 1] = bufptr[linesize + 1];
183 int tag, firstcolor, is_odd_frame;
207 is_odd_frame = avpkt->
data[0];
209 palette = (uint32_t *)frame->
data[1];
212 palette[i + firstcolor] = (s->
srcptr[0] << 18) |
218 for (y = 0; y < avctx->
height; y += 2) {
219 for (x = 0; x < avctx->
width; x += 2) {