mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 16:07:45 +00:00
LibVideo/VP9: Don't store the default_intra_mode in a field
The default intra prediction mode was only used to set the sub-block modes and the y prediction mode. Instead of storing it in a field, with the sub modes are stored in an Array, we can just pull the last element to set the y mode.
This commit is contained in:
parent
713b48cfe2
commit
e379223633
4 changed files with 7 additions and 9 deletions
|
@ -236,9 +236,8 @@ private:
|
|||
TXSize m_tx_size { TX_4x4 };
|
||||
ReferenceFramePair m_ref_frame;
|
||||
bool m_is_inter { false };
|
||||
PredictionMode m_default_intra_mode { PredictionMode::DcPred };
|
||||
PredictionMode m_y_mode { 0 };
|
||||
PredictionMode m_block_sub_modes[4];
|
||||
Array<PredictionMode, 4> m_block_sub_modes;
|
||||
u8 m_num_4x4_w { 0 };
|
||||
u8 m_num_4x4_h { 0 };
|
||||
PredictionMode m_uv_mode { 0 }; // FIXME: Is u8 the right size?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue