Lines Matching refs:mv_x
472 int x, y, mv_x, mv_y, mv_delta, offs, mb_offset, blks_per_mb, in decode_mb_info() local
486 mv_x = mv_y = 0; in decode_mb_info()
523 mb->mv_x = mb->mv_y = 0; /* no motion vector coded */ in decode_mb_info()
527 mb->mv_x = ivi_scale_mv(ref_mb->mv_x, mv_scale); in decode_mb_info()
530 mb->mv_x = ref_mb->mv_x; in decode_mb_info()
562 mb->mv_x = mb->mv_y = 0; /* there is no motion vector in intra-macroblocks */ in decode_mb_info()
568 mb->mv_x = ivi_scale_mv(ref_mb->mv_x, mv_scale); in decode_mb_info()
571 mb->mv_x = ref_mb->mv_x; in decode_mb_info()
581 mv_x += IVI_TOSIGNED(mv_delta); in decode_mb_info()
582 mb->mv_x = mv_x; in decode_mb_info()
592 mv_x += IVI_TOSIGNED(mv_delta); in decode_mb_info()
593 mb->b_mv_x = -mv_x; in decode_mb_info()
598 mb->b_mv_x = -mb->mv_x; in decode_mb_info()
600 mb->mv_x = 0; in decode_mb_info()
608 …if ( x + (mb->mv_x >>s) + (y+ (mb->mv_y >>s))*band->pitch < 0 || in decode_mb_info()
609 x + ((mb->mv_x+s)>>s) + band->mb_size - 1 in decode_mb_info()
611 …og(avctx, AV_LOG_ERROR, "motion vector %d %d outside reference\n", x*s + mb->mv_x, y*s + mb->mv_y); in decode_mb_info()