26 #define MAX_HUFF_CODES 16
55 int w4 = (avctx->
width + 3) & ~3;
56 int h4 = (avctx->
height + 3) & ~3;
72 int offset, w, h,
color = 0, x, y, i;
90 for (i = 0; i < w; ++i)
176 while (x < mp->avctx->width) {
183 for (i = (x + 3) & ~3; i < x + w; i += 4) {
193 p.
y = av_clip(p.
y, 0, 31);
197 p.
v = av_clip(p.
v, -32, 31);
199 p.
u = av_clip(p.
u, -32, 31);
223 p.
y = av_clip(p.
y, 0, 31);
226 p.
v = av_clip(p.
v, -32, 31);
228 p.
u = av_clip(p.
u, -32, 31);
234 for (y0 = 0; y0 < 2; ++y0)
240 void *
data,
int *data_size,
243 const uint8_t *buf = avpkt->
data;
244 int buf_size = avpkt->
size;
247 int i, count1, count2, sz;
262 memcpy(mp->
bswapbuf + (buf_size & ~3), buf + (buf_size & ~3), buf_size & 3);
267 for (i = !(avctx->
extradata[1] & 2); i < 2; ++i) {
318 .
name =
"motionpixels",