1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:07:44 +00:00

LibVideo/VP9: Implement token parsing (6.4.24-6.4.26)

Note that this now requires a couple new syntax types to be parsed
in the TreeParser, so a follow-up commit will implement that behavior.
This commit is contained in:
FalseHonesty 2021-06-27 10:58:16 -04:00 committed by Andreas Kling
parent d79c9c262f
commit aa27ca1b16
5 changed files with 171 additions and 4 deletions

View file

@ -57,6 +57,14 @@ public:
m_idy = idy;
}
void set_band(u8 band) { m_band = band; }
void set_more_coefs_variables(u32 start_x, u32 start_y)
{
m_start_x = start_x;
m_start_y = start_y;
}
private:
u8 calculate_partition_probability(u8 node);
u8 calculate_default_intra_mode_probability(u8 node);
@ -84,6 +92,9 @@ private:
// not stored in the Decoder itself.
u8 m_idx { 0 };
u8 m_idy { 0 };
u8 m_band { 0 };
u32 m_start_x { 0 };
u32 m_start_y { 0 };
};
}