mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:07:34 +00:00
LibVideo: Create TokensContext struct for token parsing parameters
With the addition of this struct, both the bool to determine if coefs should be parsed and the token parse itself can take specific parameters. This is the last step in parameterizing all the tree parsing, so the old functions in TreeParser are now unused. This patch is very satisfying :^) There's still more work to be done to clean up how the parameters are passed from Parser, but that's work for another day.
This commit is contained in:
parent
e906bcc696
commit
907816e629
6 changed files with 63 additions and 220 deletions
|
@ -301,7 +301,6 @@ private:
|
|||
OwnPtr<BitStream> m_bit_stream;
|
||||
OwnPtr<ProbabilityTables> m_probability_tables;
|
||||
OwnPtr<SyntaxElementCounter> m_syntax_element_counter;
|
||||
NonnullOwnPtr<TreeParser> m_tree_parser;
|
||||
Decoder& m_decoder;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue