Commit ed29ea2b authored by Zoe Liu's avatar Zoe Liu

A small code clean on ext-inter

BUG=aomedia:442

Change-Id: I5cec560e427bf8628cbaae85aea4cdb19b74659f
parent 06c372d0
......@@ -8677,14 +8677,8 @@ static int64_t handle_inter_mode(
}
for (i = 0; i < is_comp_pred + 1; ++i) {
cur_mv[i] = frame_mv[refs[i]];
// Clip "next_nearest" so that it does not extend to far out of image
#if CONFIG_EXT_INTER
if (this_mode != NEWMV)
#else
if (this_mode != NEWMV)
#endif // CONFIG_EXT_INTER
clamp_mv2(&cur_mv[i].as_mv, xd);
// Clip "next_nearest" so that it does not extend to far out of image
if (this_mode != NEWMV) clamp_mv2(&cur_mv[i].as_mv, xd);
if (mv_check_bounds(x, &cur_mv[i].as_mv)) return INT64_MAX;
mbmi->mv[i].as_int = cur_mv[i].as_int;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment