mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
LibVideo/VP9: Correct the mode/partition probability adaption counts
This commit is contained in:
parent
4224f253af
commit
f58c5ff569
1 changed files with 3 additions and 3 deletions
|
@ -295,9 +295,9 @@ DecoderErrorOr<void> Decoder::adapt_non_coef_probs(FrameContext const& frame_con
|
||||||
probs.single_ref_prob()[i][j] = adapt_prob(probs.single_ref_prob()[i][j], counter.m_counts_single_ref[i][j]);
|
probs.single_ref_prob()[i][j] = adapt_prob(probs.single_ref_prob()[i][j], counter.m_counts_single_ref[i][j]);
|
||||||
}
|
}
|
||||||
ADAPT_TREE(inter_mode, inter_mode, inter_mode, INTER_MODE_CONTEXTS);
|
ADAPT_TREE(inter_mode, inter_mode, inter_mode, INTER_MODE_CONTEXTS);
|
||||||
ADAPT_TREE(intra_mode, y_mode, intra_mode, INTER_MODE_CONTEXTS);
|
ADAPT_TREE(intra_mode, y_mode, intra_mode, BLOCK_SIZE_GROUPS);
|
||||||
ADAPT_TREE(intra_mode, uv_mode, uv_mode, INTER_MODE_CONTEXTS);
|
ADAPT_TREE(intra_mode, uv_mode, uv_mode, INTRA_MODES);
|
||||||
ADAPT_TREE(partition, partition, partition, INTER_MODE_CONTEXTS);
|
ADAPT_TREE(partition, partition, partition, PARTITION_CONTEXTS);
|
||||||
ADAPT_PROB_TABLE(skip, SKIP_CONTEXTS);
|
ADAPT_PROB_TABLE(skip, SKIP_CONTEXTS);
|
||||||
if (frame_context.interpolation_filter == Switchable) {
|
if (frame_context.interpolation_filter == Switchable) {
|
||||||
ADAPT_TREE(interp_filter, interp_filter, interp_filter, INTERP_FILTER_CONTEXTS);
|
ADAPT_TREE(interp_filter, interp_filter, interp_filter, INTERP_FILTER_CONTEXTS);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue