Make the use of mv_check_bounds consistent for mvs of both ref_frame[0]
and ref_frame[1].
Change-Id: I1ca24865cc7232ca9cbe5db566c53abad1592211
x->mvcost, cpi);
// Trap vectors that reach beyond the UMV borders
- if (((mode_mv[this_mode].as_mv.row >> 3) < x->mv_row_min) ||
- ((mode_mv[this_mode].as_mv.row >> 3) > x->mv_row_max) ||
- ((mode_mv[this_mode].as_mv.col >> 3) < x->mv_col_min) ||
- ((mode_mv[this_mode].as_mv.col >> 3) > x->mv_col_max)) {
+ if (mv_check_bounds(x, &mode_mv[this_mode]))
continue;
- }
if (mbmi->ref_frame[1] > 0 &&
mv_check_bounds(x, &second_mode_mv[this_mode]))
continue;