Lines Matching refs:mv_y
458 int x, y, mv_x, mv_y, mv_delta, offs, mb_offset, in decode_mb_info() local
479 mv_x = mv_y = 0; in decode_mb_info()
504 mb->mv_x = mb->mv_y = 0; /* no motion vector coded */ in decode_mb_info()
509 mb->mv_y = ivi_scale_mv(ref_mb->mv_y, mv_scale); in decode_mb_info()
512 mb->mv_y = ref_mb->mv_y; in decode_mb_info()
540 mb->mv_x = mb->mv_y = 0; /* there is no motion vector in intra-macroblocks */ in decode_mb_info()
546 mb->mv_y = ivi_scale_mv(ref_mb->mv_y, mv_scale); in decode_mb_info()
549 mb->mv_y = ref_mb->mv_y; in decode_mb_info()
555 mv_y += IVI_TOSIGNED(mv_delta); in decode_mb_info()
560 mb->mv_y = mv_y; in decode_mb_info()
567 …if ( x + (mb->mv_x >>s) + (y+ (mb->mv_y >>s))*band->pitch < 0 || in decode_mb_info()
569 + (y+band->mb_size - 1 +((mb->mv_y+s)>>s))*band->pitch > band->bufsize - 1) { in decode_mb_info()
570 …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()