mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 07:37:35 +00:00
LibVideo/VP9: Store tile counts in FrameContext
The log2 of tile counts in the horizontal and vertical dimensions are now stored in the FrameContext struct to be kept only as long as they are needed.
This commit is contained in:
parent
6533c5f6a8
commit
368687a74f
3 changed files with 33 additions and 33 deletions
|
@ -298,6 +298,7 @@ public:
|
|||
Vector2D<FrameBlockContext> const& block_contexts() const { return m_block_contexts; }
|
||||
|
||||
Gfx::Size<u32> render_size { 0, 0 };
|
||||
Gfx::Size<u16> log2_of_tile_counts { 0, 0 };
|
||||
|
||||
// This group of fields is only needed for inter-predicted frames.
|
||||
Array<u8, 3> reference_frame_indices;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue