mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:17:44 +00:00
LibVideo: Parameterize parsing of the default VP9 intra mode tree
This commit is contained in:
parent
fce7639c90
commit
c6ecad63d0
4 changed files with 56 additions and 39 deletions
|
@ -243,6 +243,9 @@ private:
|
|||
u8 m_num_4x4_w { 0 };
|
||||
u8 m_num_4x4_h { 0 };
|
||||
PredictionMode m_uv_mode { 0 }; // FIXME: Is u8 the right size?
|
||||
// FIXME: From spec: NOTE – We are using a 2D array to store the SubModes for clarity. It is possible to reduce memory
|
||||
// consumption by only storing one intra mode for each 8x8 horizontal and vertical position, i.e. to use two 1D
|
||||
// arrays instead.
|
||||
Vector<Array<PredictionMode, 4>> m_sub_modes;
|
||||
ReferenceFramePair m_left_ref_frame;
|
||||
ReferenceFramePair m_above_ref_frame;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue