27 #define MAX_HUFF_CODES 16
69 int w4 = (avctx->
width + 3) & ~3;
70 int h4 = (avctx->
height + 3) & ~3;
122 for (i = 0; i < w; ++i)
218 while (x < mp->avctx->width) {
225 for (i = (x + 3) & ~3; i < x + w; i += 4) {
235 p.
y = av_clip_uintp2(p.
y, 5);
239 p.
v = av_clip_intp2(p.
v, 5);
241 p.
u = av_clip_intp2(p.
u, 5);
267 p.
y = av_clip_uintp2(p.
y, 5);
270 p.
v = av_clip_intp2(p.
v, 5);
272 p.
u = av_clip_intp2(p.
u, 5);
278 for (y0 = 0; y0 < 2; ++y0)
284 void *
data,
int *got_frame,
288 int buf_size = avpkt->
size;
291 int i, count1, count2, sz,
ret;
303 memcpy(mp->
bswapbuf + (buf_size & ~3), buf + (buf_size & ~3), buf_size & 3);
307 for (i = !(avctx->
extradata[1] & 2); i < 2; ++i) {
346 .
name =
"motionpixels",