Home | History | Annotate | Download | only in common

Lines Matching defs:mv

23     MV           as_mv;
28 MV xmv;
29 xmv = x->mbmi.mv.as_mv;
41 void vp8_clamp_mv(MV *mv, const MACROBLOCKD *xd)
43 if (mv->col < (xd->mb_to_left_edge - LEFT_TOP_MARGIN))
44 mv->col = xd->mb_to_left_edge - LEFT_TOP_MARGIN;
45 else if (mv->col > xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN)
46 mv->col = xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN;
48 if (mv->row < (xd->mb_to_top_edge - LEFT_TOP_MARGIN))
49 mv->row = xd->mb_to_top_edge - LEFT_TOP_MARGIN;
50 else if (mv->row > xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN)
51 mv->row = xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN;
59 MV *nearest,
60 MV *nearby,
61 MV *best_mv,
71 int_mv *mv = near_mvs;
76 mv[0].as_int = mv[1].as_int = mv[2].as_int = 0;
82 if (above->mbmi.mv.as_int)
84 (++mv)->as_int = above->mbmi.mv.as_int;
85 mv_bias(above, refframe, mv, ref_frame_sign_bias);
95 if (left->mbmi.mv.as_int)
99 this_mv.as_int = left->mbmi.mv.as_int;
102 if (this_mv.as_int != mv->as_int)
104 (++mv)->as_int = this_mv.as_int;
117 if (aboveleft->mbmi.mv.as_int)
121 this_mv.as_int = aboveleft->mbmi.mv.as_int;
124 if (this_mv.as_int != mv->as_int)
126 (++mv)->as_int = this_mv.as_int;
136 /* If we have three distinct MV's ... */
139 /* See if above-left MV can be merged with NEAREST */
140 if (mv->as_int == near_mvs[CNT_NEAREST].as_int)
160 /* Use near_mvs[0] to store the "best" MV */