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
2033078a
Commit
2033078a
authored
Aug 31, 2016
by
Zoe Liu
Committed by
Gerrit Code Review
Aug 31, 2016
Browse files
Merge "Fix a bug in deciding ref frame context in ext-refs" into nextgenv2
parents
966e609e
27af5230
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp10/common/pred_common.c
View file @
2033078a
...
...
@@ -600,7 +600,7 @@ int vp10_get_pred_context_comp_bwdref_p(const VP10_COMMON *cm,
const
MB_MODE_INFO
*
edge_mbmi
=
above_intra
?
left_mbmi
:
above_mbmi
;
if
(
!
has_second_ref
(
edge_mbmi
))
// single pred (1/3)
pred_context
=
1
+
2
*
(
edge_mbmi
->
ref_frame
[
1
]
!=
cm
->
comp_bwd_ref
[
1
]);
pred_context
=
1
+
2
*
(
edge_mbmi
->
ref_frame
[
0
]
!=
cm
->
comp_bwd_ref
[
1
]);
else
// comp pred (1/3)
pred_context
=
1
+
...
...
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