mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:37:35 +00:00
LibVideo/VP9: Remove m_tokens and m_token_cache from Parser
Only the residual tokens array needs to be kept for the transforms to use after all the tokens have been parsed. The token cache is able to be kept in the stack only for the duration of the token parsing loop.
This commit is contained in:
parent
a4f14f220d
commit
316dad7bf7
6 changed files with 32 additions and 27 deletions
|
@ -202,6 +202,8 @@ struct BlockContext {
|
|||
|
||||
InterpolationFilter interpolation_filter { EightTap };
|
||||
Array<MotionVectorPair, 4> sub_block_motion_vectors;
|
||||
|
||||
Array<i32, 1024> residual_tokens;
|
||||
};
|
||||
|
||||
struct BlockMotionVectorCandidateSet {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue