Lines Matching defs:pmv
305 static int svq1_decode_motion_vector (GetBitContext *bitbuf, svq1_pmv *mv, svq1_pmv **pmv) {
321 mv->y = sign_extend(diff + mid_pred(pmv[0]->y, pmv[1]->y, pmv[2]->y), 6);
323 mv->x = sign_extend(diff + mid_pred(pmv[0]->x, pmv[1]->x, pmv[2]->x), 6);
350 svq1_pmv *pmv[3];
354 pmv[0] = &motion[0];
356 pmv[1] =
357 pmv[2] = pmv[0];
360 pmv[1] = &motion[(x / 8) + 2];
361 pmv[2] = &motion[(x / 8) + 4];
364 result = svq1_decode_motion_vector (bitbuf, &mv, pmv);
395 svq1_pmv *pmv[4];
399 pmv[0] = &motion[0];
401 pmv[1] =
402 pmv[2] = pmv[0];
405 pmv[1] = &motion[(x / 8) + 2];
406 pmv[2] = &motion[(x / 8) + 4];
409 result = svq1_decode_motion_vector (bitbuf, &mv, pmv);
415 pmv[0] = &mv;
417 pmv[1] =
418 pmv[2] = pmv[0];
421 pmv[1] = &motion[(x / 8) + 3];
423 result = svq1_decode_motion_vector (bitbuf, &motion[0], pmv);
429 pmv[1] = &motion[0];
430 pmv[2] = &motion[(x / 8) + 1];
432 result = svq1_decode_motion_vector (bitbuf, &motion[(x / 8) + 2], pmv);
438 pmv[2] = &motion[(x / 8) + 2];
439 pmv[3] = &motion[(x / 8) + 3];
441 result = svq1_decode_motion_vector (bitbuf, pmv[3], pmv);
448 int mvx= pmv[i]->x + (i&1)*16;
449 int mvy= pmv[i]->y + (i>>1)*16;
635 svq1_pmv *pmv;
676 pmv = av_malloc((FFALIGN(s->width, 16)/8 + 3) * sizeof(*pmv));
677 if (!pmv)
717 memset (pmv, 0, ((width / 8) + 3) * sizeof(svq1_pmv));
722 linesize, pmv, x, y);
730 pmv[0].x =
731 pmv[0].y = 0;
746 av_free(pmv);