From 908fc15411a787f68bb42a918784893800df5fc5 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 3 Sep 2024 15:00:39 +0200 Subject: [PATCH] docs: Fix av1parser symbols Don't use un-named structures Part-of: --- .../gst-docs/symbols/symbol_index.json | 174 ++++++------------ .../gst-libs/gst/codecparsers/gstav1parser.h | 165 ++++++++++------- 2 files changed, 154 insertions(+), 185 deletions(-) diff --git a/subprojects/gst-docs/symbols/symbol_index.json b/subprojects/gst-docs/symbols/symbol_index.json index 9cdc60d76f..ed400a3fdb 100644 --- a/subprojects/gst-docs/symbols/symbol_index.json +++ b/subprojects/gst-docs/symbols/symbol_index.json @@ -6425,6 +6425,7 @@ "GstAV1Parse!src", "GstAV1Parser", "GstAV1ParserResult", + "GstAV1ParserState", "GstAV1Picture", "GstAV1Picture.apply_grain", "GstAV1Picture.display_frame_id", @@ -6439,6 +6440,7 @@ "GstAV1QuantizationParams", "GstAV1ReferenceFrame", "GstAV1ReferenceFrameInfo", + "GstAV1ReferenceFrameInfoEntry", "GstAV1ScalabilityModes", "GstAV1SegmenationParams", "GstAV1SeqLevels", @@ -6448,8 +6450,10 @@ "GstAV1Tile.obu", "GstAV1Tile.tile_group", "GstAV1TileGroupOBU", + "GstAV1TileGroupOBUEntry", "GstAV1TileInfo", "GstAV1TileListOBU", + "GstAV1TileListOBUEntry", "GstAV1TimingInfo", "GstAV1TransferCharacteristics", "GstAV1WarpModelType", @@ -20788,6 +20792,28 @@ "_GstAV1OperatingPoint.low_delay_mode_flag", "_GstAV1OperatingPoint.seq_level_idx", "_GstAV1OperatingPoint.seq_tier", + "_GstAV1ParserState.begin_first_frame", + "_GstAV1ParserState.current_frame_id", + "_GstAV1ParserState.frame_height", + "_GstAV1ParserState.frame_width", + "_GstAV1ParserState.mi_col_starts", + "_GstAV1ParserState.mi_cols", + "_GstAV1ParserState.mi_row_starts", + "_GstAV1ParserState.mi_rows", + "_GstAV1ParserState.operating_point", + "_GstAV1ParserState.operating_point_idc", + "_GstAV1ParserState.prev_frame_id", + "_GstAV1ParserState.ref_info", + "_GstAV1ParserState.render_height", + "_GstAV1ParserState.render_width", + "_GstAV1ParserState.seen_frame_header", + "_GstAV1ParserState.sequence_changed", + "_GstAV1ParserState.tile_cols", + "_GstAV1ParserState.tile_cols_log2", + "_GstAV1ParserState.tile_rows", + "_GstAV1ParserState.tile_rows_log2", + "_GstAV1ParserState.tile_size_bytes", + "_GstAV1ParserState.upscaled_width", "_GstAV1QuantizationParams.base_q_idx", "_GstAV1QuantizationParams.delta_q_present", "_GstAV1QuantizationParams.delta_q_res", @@ -20802,6 +20828,25 @@ "_GstAV1QuantizationParams.qm_y", "_GstAV1QuantizationParams.using_qmatrix", "_GstAV1ReferenceFrameInfo.entry", + "_GstAV1ReferenceFrameInfoEntry.ref_bit_depth", + "_GstAV1ReferenceFrameInfoEntry.ref_film_grain_params", + "_GstAV1ReferenceFrameInfoEntry.ref_frame_height", + "_GstAV1ReferenceFrameInfoEntry.ref_frame_id", + "_GstAV1ReferenceFrameInfoEntry.ref_frame_type", + "_GstAV1ReferenceFrameInfoEntry.ref_frame_width", + "_GstAV1ReferenceFrameInfoEntry.ref_global_motion_params", + "_GstAV1ReferenceFrameInfoEntry.ref_lf_params", + "_GstAV1ReferenceFrameInfoEntry.ref_mi_cols", + "_GstAV1ReferenceFrameInfoEntry.ref_mi_rows", + "_GstAV1ReferenceFrameInfoEntry.ref_order_hint", + "_GstAV1ReferenceFrameInfoEntry.ref_render_height", + "_GstAV1ReferenceFrameInfoEntry.ref_render_width", + "_GstAV1ReferenceFrameInfoEntry.ref_segmentation_params", + "_GstAV1ReferenceFrameInfoEntry.ref_subsampling_x", + "_GstAV1ReferenceFrameInfoEntry.ref_subsampling_y", + "_GstAV1ReferenceFrameInfoEntry.ref_tile_info", + "_GstAV1ReferenceFrameInfoEntry.ref_upscaled_width", + "_GstAV1ReferenceFrameInfoEntry.ref_valid", "_GstAV1SegmenationParams.feature_data", "_GstAV1SegmenationParams.feature_enabled", "_GstAV1SegmenationParams.last_active_seg_id", @@ -20855,6 +20900,14 @@ "_GstAV1TileGroupOBU.tg_end", "_GstAV1TileGroupOBU.tg_start", "_GstAV1TileGroupOBU.tile_start_and_end_present_flag", + "_GstAV1TileGroupOBUEntry.mi_col_end", + "_GstAV1TileGroupOBUEntry.mi_col_start", + "_GstAV1TileGroupOBUEntry.mi_row_end", + "_GstAV1TileGroupOBUEntry.mi_row_start", + "_GstAV1TileGroupOBUEntry.tile_col", + "_GstAV1TileGroupOBUEntry.tile_offset", + "_GstAV1TileGroupOBUEntry.tile_row", + "_GstAV1TileGroupOBUEntry.tile_size", "_GstAV1TileInfo.context_update_tile_id", "_GstAV1TileInfo.height_in_sbs_minus_1", "_GstAV1TileInfo.increment_tile_rows_log2", @@ -20872,6 +20925,11 @@ "_GstAV1TileListOBU.output_frame_height_in_tiles_minus_1", "_GstAV1TileListOBU.output_frame_width_in_tiles_minus_1", "_GstAV1TileListOBU.tile_count_minus_1", + "_GstAV1TileListOBUEntry.anchor_frame_idx", + "_GstAV1TileListOBUEntry.anchor_tile_col", + "_GstAV1TileListOBUEntry.anchor_tile_row", + "_GstAV1TileListOBUEntry.coded_tile_data", + "_GstAV1TileListOBUEntry.tile_data_size_minus_1", "_GstAV1TimingInfo.equal_picture_interval", "_GstAV1TimingInfo.num_ticks_per_picture_minus_1", "_GstAV1TimingInfo.num_units_in_display_tick", @@ -68189,122 +68247,6 @@ "streamsynchronizer", "stretch", "stretch:intensity", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3)", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_bit_depth", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_film_grain_params", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_frame_height", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_frame_id", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_frame_type", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_frame_width", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_global_motion_params", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_lf_params", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_mi_cols", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_mi_rows", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_order_hint", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_render_height", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_render_width", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_segmentation_params", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_subsampling_x", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_subsampling_y", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_tile_info", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_upscaled_width", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_valid", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1680:3)", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1680:3).anchor_frame_idx", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1680:3).anchor_tile_col", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1680:3).anchor_tile_row", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1680:3).coded_tile_data", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1680:3).tile_data_size_minus_1", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3)", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).mi_col_end", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).mi_col_start", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).mi_row_end", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).mi_row_start", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).tile_col", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).tile_offset", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).tile_row", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).tile_size", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3)", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).begin_first_frame", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).current_frame_id", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).frame_height", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).frame_width", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).mi_col_starts", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).mi_cols", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).mi_row_starts", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).mi_rows", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).operating_point", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).operating_point_idc", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).prev_frame_id", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).ref_info", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).render_height", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).render_width", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).seen_frame_header", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).sequence_changed", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).tile_cols", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).tile_cols_log2", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).tile_rows", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).tile_rows_log2", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).tile_size_bytes", - "struct (unnamed at /tmp/release-1.23.1/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).upscaled_width", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3)", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_bit_depth", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_film_grain_params", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_frame_height", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_frame_id", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_frame_type", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_frame_width", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_global_motion_params", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_lf_params", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_mi_cols", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_mi_rows", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_order_hint", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_render_height", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_render_width", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_segmentation_params", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_subsampling_x", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_subsampling_y", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_tile_info", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_upscaled_width", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1635:3).ref_valid", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1680:3)", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1680:3).anchor_frame_idx", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1680:3).anchor_tile_col", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1680:3).anchor_tile_row", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1680:3).coded_tile_data", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1680:3).tile_data_size_minus_1", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3)", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).mi_col_end", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).mi_col_start", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).mi_row_end", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).mi_row_start", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).tile_col", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).tile_offset", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).tile_row", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1718:3).tile_size", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3)", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).begin_first_frame", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).current_frame_id", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).frame_height", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).frame_width", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).mi_col_starts", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).mi_cols", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).mi_row_starts", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).mi_rows", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).operating_point", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).operating_point_idc", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).prev_frame_id", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).ref_info", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).render_height", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).render_width", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).seen_frame_header", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).sequence_changed", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).tile_cols", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).tile_cols_log2", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).tile_rows", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).tile_rows_log2", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).tile_size_bytes", - "struct (unnamed at /tmp/release-1.24.0/gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h:1754:3).upscaled_width", "subparse", "subparse:subtitle-encoding", "subparse:video-fps", diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h index 60de979127..ace8f9c10d 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h @@ -85,6 +85,7 @@ G_BEGIN_DECLS typedef struct _GstAV1Parser GstAV1Parser; +typedef struct _GstAV1ParserState GstAV1ParserState; typedef struct _GstAV1OBUHeader GstAV1OBUHeader; typedef struct _GstAV1OBU GstAV1OBU; @@ -93,7 +94,9 @@ typedef struct _GstAV1SequenceHeaderOBU GstAV1SequenceHeaderOBU; typedef struct _GstAV1MetadataOBU GstAV1MetadataOBU; typedef struct _GstAV1FrameHeaderOBU GstAV1FrameHeaderOBU; typedef struct _GstAV1TileListOBU GstAV1TileListOBU; +typedef struct _GstAV1TileListOBUEntry GstAV1TileListOBUEntry; typedef struct _GstAV1TileGroupOBU GstAV1TileGroupOBU; +typedef struct _GstAV1TileGroupOBUEntry GstAV1TileGroupOBUEntry; typedef struct _GstAV1FrameOBU GstAV1FrameOBU; typedef struct _GstAV1OperatingPoint GstAV1OperatingPoint; @@ -115,6 +118,7 @@ typedef struct _GstAV1GlobalMotionParams GstAV1GlobalMotionParams; typedef struct _GstAV1FilmGrainParams GstAV1FilmGrainParams; typedef struct _GstAV1ReferenceFrameInfo GstAV1ReferenceFrameInfo; +typedef struct _GstAV1ReferenceFrameInfoEntry GstAV1ReferenceFrameInfoEntry; /** * GstAV1ParserResult: @@ -1626,33 +1630,52 @@ struct _GstAV1FrameHeaderOBU { GstAV1GlobalMotionParams ref_global_motion_params; }; +/** + * GstAV1ReferenceFrameInfoEntry: + * + */ +struct _GstAV1ReferenceFrameInfoEntry { + gboolean ref_valid; /* RefValid */ + guint32 ref_frame_id; /* RefFrameId */ + guint32 ref_upscaled_width; /* RefUpscaledWidth */ + guint32 ref_frame_width; /* RefFrameWidth */ + guint32 ref_frame_height; /* RefFrameHeight */ + guint32 ref_render_width; /* RefRenderWidth */ + guint32 ref_render_height; /* RefRenderHeight */ + guint32 ref_mi_cols; /* RefMiCols */ + guint32 ref_mi_rows; /* RefMiRows */ + GstAV1FrameType ref_frame_type; /* RefFrameType */ + guint8 ref_subsampling_x; /* RefSubsamplingX */ + guint8 ref_subsampling_y; /* RefSubsamplingY */ + guint8 ref_bit_depth; /* RefBitDepth */ + guint32 ref_order_hint; /* RefOrderHint */ + GstAV1SegmenationParams ref_segmentation_params; + GstAV1GlobalMotionParams ref_global_motion_params; + GstAV1LoopFilterParams ref_lf_params; + GstAV1FilmGrainParams ref_film_grain_params; + GstAV1TileInfo ref_tile_info; +}; + /** * GstAV1ReferenceFrameInfo: * * All the info related to a reference frames. */ struct _GstAV1ReferenceFrameInfo { - struct { - gboolean ref_valid; /* RefValid */ - guint32 ref_frame_id; /* RefFrameId */ - guint32 ref_upscaled_width; /* RefUpscaledWidth */ - guint32 ref_frame_width; /* RefFrameWidth */ - guint32 ref_frame_height; /* RefFrameHeight */ - guint32 ref_render_width; /* RefRenderWidth */ - guint32 ref_render_height; /* RefRenderHeight */ - guint32 ref_mi_cols; /* RefMiCols */ - guint32 ref_mi_rows; /* RefMiRows */ - GstAV1FrameType ref_frame_type; /* RefFrameType */ - guint8 ref_subsampling_x; /* RefSubsamplingX */ - guint8 ref_subsampling_y; /* RefSubsamplingY */ - guint8 ref_bit_depth; /* RefBitDepth */ - guint32 ref_order_hint; /* RefOrderHint */ - GstAV1SegmenationParams ref_segmentation_params; - GstAV1GlobalMotionParams ref_global_motion_params; - GstAV1LoopFilterParams ref_lf_params; - GstAV1FilmGrainParams ref_film_grain_params; - GstAV1TileInfo ref_tile_info; - } entry[GST_AV1_NUM_REF_FRAMES]; + GstAV1ReferenceFrameInfoEntry entry[GST_AV1_NUM_REF_FRAMES]; +}; + +/** + * GstAV1TileListOBUEntry: + * + */ +struct _GstAV1TileListOBUEntry { + gint8 anchor_frame_idx; + guint8 anchor_tile_row; + guint8 anchor_tile_col; + guint16 tile_data_size_minus_1; + /* Just refer to obu's data, invalid after OBU data released */ + guint8 *coded_tile_data; }; /** @@ -1677,18 +1700,27 @@ struct _GstAV1TileListOBU { guint8 output_frame_width_in_tiles_minus_1; guint8 output_frame_height_in_tiles_minus_1; guint16 tile_count_minus_1; - struct { - gint8 anchor_frame_idx; - guint8 anchor_tile_row; - guint8 anchor_tile_col; - guint16 tile_data_size_minus_1; - /* Just refer to obu's data, invalid after OBU data released */ - guint8 *coded_tile_data; - } entry[GST_AV1_MAX_TILE_COUNT]; + GstAV1TileListOBUEntry entry[GST_AV1_MAX_TILE_COUNT]; }; /** - * GstAV1TileListOBU: + * GstAV1TileGroupOBUEntry: + * + */ +struct _GstAV1TileGroupOBUEntry { + guint32 tile_offset; /* Tile data offset from the OBU data. */ + guint32 tile_size; /* Data size of this tile */ + guint32 tile_row; /* tileRow */ + guint32 tile_col; /* tileCol */ + /* global varialbes */ + guint32 mi_row_start; /* MiRowStart */ + guint32 mi_row_end; /* MiRowEnd */ + guint32 mi_col_start; /* MiColStart */ + guint32 mi_col_end; /* MiColEnd */ +}; + +/** + * GstAV1TileGroupOBU: * @tile_start_and_end_present_flag: specifies whether @tg_start and @tg_end are present * in the bitstream. If @tg_start and @tg_end are not present in the bitstream, this * tile group covers the entire frame. If @obu_type is equal to #GST_AV1_OBU_FRAME, it is a @@ -1715,17 +1747,7 @@ struct _GstAV1TileGroupOBU { gboolean tile_start_and_end_present_flag; guint8 tg_start; guint8 tg_end; - struct { - guint32 tile_offset; /* Tile data offset from the OBU data. */ - guint32 tile_size; /* Data size of this tile */ - guint32 tile_row; /* tileRow */ - guint32 tile_col; /* tileCol */ - /* global varialbes */ - guint32 mi_row_start; /* MiRowStart */ - guint32 mi_row_end; /* MiRowEnd */ - guint32 mi_col_start; /* MiColStart */ - guint32 mi_col_end; /* MiColEnd */ - } entry[GST_AV1_MAX_TILE_COUNT]; + GstAV1TileGroupOBUEntry entry[GST_AV1_MAX_TILE_COUNT]; guint32 num_tiles; /* NumTiles */ }; @@ -1740,6 +1762,38 @@ struct _GstAV1FrameOBU { GstAV1FrameHeaderOBU frame_header; }; +/** + * GstAV1ParserState: + * + */ +struct _GstAV1ParserState { + guint32 operating_point; /* Set by choose_operating_point() */ + guint8 seen_frame_header; /* SeenFrameHeader */ + guint32 operating_point_idc; /* OperatingPointIdc */ + gboolean sequence_changed; /* Received a new sequence */ + gboolean begin_first_frame; /* already find the first frame */ + + /* frame */ + guint32 upscaled_width; /* UpscaledWidth */ + guint32 frame_width; /* FrameWidth */ + guint32 frame_height; /* FrameHeight */ + guint32 mi_cols; /* MiCols */ + guint32 mi_rows; /* MiRows */ + guint32 render_width; /* RenderWidth */ + guint32 render_height; /* RenderHeight */ + guint32 prev_frame_id; /* PrevFrameID */ + guint32 current_frame_id; /* the current frame ID */ + GstAV1ReferenceFrameInfo ref_info; /* RefInfo */ + + guint32 mi_col_starts[GST_AV1_MAX_TILE_COLS + 1]; /* MiColStarts */ + guint32 mi_row_starts[GST_AV1_MAX_TILE_ROWS + 1]; /* MiRowStarts */ + guint8 tile_cols_log2; /* TileColsLog2 */ + guint8 tile_cols; /* TileCols */ + guint8 tile_rows_log2; /* TileRowsLog2 */ + guint8 tile_rows; /* TileRows */ + guint8 tile_size_bytes; /* TileSizeBytes */ +}; + /** * GstAV1Parser: * @@ -1751,34 +1805,7 @@ struct _GstAV1FrameOBU { struct _GstAV1Parser { /*< private >*/ - struct - { - guint32 operating_point; /* Set by choose_operating_point() */ - guint8 seen_frame_header; /* SeenFrameHeader */ - guint32 operating_point_idc; /* OperatingPointIdc */ - gboolean sequence_changed; /* Received a new sequence */ - gboolean begin_first_frame; /* already find the first frame */ - - /* frame */ - guint32 upscaled_width; /* UpscaledWidth */ - guint32 frame_width; /* FrameWidth */ - guint32 frame_height; /* FrameHeight */ - guint32 mi_cols; /* MiCols */ - guint32 mi_rows; /* MiRows */ - guint32 render_width; /* RenderWidth */ - guint32 render_height; /* RenderHeight */ - guint32 prev_frame_id; /* PrevFrameID */ - guint32 current_frame_id; /* the current frame ID */ - GstAV1ReferenceFrameInfo ref_info; /* RefInfo */ - - guint32 mi_col_starts[GST_AV1_MAX_TILE_COLS + 1]; /* MiColStarts */ - guint32 mi_row_starts[GST_AV1_MAX_TILE_ROWS + 1]; /* MiRowStarts */ - guint8 tile_cols_log2; /* TileColsLog2 */ - guint8 tile_cols; /* TileCols */ - guint8 tile_rows_log2; /* TileRowsLog2 */ - guint8 tile_rows; /* TileRows */ - guint8 tile_size_bytes; /* TileSizeBytes */ - } state; + GstAV1ParserState state; gboolean annex_b; guint32 temporal_unit_size;