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
b9b42a0a
Commit
b9b42a0a
authored
Jan 20, 2017
by
Angie Chiang
Browse files
Fix mismatch when dual_filter daala-ec both are on
BUG=aomedia:132 Change-Id: I5c3214ddbc97576a2e90a070f2bdccc15be50d65
parent
09c0a5bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/encoder/bitstream.c
View file @
b9b42a0a
...
...
@@ -1091,9 +1091,15 @@ static void write_mb_interp_filter(AV1_COMP *cpi, const MACROBLOCKD *xd,
(
mbmi
->
ref_frame
[
1
]
>
INTRA_FRAME
&&
has_subpel_mv_component
(
xd
->
mi
[
0
],
xd
,
dir
+
2
)))
{
const
int
ctx
=
av1_get_pred_context_switchable_interp
(
xd
,
dir
);
#if CONFIG_EC_MULTISYMBOL
aom_write_symbol
(
w
,
av1_switchable_interp_ind
[
mbmi
->
interp_filter
[
dir
]],
ec_ctx
->
switchable_interp_cdf
[
ctx
],
SWITCHABLE_FILTERS
);
#else
av1_write_token
(
w
,
av1_switchable_interp_tree
,
ec_ctx
->
switchable_interp_prob
[
ctx
],
&
switchable_interp_encodings
[
mbmi
->
interp_filter
[
dir
]]);
#endif
++
cpi
->
interp_filter_selected
[
0
][
mbmi
->
interp_filter
[
dir
]];
}
}
...
...
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