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

LibVideo/VP9: Successfully parse partition syntax element

This commit is contained in:
FalseHonesty 2021-01-30 23:31:13 -05:00 committed by Andreas Kling
parent 7ff6315246
commit 2ce4155b42
6 changed files with 165 additions and 66 deletions

View file

@ -19,6 +19,7 @@ namespace Video::VP9 {
class Decoder {
public:
Decoder();
~Decoder();
bool parse_frame(const ByteBuffer&);
void dump_info();
@ -128,6 +129,12 @@ private:
i8 m_loop_filter_ref_deltas[MAX_REF_FRAMES];
i8 m_loop_filter_mode_deltas[2];
u8** m_above_nonzero_context { nullptr };
u8** m_left_nonzero_context { nullptr };
u8* m_above_seg_pred_context { nullptr };
u8* m_left_seg_pred_context { nullptr };
u8* m_above_partition_context { nullptr };
u8* m_left_partition_context { nullptr };
u32 m_mi_row_start { 0 };
u32 m_mi_row_end { 0 };
u32 m_mi_col_start { 0 };