Lines Matching defs:mv_x
458 int x, y, mv_x, mv_y, mv_delta, offs, mb_offset,
479 mv_x = mv_y = 0;
504 mb->mv_x = mb->mv_y = 0; /* no motion vector coded */
508 mb->mv_x = ivi_scale_mv(ref_mb->mv_x, mv_scale);
511 mb->mv_x = ref_mb->mv_x;
540 mb->mv_x = mb->mv_y = 0; /* there is no motion vector in intra-macroblocks */
545 mb->mv_x = ivi_scale_mv(ref_mb->mv_x, mv_scale);
548 mb->mv_x = ref_mb->mv_x;
558 mv_x += IVI_TOSIGNED(mv_delta);
559 mb->mv_x = mv_x;
567 if ( x + (mb->mv_x >>s) + (y+ (mb->mv_y >>s))*band->pitch < 0 ||
568 x + ((mb->mv_x+s)>>s) + band->mb_size - 1
570 av_log(avctx, AV_LOG_ERROR, "motion vector %d %d outside reference\n", x*s + mb->mv_x, y*s + mb->mv_y);