mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-28 20:29:03 +00:00
LibVideo/VP9: Move the transform mode field from Parser to FrameContext
This commit is contained in:
parent
396972bb69
commit
b966f9d811
Notes:
sideshowbarker
2024-07-19 01:59:31 +09:00
Author: https://github.com/Zaggy1024
Commit: b966f9d811
Pull-request: https://github.com/SerenityOS/serenity/pull/16238
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