mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
LibVideo/VP9: Move the transform mode field from Parser to FrameContext
This commit is contained in:
parent
396972bb69
commit
b966f9d811
4 changed files with 19 additions and 19 deletions
|
@ -298,7 +298,7 @@ DecoderErrorOr<void> Decoder::adapt_non_coef_probs(FrameContext const& frame_con
|
|||
if (frame_context.interpolation_filter == Switchable) {
|
||||
ADAPT_TREE(interp_filter, interp_filter, interp_filter, INTERP_FILTER_CONTEXTS);
|
||||
}
|
||||
if (m_parser->m_tx_mode == TXModeSelect) {
|
||||
if (frame_context.transform_mode == TXModeSelect) {
|
||||
for (size_t i = 0; i < TX_SIZE_CONTEXTS; i++) {
|
||||
auto& tx_probs = probs.tx_probs();
|
||||
auto& tx_counts = counter.m_counts_tx_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue