Lines Matching refs:mv_x
456 int x, y, mv_x, mv_y, mv_delta, offs, mb_offset,
477 mv_x = mv_y = 0;
502 mb->mv_x = mb->mv_y = 0; /* no motion vector coded */
506 mb->mv_x = ivi_scale_mv(ref_mb->mv_x, mv_scale);
509 mb->mv_x = ref_mb->mv_x;
538 mb->mv_x = mb->mv_y = 0; /* there is no motion vector in intra-macroblocks */
543 mb->mv_x = ivi_scale_mv(ref_mb->mv_x, mv_scale);
546 mb->mv_x = ref_mb->mv_x;
556 mv_x += IVI_TOSIGNED(mv_delta);
557 mb->mv_x = mv_x;
565 if ( x + (mb->mv_x >>s) + (y+ (mb->mv_y >>s))*band->pitch < 0 ||
566 x + ((mb->mv_x+s)>>s) + band->mb_size - 1
568 av_log(avctx, AV_LOG_ERROR, "motion vector %d %d outside reference\n", x*s + mb->mv_x, y*s + mb->mv_y);