Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
b04ea832
Commit
b04ea832
authored
Jul 01, 2016
by
Geza Lore
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleanup of inter mode search.
Change-Id: I523a3b30eb80fc6c6ed83638fdb82cf65c22b2e5
parent
e5e37e31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
45 deletions
+5
-45
vp10/encoder/rdopt.c
vp10/encoder/rdopt.c
+5
-45
No files found.
vp10/encoder/rdopt.c
View file @
b04ea832
...
...
@@ -8779,51 +8779,11 @@ void vp10_rd_pick_inter_mode_sb(VP10_COMP *cpi,
continue;
}
if (this_mode == NEAREST_NEARESTMV) {
frame_mv[NEAREST_NEARESTMV][ref_frame].as_int =
frame_mv[NEARESTMV][ref_frame].as_int;
frame_mv[NEAREST_NEARESTMV][second_ref_frame].as_int =
frame_mv[NEARESTMV][second_ref_frame].as_int;
} else if (this_mode == NEAREST_NEARMV) {
frame_mv[NEAREST_NEARMV][ref_frame].as_int =
frame_mv[NEARESTMV][ref_frame].as_int;
frame_mv[NEAREST_NEARMV][second_ref_frame].as_int =
frame_mv[NEARMV][second_ref_frame].as_int;
} else if (this_mode == NEAR_NEARMV) {
frame_mv[NEAR_NEARMV][ref_frame].as_int =
frame_mv[NEARMV][ref_frame].as_int;
frame_mv[NEAR_NEARMV][second_ref_frame].as_int =
frame_mv[NEARMV][second_ref_frame].as_int;
} else if (this_mode == NEAR_NEARESTMV) {
frame_mv[NEAR_NEARESTMV][ref_frame].as_int =
frame_mv[NEARMV][ref_frame].as_int;
frame_mv[NEAR_NEARESTMV][second_ref_frame].as_int =
frame_mv[NEARESTMV][second_ref_frame].as_int;
} else if (this_mode == NEAREST_NEWMV) {
frame_mv[NEAREST_NEWMV][ref_frame].as_int =
frame_mv[NEARESTMV][ref_frame].as_int;
frame_mv[NEAREST_NEWMV][second_ref_frame].as_int =
frame_mv[NEWMV][second_ref_frame].as_int;
} else if (this_mode == NEW_NEARESTMV) {
frame_mv[NEW_NEARESTMV][ref_frame].as_int =
frame_mv[NEWMV][ref_frame].as_int;
frame_mv[NEW_NEARESTMV][second_ref_frame].as_int =
frame_mv[NEARESTMV][second_ref_frame].as_int;
} else if (this_mode == NEAR_NEWMV) {
frame_mv[NEAR_NEWMV][ref_frame].as_int =
frame_mv[NEARMV][ref_frame].as_int;
frame_mv[NEAR_NEWMV][second_ref_frame].as_int =
frame_mv[NEWMV][second_ref_frame].as_int;
} else if (this_mode == NEW_NEARMV) {
frame_mv[NEW_NEARMV][ref_frame].as_int =
frame_mv[NEWMV][ref_frame].as_int;
frame_mv[NEW_NEARMV][second_ref_frame].as_int =
frame_mv[NEARMV][second_ref_frame].as_int;
} else if (this_mode == NEW_NEWMV) {
frame_mv[NEW_NEWMV][ref_frame].as_int =
frame_mv[NEWMV][ref_frame].as_int;
frame_mv[NEW_NEWMV][second_ref_frame].as_int =
frame_mv[NEWMV][second_ref_frame].as_int;
if (is_inter_compound_mode(this_mode)) {
frame_mv[this_mode][ref_frame].as_int =
frame_mv[compound_ref0_mode(this_mode)][ref_frame].as_int;
frame_mv[this_mode][second_ref_frame].as_int =
frame_mv[compound_ref1_mode(this_mode)][second_ref_frame].as_int;
}
#endif // CONFIG_EXT_INTER
...
...
Write
Preview
Markdown
is supported
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