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

LibVideo/VP9: Begin decoding VP9 blocks

This commit is contained in:
FalseHonesty 2021-01-31 00:16:46 -05:00 committed by Andreas Kling
parent 2ce4155b42
commit 375dbad144
4 changed files with 135 additions and 8 deletions

View file

@ -83,6 +83,15 @@ private:
bool decode_tile();
bool clear_left_context();
bool decode_partition(u32 row, u32 col, u8 block_subsize);
bool decode_block(u32 row, u32 col, u8 subsize);
bool mode_info();
bool intra_frame_mode_info();
bool intra_segment_id();
bool read_skip();
bool seg_feature_active(u8 feature);
bool read_tx_size(bool allow_select);
bool inter_frame_mode_info();
u8 m_profile { 0 };
u8 m_frame_to_show_map_index { 0 };
@ -123,6 +132,9 @@ private:
u8 m_segmentation_pred_prob[3];
bool m_feature_enabled[8][4];
u8 m_feature_data[8][4];
bool m_segmentation_enabled { false };
bool m_segmentation_update_map { false };
bool m_segmentation_temporal_update { false };
bool m_segmentation_abs_or_delta_update { false };
u16 m_tile_cols_log2 { 0 };
u16 m_tile_rows_log2 { 0 };
@ -139,6 +151,13 @@ private:
u32 m_mi_row_end { 0 };
u32 m_mi_col_start { 0 };
u32 m_mi_col_end { 0 };
u32 m_mi_row { 0 };
u32 m_mi_col { 0 };
u32 m_mi_size { 0 };
bool m_available_u { false };
bool m_available_l { false };
int m_segment_id { 0 };
int m_skip { false };
bool m_use_hp { false };