Skip to content
GitLab
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
1157d506
Commit
1157d506
authored
Apr 30, 2017
by
Zoe Liu
Browse files
Unify the use of "mbmi->mode"
BUG=aomedia:442 Change-Id: I9934cffe7239583afe3e8dd1c6c33593245fd6b1
parent
e3c61259
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/encoder/rdopt.c
View file @
1157d506
...
...
@@ -10350,7 +10350,7 @@ void av1_rd_pick_inter_mode_sb(const AV1_COMP *cpi, TileDataEnc *tile_data,
mbmi->filter_intra_mode_info.filter_intra_mode[1]);
}
#endif // CONFIG_FILTER_INTRA
if (
this_
mode != DC_PRED &&
this_
mode != TM_PRED)
if (
mbmi->
mode != DC_PRED &&
mbmi->
mode != TM_PRED)
rate2 += intra_cost_penalty;
distortion2 = distortion_y + distortion_uv;
} else {
...
...
@@ -10414,7 +10414,7 @@ void av1_rd_pick_inter_mode_sb(const AV1_COMP *cpi, TileDataEnc *tile_data,
}
} else {
#endif // CONFIG_EXT_INTER
if (
this_
mode == NEWMV && mbmi_ext->ref_mv_count[ref_frame_type] > 1) {
if (
mbmi->
mode == NEWMV && mbmi_ext->ref_mv_count[ref_frame_type] > 1) {
int ref;
for (ref = 0; ref < 1 + comp_pred; ++ref) {
int_mv this_mv =
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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