Lines Matching defs:mv
291 static int svq1_decode_motion_vector(GetBitContext *bitbuf, svq1_pmv *mv,
309 mv->y = sign_extend(diff + mid_pred(pmv[0]->y, pmv[1]->y, pmv[2]->y), 6);
311 mv->x = sign_extend(diff + mid_pred(pmv[0]->x, pmv[1]->x, pmv[2]->x), 6);
341 svq1_pmv mv;
355 result = svq1_decode_motion_vector(bitbuf, &mv, pmv);
361 motion[x / 8 + 3].x = mv.x;
364 motion[x / 8 + 3].y = mv.y;
366 mv.x = av_clip(mv.x, -2 * x, 2 * (width - x - 16));
367 mv.y = av_clip(mv.y, -2 * y, 2 * (height - y - 16));
369 src = &previous[(x + (mv.x >> 1)) + (y + (mv.y >> 1)) * pitch];
372 hdsp->put_pixels_tab[0][(mv.y & 1) << 1 | (mv.x & 1)](dst, src, pitch, 16);
384 svq1_pmv mv;
398 result = svq1_decode_motion_vector(bitbuf, &mv, pmv);
403 pmv[0] = &mv;