Lines Matching refs:mv_y
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()
528 mb->mv_y = ivi_scale_mv(ref_mb->mv_y, mv_scale); in decode_mb_info()
531 mb->mv_y = ref_mb->mv_y; in decode_mb_info()
562 mb->mv_x = mb->mv_y = 0; /* there is no motion vector in intra-macroblocks */ in decode_mb_info()
569 mb->mv_y = ivi_scale_mv(ref_mb->mv_y, mv_scale); in decode_mb_info()
572 mb->mv_y = ref_mb->mv_y; in decode_mb_info()
578 mv_y += IVI_TOSIGNED(mv_delta); in decode_mb_info()
583 mb->mv_y = mv_y; in decode_mb_info()
588 mv_y += IVI_TOSIGNED(mv_delta); in decode_mb_info()
594 mb->b_mv_y = -mv_y; in decode_mb_info()
599 mb->b_mv_y = -mb->mv_y; in decode_mb_info()
601 mb->mv_y = 0; in decode_mb_info()
608 …if ( x + (mb->mv_x >>s) + (y+ (mb->mv_y >>s))*band->pitch < 0 || in decode_mb_info()
610 + (y+band->mb_size - 1 +((mb->mv_y+s)>>s))*band->pitch > band->bufsize -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()