Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
ed29ea2b
Commit
ed29ea2b
authored
Apr 20, 2017
by
Zoe Liu
Browse files
A small code clean on ext-inter
BUG=aomedia:442 Change-Id: I5cec560e427bf8628cbaae85aea4cdb19b74659f
parent
06c372d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/encoder/rdopt.c
View file @
ed29ea2b
...
...
@@ -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;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment