1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:17:34 +00:00

LibVideo: Parameterize UV mode parsing in the VP9 decoder

This commit is contained in:
Zaggy1024 2022-11-06 20:04:12 -06:00 committed by Andrew Kaster
parent 858915ab3a
commit 540ef22b95
3 changed files with 15 additions and 15 deletions

View file

@ -1200,7 +1200,7 @@ DecoderErrorOr<void> Parser::intra_block_mode_info()
}
m_y_mode = sub_intra_mode;
}
m_uv_mode = TRY_READ(m_tree_parser->parse_tree<PredictionMode>(SyntaxElementType::UVMode));
m_uv_mode = TRY_READ(TreeParser::parse_uv_mode(*m_bit_stream, *m_probability_tables, *m_syntax_element_counter, m_y_mode));
return {};
}