Copyright 2021-2024 The Khronos Group Inc. SPDX-License-Identifier: Apache-2.0 OR MIT This file, video.xml, provides the machine readable definition of data structures and enumerations that are related to the externally-provided video compression standards. The current public version of video.xml is maintained in the default branch (currently named main) of the Khronos Vulkan GitHub project. #if !defined(VK_NO_STDINT_H) #include <stdint.h> #endif #include "vulkan_video_codecs_common.h" #include "vulkan_video_codec_h264std.h" #include "vulkan_video_codec_h265std.h" #include "vulkan_video_codec_av1std.h" #define VK_MAKE_VIDEO_STD_VERSION(major, minor, patch) \ ((((uint32_t)(major)) << 22) | (((uint32_t)(minor)) << 12) | ((uint32_t)(patch))) #define VK_STD_VULKAN_VIDEO_CODEC_H264_DECODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0) #define VK_STD_VULKAN_VIDEO_CODEC_H264_ENCODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0) #define VK_STD_VULKAN_VIDEO_CODEC_H265_DECODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0) #define VK_STD_VULKAN_VIDEO_CODEC_H265_ENCODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0) #define VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0) #define VK_STD_VULKAN_VIDEO_CODEC_AV1_ENCODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0) uint32_t aspect_ratio_info_present_flag : 1 uint32_t overscan_info_present_flag : 1 uint32_t overscan_appropriate_flag : 1 uint32_t video_signal_type_present_flag : 1 uint32_t video_full_range_flag : 1 uint32_t color_description_present_flag : 1colour_description_present_flag uint32_t chroma_loc_info_present_flag : 1 uint32_t timing_info_present_flag : 1 uint32_t fixed_frame_rate_flag : 1 uint32_t bitstream_restriction_flag : 1 uint32_t nal_hrd_parameters_present_flag : 1 uint32_t vcl_hrd_parameters_present_flag : 1 uint8_t cpb_cnt_minus1 uint8_t bit_rate_scale uint8_t cpb_size_scale uint8_t reserved1Reserved for future use and must be initialized with 0. uint32_t bit_rate_value_minus1[STD_VIDEO_H264_CPB_CNT_LIST_SIZE]cpb_cnt_minus1 number of valid elements uint32_t cpb_size_value_minus1[STD_VIDEO_H264_CPB_CNT_LIST_SIZE]cpb_cnt_minus1 number of valid elements uint8_t cbr_flag[STD_VIDEO_H264_CPB_CNT_LIST_SIZE]cpb_cnt_minus1 number of valid elements uint32_t initial_cpb_removal_delay_length_minus1 uint32_t cpb_removal_delay_length_minus1 uint32_t dpb_output_delay_length_minus1 uint32_t time_offset_length StdVideoH264SpsVuiFlags flags StdVideoH264AspectRatioIdc aspect_ratio_idc uint16_t sar_width uint16_t sar_height uint8_t video_format uint8_t colour_primaries uint8_t transfer_characteristics uint8_t matrix_coefficients uint32_t num_units_in_tick uint32_t time_scale uint8_t max_num_reorder_frames uint8_t max_dec_frame_buffering uint8_t chroma_sample_loc_type_top_field uint8_t chroma_sample_loc_type_bottom_field uint32_t reserved1Reserved for future use and must be initialized with 0. const StdVideoH264HrdParameters* pHrdParametersmust be a valid ptr to hrd_parameters, if nal_hrd_parameters_present_flag or vcl_hrd_parameters_present_flag are set uint32_t constraint_set0_flag : 1 uint32_t constraint_set1_flag : 1 uint32_t constraint_set2_flag : 1 uint32_t constraint_set3_flag : 1 uint32_t constraint_set4_flag : 1 uint32_t constraint_set5_flag : 1 uint32_t direct_8x8_inference_flag : 1 uint32_t mb_adaptive_frame_field_flag : 1 uint32_t frame_mbs_only_flag : 1 uint32_t delta_pic_order_always_zero_flag : 1 uint32_t separate_colour_plane_flag : 1 uint32_t gaps_in_frame_num_value_allowed_flag : 1 uint32_t qpprime_y_zero_transform_bypass_flag : 1 uint32_t frame_cropping_flag : 1 uint32_t seq_scaling_matrix_present_flag : 1 uint32_t vui_parameters_present_flag : 1 scaling_list_present_mask has one bit for each seq_scaling_list_present_flag[i] for SPS OR pic_scaling_list_present_flag[i] for PPS, bit 0 - 5 are for each entry of ScalingList4x4 bit 6 - 11 are for each entry plus 6 for ScalingList8x8 uint16_t scaling_list_present_mask use_default_scaling_matrix_mask has one bit for each UseDefaultScalingMatrix4x4Flag[ i ] and UseDefaultScalingMatrix8x8Flag[ i - 6 ] for SPS OR PPS bit 0 - 5 are for each entry of ScalingList4x4 bit 6 - 11 are for each entry plus 6 for ScalingList8x8 uint16_t use_default_scaling_matrix_mask uint8_t ScalingList4x4[STD_VIDEO_H264_SCALING_LIST_4X4_NUM_LISTS][STD_VIDEO_H264_SCALING_LIST_4X4_NUM_ELEMENTS] uint8_t ScalingList8x8[STD_VIDEO_H264_SCALING_LIST_8X8_NUM_LISTS][STD_VIDEO_H264_SCALING_LIST_8X8_NUM_ELEMENTS] StdVideoH264SpsFlags flags StdVideoH264ProfileIdc profile_idc StdVideoH264LevelIdc level_idc StdVideoH264ChromaFormatIdc chroma_format_idc uint8_t seq_parameter_set_id uint8_t bit_depth_luma_minus8 uint8_t bit_depth_chroma_minus8 uint8_t log2_max_frame_num_minus4 StdVideoH264PocType pic_order_cnt_type int32_t offset_for_non_ref_pic int32_t offset_for_top_to_bottom_field uint8_t log2_max_pic_order_cnt_lsb_minus4 uint8_t num_ref_frames_in_pic_order_cnt_cycle uint8_t max_num_ref_frames uint8_t reserved1Reserved for future use and must be initialized with 0. uint32_t pic_width_in_mbs_minus1 uint32_t pic_height_in_map_units_minus1 uint32_t frame_crop_left_offset uint32_t frame_crop_right_offset uint32_t frame_crop_top_offset uint32_t frame_crop_bottom_offset uint32_t reserved2Reserved for future use and must be initialized with 0. pOffsetForRefFrame is a pointer representing the offset_for_ref_frame array with num_ref_frames_in_pic_order_cnt_cycle number of elements. If pOffsetForRefFrame has nullptr value, then num_ref_frames_in_pic_order_cnt_cycle must also be "0". const int32_t* pOffsetForRefFrame const StdVideoH264ScalingLists* pScalingListsMust be a valid pointer if seq_scaling_matrix_present_flag is set const StdVideoH264SequenceParameterSetVui* pSequenceParameterSetVuiMust be a valid pointer if StdVideoH264SpsFlags:vui_parameters_present_flag is set uint32_t transform_8x8_mode_flag : 1 uint32_t redundant_pic_cnt_present_flag : 1 uint32_t constrained_intra_pred_flag : 1 uint32_t deblocking_filter_control_present_flag : 1 uint32_t weighted_pred_flag : 1 uint32_t bottom_field_pic_order_in_frame_present_flag : 1 uint32_t entropy_coding_mode_flag : 1 uint32_t pic_scaling_matrix_present_flag : 1 StdVideoH264PpsFlags flags uint8_t seq_parameter_set_id uint8_t pic_parameter_set_id uint8_t num_ref_idx_l0_default_active_minus1 uint8_t num_ref_idx_l1_default_active_minus1 StdVideoH264WeightedBipredIdc weighted_bipred_idc int8_t pic_init_qp_minus26 int8_t pic_init_qs_minus26 int8_t chroma_qp_index_offset int8_t second_chroma_qp_index_offset const StdVideoH264ScalingLists* pScalingListsMust be a valid pointer if StdVideoH264PpsFlags::pic_scaling_matrix_present_flag is set. uint32_t field_pic_flag : 1Is field picture uint32_t is_intra : 1Is intra picture uint32_t IdrPicFlag : 1instantaneous decoding refresh (IDR) picture uint32_t bottom_field_flag : 1bottom (true) or top (false) field if field_pic_flag is set. uint32_t is_reference : 1This only applies to picture info, and not to the DPB lists. uint32_t complementary_field_pair : 1complementary field pair, complementary non-reference field pair, complementary reference field pair StdVideoDecodeH264PictureInfoFlags flags uint8_t seq_parameter_set_idSelecting SPS id from the Sequence Parameters Set uint8_t pic_parameter_set_idSelecting PPS id from the Picture Parameters Set uint8_t reserved1Reserved for future use and must be initialized with 0. uint8_t reserved2Reserved for future use and must be initialized with 0. uint16_t frame_num7.4.3 Slice header semantics uint16_t idr_pic_id7.4.3 Slice header semantics PicOrderCnt is based on TopFieldOrderCnt and BottomFieldOrderCnt. See 8.2.1 Decoding process for picture order count type 0 - 2 int32_t PicOrderCnt[STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_LIST_SIZE]TopFieldOrderCnt and BottomFieldOrderCnt fields. uint32_t top_field_flag : 1Reference is used for top field reference. uint32_t bottom_field_flag : 1Reference is used for bottom field reference. uint32_t used_for_long_term_reference : 1A picture that is marked as "used for long-term reference", derived binary value from clause 8.2.5.1 Sequence of operations for decoded reference picture marking process uint32_t is_non_existing : 1Must be handled in accordance with 8.2.5.2: Decoding process for gaps in frame_num StdVideoDecodeH264ReferenceInfoFlags flags FrameNum = used_for_long_term_reference ? long_term_frame_idx : frame_num uint16_t FrameNum7.4.3.3 Decoded reference picture marking semantics uint16_t reservedfor structure members 32-bit packing/alignment int32_t PicOrderCnt[STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_LIST_SIZE]TopFieldOrderCnt and BottomFieldOrderCnt fields. uint32_t luma_weight_l0_flageach bit n represents the nth entry in reference list l0, n <= num_ref_idx_l0_active_minus1 uint32_t chroma_weight_l0_flageach bit n represents the nth entry in reference list l0, n <= num_ref_idx_l0_active_minus1 uint32_t luma_weight_l1_flageach bit n represents the nth entry in reference list l1, n <= num_ref_idx_l1_active_minus1 uint32_t chroma_weight_l1_flageach bit n represents the nth entry in reference list l1, n <= num_ref_idx_l1_active_minus1 StdVideoEncodeH264WeightTable corresponds to the values produced by pred_weight_table() for the h.264 specification. For details, refer to weighted_pred_flag, weighted_bipred_idc, pre_pred_weight_table_src and pred_weight_table(). StdVideoEncodeH264WeightTableFlags flags uint8_t luma_log2_weight_denom uint8_t chroma_log2_weight_denom int8_t luma_weight_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF]valid entry range is [0, num_ref_idx_l0_active_minus1] int8_t luma_offset_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF]valid entry range is [0, num_ref_idx_l0_active_minus1] int8_t chroma_weight_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF][STD_VIDEO_H264_MAX_CHROMA_PLANES][i][j]: valid entry range for i is [0, num_ref_idx_l0_active_minus1]; j = 0 for Cb, j = 1 for Cr int8_t chroma_offset_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF][STD_VIDEO_H264_MAX_CHROMA_PLANES][i][j]: valid entry range for i is [0, num_ref_idx_l0_active_minus1]; j = 0 for Cb, j = 1 for Cr int8_t luma_weight_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF]valid entry range is [0, num_ref_idx_l1_active_minus1] int8_t luma_offset_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF]valid entry range is [0, num_ref_idx_l1_active_minus1] int8_t chroma_weight_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF][STD_VIDEO_H264_MAX_CHROMA_PLANES][i][j]: valid entry range for i is [0, num_ref_idx_l1_active_minus1]; j = 0 for Cb, j = 1 for Cr int8_t chroma_offset_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF][STD_VIDEO_H264_MAX_CHROMA_PLANES][i][j]: valid entry range for i is [0, num_ref_idx_l1_active_minus1]; j = 0 for Cb, j = 1 for Cr uint32_t direct_spatial_mv_pred_flag : 1 uint32_t num_ref_idx_active_override_flag : 1 uint32_t reserved : 30 uint32_t IdrPicFlag : 1 uint32_t is_reference : 1A reference picture, i.e. a picture with nal_ref_idc not equal to 0, as defined in clause 3.136 uint32_t no_output_of_prior_pics_flag : 1 uint32_t long_term_reference_flag : 1 uint32_t adaptive_ref_pic_marking_mode_flag : 1 uint32_t reserved : 27 uint32_t used_for_long_term_reference : 1A picture that is marked as "used for long-term reference", derived binary value from clause 8.2.5.1 Sequence of operations for decoded reference picture marking process uint32_t reserved : 31 uint32_t ref_pic_list_modification_flag_l0 : 1 uint32_t ref_pic_list_modification_flag_l1 : 1 uint32_t reserved : 30 StdVideoH264ModificationOfPicNumsIdc modification_of_pic_nums_idc uint16_t abs_diff_pic_num_minus1 uint16_t long_term_pic_num StdVideoH264MemMgmtControlOp memory_management_control_operation uint16_t difference_of_pic_nums_minus1 uint16_t long_term_pic_num uint16_t long_term_frame_idx uint16_t max_long_term_frame_idx_plus1 StdVideoEncodeH264ReferenceListsInfoFlags flags uint8_t num_ref_idx_l0_active_minus1 uint8_t num_ref_idx_l1_active_minus1 uint8_t RefPicList0[STD_VIDEO_H264_MAX_NUM_LIST_REF]slotIndex as used in VkVideoReferenceSlotInfoKHR structures or STD_VIDEO_H264_NO_REFERENCE_PICTURE uint8_t RefPicList1[STD_VIDEO_H264_MAX_NUM_LIST_REF]slotIndex as used in VkVideoReferenceSlotInfoKHR structures or STD_VIDEO_H264_NO_REFERENCE_PICTURE uint8_t refList0ModOpCount uint8_t refList1ModOpCount uint8_t refPicMarkingOpCount uint8_t reserved1[7]Reserved for future use and must be initialized with 0. const StdVideoEncodeH264RefListModEntry* pRefList0ModOperationsMust be a valid pointer to an array with size refList0ModOpCount if ref_pic_list_modification_flag_l0 is set and contains the RefList0 modification parameters as defined in section 7.4.3.1 const StdVideoEncodeH264RefListModEntry* pRefList1ModOperationsMust be a valid pointer to an array with size refList1ModOpCount if ref_pic_list_modification_flag_l1 is set and contains the RefList1 modification parameters as defined in section 7.4.3.1 const StdVideoEncodeH264RefPicMarkingEntry* pRefPicMarkingOperationsMust be a valid pointer to an array with size refPicMarkingOpCount and contains the reference picture markings as defined in section 7.4.3.3 StdVideoEncodeH264PictureInfoFlags flags uint8_t seq_parameter_set_idSelecting SPS id from the Sequence Parameters Set uint8_t pic_parameter_set_idSelecting PPS from the Picture Parameters for all StdVideoEncodeH264SliceHeader(s) uint16_t idr_pic_id StdVideoH264PictureType primary_pic_type uint32_t frame_num int32_t PicOrderCntPicture order count, as defined in 8.2 uint8_t temporal_idTemporal identifier of the picture, as defined in G.7.3.1.1 / G.7.4.1.1 uint8_t reserved1[3]Reserved for future use and must be initialized with 0. const StdVideoEncodeH264ReferenceListsInfo* pRefLists StdVideoEncodeH264ReferenceInfoFlags flags StdVideoH264PictureType primary_pic_type uint32_t FrameNumFrame number, as defined in 8.2 int32_t PicOrderCntPicture order count, as defined in 8.2 uint16_t long_term_pic_num uint16_t long_term_frame_idx uint8_t temporal_idTemporal identifier of the picture, as defined in G.7.3.1.1 / G.7.4.1.1 StdVideoEncodeH264SliceHeaderFlags flags uint32_t first_mb_in_slice StdVideoH264SliceType slice_type int8_t slice_alpha_c0_offset_div2 int8_t slice_beta_offset_div2 int8_t slice_qp_delta uint8_t reserved1Reserved for future use and must be initialized with 0. StdVideoH264CabacInitIdc cabac_init_idc StdVideoH264DisableDeblockingFilterIdc disable_deblocking_filter_idc const StdVideoEncodeH264WeightTable* pWeightTable uint32_t general_tier_flag : 1 uint32_t general_progressive_source_flag : 1 uint32_t general_interlaced_source_flag : 1 uint32_t general_non_packed_constraint_flag : 1 uint32_t general_frame_only_constraint_flag : 1 StdVideoH265ProfileTierLevelFlags flags StdVideoH265ProfileIdc general_profile_idc StdVideoH265LevelIdc general_level_idc uint32_t max_latency_increase_plus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE]represents sps_max_latency_increase_plus1 or vps_max_latency_increase_plus1 uint8_t max_dec_pic_buffering_minus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE]represents sps_max_dec_pic_buffering_minus1 or vps_max_dec_pic_buffering_minus1 uint8_t max_num_reorder_pics[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE]represents sps_max_num_reorder_pics or vps_max_num_reorder_pics uint32_t bit_rate_value_minus1[STD_VIDEO_H265_CPB_CNT_LIST_SIZE] uint32_t cpb_size_value_minus1[STD_VIDEO_H265_CPB_CNT_LIST_SIZE] uint32_t cpb_size_du_value_minus1[STD_VIDEO_H265_CPB_CNT_LIST_SIZE] uint32_t bit_rate_du_value_minus1[STD_VIDEO_H265_CPB_CNT_LIST_SIZE] uint32_t cbr_flageach bit represents a range of CpbCounts (bit 0 - cpb_cnt_minus1) per sub-layer uint32_t nal_hrd_parameters_present_flag : 1 uint32_t vcl_hrd_parameters_present_flag : 1 uint32_t sub_pic_hrd_params_present_flag : 1 uint32_t sub_pic_cpb_params_in_pic_timing_sei_flag : 1 uint32_t fixed_pic_rate_general_flag : 8each bit represents a sublayer, bit 0 - vps_max_sub_layers_minus1 uint32_t fixed_pic_rate_within_cvs_flag : 8each bit represents a sublayer, bit 0 - vps_max_sub_layers_minus1 uint32_t low_delay_hrd_flag : 8each bit represents a sublayer, bit 0 - vps_max_sub_layers_minus1 StdVideoH265HrdFlags flags uint8_t tick_divisor_minus2 uint8_t du_cpb_removal_delay_increment_length_minus1 uint8_t dpb_output_delay_du_length_minus1 uint8_t bit_rate_scale uint8_t cpb_size_scale uint8_t cpb_size_du_scale uint8_t initial_cpb_removal_delay_length_minus1 uint8_t au_cpb_removal_delay_length_minus1 uint8_t dpb_output_delay_length_minus1 uint8_t cpb_cnt_minus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE] uint16_t elemental_duration_in_tc_minus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE] uint16_t reserved[3]Reserved for future use and must be initialized with 0. const StdVideoH265SubLayerHrdParameters* pSubLayerHrdParametersNalif flags.nal_hrd_parameters_present_flag is set, then this must be a ptr to an array of StdVideoH265SubLayerHrdParameters with a size specified by sps_max_sub_layers_minus1 + 1 or vps_max_sub_layers_minus1 + 1, depending on whether the HRD parameters are part of the SPS or VPS, respectively. const StdVideoH265SubLayerHrdParameters* pSubLayerHrdParametersVclif flags.vcl_hrd_parameters_present_flag is set, then this must be a ptr to an array of StdVideoH265SubLayerHrdParameters with a size specified by sps_max_sub_layers_minus1 + 1 or vps_max_sub_layers_minus1 + 1, depending on whether the HRD parameters are part of the SPS or VPS, respectively. uint32_t vps_temporal_id_nesting_flag : 1 uint32_t vps_sub_layer_ordering_info_present_flag : 1 uint32_t vps_timing_info_present_flag : 1 uint32_t vps_poc_proportional_to_timing_flag : 1 StdVideoH265VpsFlags flags uint8_t vps_video_parameter_set_id uint8_t vps_max_sub_layers_minus1 uint8_t reserved1Reserved for future use and must be initialized with 0. uint8_t reserved2Reserved for future use and must be initialized with 0. uint32_t vps_num_units_in_tick uint32_t vps_time_scale uint32_t vps_num_ticks_poc_diff_one_minus1 uint32_t reserved3Reserved for future use and must be initialized with 0. const StdVideoH265DecPicBufMgr* pDecPicBufMgr const StdVideoH265HrdParameters* pHrdParameters const StdVideoH265ProfileTierLevel* pProfileTierLevel uint8_t ScalingList4x4[STD_VIDEO_H265_SCALING_LIST_4X4_NUM_LISTS][STD_VIDEO_H265_SCALING_LIST_4X4_NUM_ELEMENTS]ScalingList[ 0 ][ MatrixID ][ i ] (sizeID = 0) uint8_t ScalingList8x8[STD_VIDEO_H265_SCALING_LIST_8X8_NUM_LISTS][STD_VIDEO_H265_SCALING_LIST_8X8_NUM_ELEMENTS]ScalingList[ 1 ][ MatrixID ][ i ] (sizeID = 1) uint8_t ScalingList16x16[STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS][STD_VIDEO_H265_SCALING_LIST_16X16_NUM_ELEMENTS]ScalingList[ 2 ][ Matri]xID ][ i ] (sizeID = 2) uint8_t ScalingList32x32[STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS][STD_VIDEO_H265_SCALING_LIST_32X32_NUM_ELEMENTS]ScalingList[ 3 ][ MatrixID ][ i ] (sizeID = 3) uint8_t ScalingListDCCoef16x16[STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS]scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8, sizeID = 2 uint8_t ScalingListDCCoef32x32[STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS]scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8. sizeID = 3 uint32_t inter_ref_pic_set_prediction_flag : 1 uint32_t delta_rps_sign : 1 StdVideoH265ShortTermRefPicSetFlags flags uint32_t delta_idx_minus1 uint16_t use_delta_flageach bit represents a use_delta_flag[j] syntax uint16_t abs_delta_rps_minus1 uint16_t used_by_curr_pic_flageach bit represents a used_by_curr_pic_flag[j] syntax uint16_t used_by_curr_pic_s0_flageach bit represents a used_by_curr_pic_s0_flag[i] syntax uint16_t used_by_curr_pic_s1_flageach bit represents a used_by_curr_pic_s1_flag[i] syntax uint16_t reserved1Reserved for future use and must be initialized with 0. uint8_t reserved2Reserved for future use and must be initialized with 0. uint8_t reserved3Reserved for future use and must be initialized with 0. uint8_t num_negative_pics uint8_t num_positive_pics uint16_t delta_poc_s0_minus1[STD_VIDEO_H265_MAX_DPB_SIZE] uint16_t delta_poc_s1_minus1[STD_VIDEO_H265_MAX_DPB_SIZE] uint32_t used_by_curr_pic_lt_sps_flageach bit represents a used_by_curr_pic_lt_sps_flag[i] syntax uint32_t lt_ref_pic_poc_lsb_sps[STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS] uint32_t aspect_ratio_info_present_flag : 1 uint32_t overscan_info_present_flag : 1 uint32_t overscan_appropriate_flag : 1 uint32_t video_signal_type_present_flag : 1 uint32_t video_full_range_flag : 1 uint32_t colour_description_present_flag : 1 uint32_t chroma_loc_info_present_flag : 1 uint32_t neutral_chroma_indication_flag : 1 uint32_t field_seq_flag : 1 uint32_t frame_field_info_present_flag : 1 uint32_t default_display_window_flag : 1 uint32_t vui_timing_info_present_flag : 1 uint32_t vui_poc_proportional_to_timing_flag : 1 uint32_t vui_hrd_parameters_present_flag : 1 uint32_t bitstream_restriction_flag : 1 uint32_t tiles_fixed_structure_flag : 1 uint32_t motion_vectors_over_pic_boundaries_flag : 1 uint32_t restricted_ref_pic_lists_flag : 1 StdVideoH265SpsVuiFlags flags StdVideoH265AspectRatioIdc aspect_ratio_idc uint16_t sar_width uint16_t sar_height uint8_t video_format uint8_t colour_primaries uint8_t transfer_characteristics uint8_t matrix_coeffs uint8_t chroma_sample_loc_type_top_field uint8_t chroma_sample_loc_type_bottom_field uint8_t reserved1Reserved for future use and must be initialized with 0. uint8_t reserved2Reserved for future use and must be initialized with 0. uint16_t def_disp_win_left_offset uint16_t def_disp_win_right_offset uint16_t def_disp_win_top_offset uint16_t def_disp_win_bottom_offset uint32_t vui_num_units_in_tick uint32_t vui_time_scale uint32_t vui_num_ticks_poc_diff_one_minus1 uint16_t min_spatial_segmentation_idc uint16_t reserved3Reserved for future use and must be initialized with 0. uint8_t max_bytes_per_pic_denom uint8_t max_bits_per_min_cu_denom uint8_t log2_max_mv_length_horizontal uint8_t log2_max_mv_length_vertical const StdVideoH265HrdParameters* pHrdParameters uint16_t PredictorPaletteEntries[STD_VIDEO_H265_PREDICTOR_PALETTE_COMPONENTS_LIST_SIZE][STD_VIDEO_H265_PREDICTOR_PALETTE_COMP_ENTRIES_LIST_SIZE] uint32_t sps_temporal_id_nesting_flag : 1 uint32_t separate_colour_plane_flag : 1 uint32_t conformance_window_flag : 1 uint32_t sps_sub_layer_ordering_info_present_flag : 1 uint32_t scaling_list_enabled_flag : 1 uint32_t sps_scaling_list_data_present_flag : 1 uint32_t amp_enabled_flag : 1 uint32_t sample_adaptive_offset_enabled_flag : 1 uint32_t pcm_enabled_flag : 1 uint32_t pcm_loop_filter_disabled_flag : 1 uint32_t long_term_ref_pics_present_flag : 1 uint32_t sps_temporal_mvp_enabled_flag : 1 uint32_t strong_intra_smoothing_enabled_flag : 1 uint32_t vui_parameters_present_flag : 1 uint32_t sps_extension_present_flag : 1 uint32_t sps_range_extension_flag : 1 extension SPS flags, valid when STD_VIDEO_H265_PROFILE_IDC_FORMAT_RANGE_EXTENSIONS is set uint32_t transform_skip_rotation_enabled_flag : 1 uint32_t transform_skip_context_enabled_flag : 1 uint32_t implicit_rdpcm_enabled_flag : 1 uint32_t explicit_rdpcm_enabled_flag : 1 uint32_t extended_precision_processing_flag : 1 uint32_t intra_smoothing_disabled_flag : 1 uint32_t high_precision_offsets_enabled_flag : 1 uint32_t persistent_rice_adaptation_enabled_flag : 1 uint32_t cabac_bypass_alignment_enabled_flag : 1 extension SPS flags, valid when STD_VIDEO_H265_PROFILE_IDC_SCC_EXTENSIONS is set uint32_t sps_scc_extension_flag : 1 uint32_t sps_curr_pic_ref_enabled_flag : 1 uint32_t palette_mode_enabled_flag : 1 uint32_t sps_palette_predictor_initializers_present_flag : 1 uint32_t intra_boundary_filtering_disabled_flag : 1 StdVideoH265SpsFlags flags StdVideoH265ChromaFormatIdc chroma_format_idc uint32_t pic_width_in_luma_samples uint32_t pic_height_in_luma_samples uint8_t sps_video_parameter_set_id uint8_t sps_max_sub_layers_minus1 uint8_t sps_seq_parameter_set_id uint8_t bit_depth_luma_minus8 uint8_t bit_depth_chroma_minus8 uint8_t log2_max_pic_order_cnt_lsb_minus4 uint8_t log2_min_luma_coding_block_size_minus3 uint8_t log2_diff_max_min_luma_coding_block_size uint8_t log2_min_luma_transform_block_size_minus2 uint8_t log2_diff_max_min_luma_transform_block_size uint8_t max_transform_hierarchy_depth_inter uint8_t max_transform_hierarchy_depth_intra uint8_t num_short_term_ref_pic_sets uint8_t num_long_term_ref_pics_sps uint8_t pcm_sample_bit_depth_luma_minus1 uint8_t pcm_sample_bit_depth_chroma_minus1 uint8_t log2_min_pcm_luma_coding_block_size_minus3 uint8_t log2_diff_max_min_pcm_luma_coding_block_size uint8_t reserved1Reserved for future use and must be initialized with 0. uint8_t reserved2Reserved for future use and must be initialized with 0. Start extension SPS flags, valid when STD_VIDEO_H265_PROFILE_IDC_SCC_EXTENSIONS is set uint8_t palette_max_size uint8_t delta_palette_max_predictor_size uint8_t motion_vector_resolution_control_idc uint8_t sps_num_palette_predictor_initializers_minus1 End extension SPS flags, valid when STD_VIDEO_H265_PROFILE_IDC_SCC_EXTENSIONS is set uint32_t conf_win_left_offset uint32_t conf_win_right_offset uint32_t conf_win_top_offset uint32_t conf_win_bottom_offset const StdVideoH265ProfileTierLevel* pProfileTierLevel const StdVideoH265DecPicBufMgr* pDecPicBufMgr const StdVideoH265ScalingLists* pScalingListsMust be a valid pointer if sps_scaling_list_data_present_flag is set const StdVideoH265ShortTermRefPicSet* pShortTermRefPicSetMust be a valid pointer to an array with size num_short_term_ref_pic_sets if num_short_term_ref_pic_sets is not 0. const StdVideoH265LongTermRefPicsSps* pLongTermRefPicsSpsMust be a valid pointer if long_term_ref_pics_present_flag is set const StdVideoH265SequenceParameterSetVui* pSequenceParameterSetVuiMust be a valid pointer if StdVideoH265SpsFlags:vui_parameters_present_flag is set palette_max_size const StdVideoH265PredictorPaletteEntries* pPredictorPaletteEntriesMust be a valid pointer if sps_palette_predictor_initializer_present_flag is set uint32_t dependent_slice_segments_enabled_flag : 1 uint32_t output_flag_present_flag : 1 uint32_t sign_data_hiding_enabled_flag : 1 uint32_t cabac_init_present_flag : 1 uint32_t constrained_intra_pred_flag : 1 uint32_t transform_skip_enabled_flag : 1 uint32_t cu_qp_delta_enabled_flag : 1 uint32_t pps_slice_chroma_qp_offsets_present_flag : 1 uint32_t weighted_pred_flag : 1 uint32_t weighted_bipred_flag : 1 uint32_t transquant_bypass_enabled_flag : 1 uint32_t tiles_enabled_flag : 1 uint32_t entropy_coding_sync_enabled_flag : 1 uint32_t uniform_spacing_flag : 1 uint32_t loop_filter_across_tiles_enabled_flag : 1 uint32_t pps_loop_filter_across_slices_enabled_flag : 1 uint32_t deblocking_filter_control_present_flag : 1 uint32_t deblocking_filter_override_enabled_flag : 1 uint32_t pps_deblocking_filter_disabled_flag : 1 uint32_t pps_scaling_list_data_present_flag : 1 uint32_t lists_modification_present_flag : 1 uint32_t slice_segment_header_extension_present_flag : 1 uint32_t pps_extension_present_flag : 1 extension PPS flags, valid when STD_VIDEO_H265_PROFILE_IDC_FORMAT_RANGE_EXTENSIONS is set uint32_t cross_component_prediction_enabled_flag : 1 uint32_t chroma_qp_offset_list_enabled_flag : 1 extension PPS flags, valid when STD_VIDEO_H265_PROFILE_IDC_SCC_EXTENSIONS is set uint32_t pps_curr_pic_ref_enabled_flag : 1 uint32_t residual_adaptive_colour_transform_enabled_flag : 1 uint32_t pps_slice_act_qp_offsets_present_flag : 1 uint32_t pps_palette_predictor_initializers_present_flag : 1 uint32_t monochrome_palette_flag : 1 uint32_t pps_range_extension_flag : 1 StdVideoH265PpsFlags flags uint8_t pps_pic_parameter_set_id uint8_t pps_seq_parameter_set_id uint8_t sps_video_parameter_set_id uint8_t num_extra_slice_header_bits uint8_t num_ref_idx_l0_default_active_minus1 uint8_t num_ref_idx_l1_default_active_minus1 int8_t init_qp_minus26 uint8_t diff_cu_qp_delta_depth int8_t pps_cb_qp_offset int8_t pps_cr_qp_offset int8_t pps_beta_offset_div2 int8_t pps_tc_offset_div2 uint8_t log2_parallel_merge_level_minus2 extension PPS, valid when STD_VIDEO_H265_PROFILE_IDC_FORMAT_RANGE_EXTENSIONS is set uint8_t log2_max_transform_skip_block_size_minus2 uint8_t diff_cu_chroma_qp_offset_depth uint8_t chroma_qp_offset_list_len_minus1 int8_t cb_qp_offset_list[STD_VIDEO_H265_CHROMA_QP_OFFSET_LIST_SIZE] int8_t cr_qp_offset_list[STD_VIDEO_H265_CHROMA_QP_OFFSET_LIST_SIZE] uint8_t log2_sao_offset_scale_luma uint8_t log2_sao_offset_scale_chroma extension PPS, valid when STD_VIDEO_H265_PROFILE_IDC_SCC_EXTENSIONS is set int8_t pps_act_y_qp_offset_plus5 int8_t pps_act_cb_qp_offset_plus5 int8_t pps_act_cr_qp_offset_plus3 uint8_t pps_num_palette_predictor_initializers uint8_t luma_bit_depth_entry_minus8 uint8_t chroma_bit_depth_entry_minus8 uint8_t num_tile_columns_minus1 uint8_t num_tile_rows_minus1 uint8_t reserved1Reserved for future use and must be initialized with 0. uint8_t reserved2Reserved for future use and must be initialized with 0. uint16_t column_width_minus1[STD_VIDEO_H265_CHROMA_QP_OFFSET_TILE_COLS_LIST_SIZE] uint16_t row_height_minus1[STD_VIDEO_H265_CHROMA_QP_OFFSET_TILE_ROWS_LIST_SIZE] uint32_t reserved3Reserved for future use and must be initialized with 0. const StdVideoH265ScalingLists* pScalingListsMust be a valid pointer if pps_scaling_list_data_present_flag is set const StdVideoH265PredictorPaletteEntries* pPredictorPaletteEntriesMust be a valid pointer if pps_palette_predictor_initializer_present_flag is set uint32_t IrapPicFlag : 1 uint32_t IdrPicFlag : 1 uint32_t IsReference : 1 uint32_t short_term_ref_pic_set_sps_flag : 1 StdVideoDecodeH265PictureInfoFlags flags uint8_t sps_video_parameter_set_idSelecting VPS id from the Video Parameters Set uint8_t pps_seq_parameter_set_idSelecting SPS id from the Sequence Parameters Set uint8_t pps_pic_parameter_set_idSelecting PPS id from the Picture Parameters Set uint8_t NumDeltaPocsOfRefRpsIdxNumDeltaPocs[ RefRpsIdx ] when short_term_ref_pic_set_sps_flag = 1, otherwise 0 int32_t PicOrderCntVal uint16_t NumBitsForSTRefPicSetInSlicenumber of bits used in st_ref_pic_set() when short_term_ref_pic_set_sps_flag is 0otherwise set to 0. uint16_t reserved uint8_t RefPicSetStCurrBefore[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE]slotIndex as used in VkVideoReferenceSlotInfoKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR or STD_VIDEO_H265_NO_REFERENCE_PICTURE uint8_t RefPicSetStCurrAfter[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE]slotIndex as used in VkVideoReferenceSlotInfoKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR or STD_VIDEO_H265_NO_REFERENCE_PICTURE uint8_t RefPicSetLtCurr[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE]slotIndex as used in VkVideoReferenceSlotInfoKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR or STD_VIDEO_H265_NO_REFERENCE_PICTURE uint32_t used_for_long_term_reference : 1A picture that is marked as "used for long-term reference", derived binary value from clause 8.3.2 Decoding process for reference picture set uint32_t unused_for_reference : 1A picture that is marked as "unused for reference", derived binary value from clause 8.3.2 Decoding process for reference picture set StdVideoDecodeH265ReferenceInfoFlags flags int32_t PicOrderCntVal uint16_t luma_weight_l0_flageach bit n represents the nth entry in reference list l0, n <= num_ref_idx_l0_active_minus1 uint16_t chroma_weight_l0_flageach bit n represents the nth entry in reference list l0, n <= num_ref_idx_l0_active_minus1 uint16_t luma_weight_l1_flageach bit n represents the nth entry in reference list l1, n <= num_ref_idx_l1_active_minus1 uint16_t chroma_weight_l1_flageach bit n represents the nth entry in reference list l1, n <= num_ref_idx_l1_active_minus1 StdVideoEncodeH265WeightTable corresponds to the values produced by pred_weight_table() for the h.265 specification. For details, refer to weighted_pred_flag, weighted_bipred_flag and pred_weight_table(). StdVideoEncodeH265WeightTableFlags flags uint8_t luma_log2_weight_denom[0, 7] int8_t delta_chroma_log2_weight_denom int8_t delta_luma_weight_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF]comment int8_t luma_offset_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF]comment int8_t delta_chroma_weight_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF][STD_VIDEO_H265_MAX_CHROMA_PLANES][i][j]: valid entry range for i is [0, num_ref_idx_l0_active_minus1]; j = 0 for Cb, j = 1 for Cr int8_t delta_chroma_offset_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF][STD_VIDEO_H265_MAX_CHROMA_PLANES][i][j]: valid entry range for i is [0, num_ref_idx_l0_active_minus1]; j = 0 for Cb, j = 1 for Cr int8_t delta_luma_weight_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF] int8_t luma_offset_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF] int8_t delta_chroma_weight_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF][STD_VIDEO_H265_MAX_CHROMA_PLANES][i][j]: valid entry range for i is [0, num_ref_idx_l1_active_minus1]; j = 0 for Cb, j = 1 for Cr int8_t delta_chroma_offset_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF][STD_VIDEO_H265_MAX_CHROMA_PLANES][i][j]: valid entry range for i is [0, num_ref_idx_l1_active_minus1]; j = 0 for Cb, j = 1 for Cr uint8_t num_long_term_sps uint8_t num_long_term_pics uint8_t lt_idx_sps[STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS] uint8_t poc_lsb_lt[STD_VIDEO_H265_MAX_LONG_TERM_PICS] uint16_t used_by_curr_pic_lt_flageach bit represents a used_by_curr_pic_lt_flag[i] syntax uint8_t delta_poc_msb_present_flag[STD_VIDEO_H265_MAX_DELTA_POC] uint8_t delta_poc_msb_cycle_lt[STD_VIDEO_H265_MAX_DELTA_POC] uint32_t first_slice_segment_in_pic_flag : 1 uint32_t dependent_slice_segment_flag : 1 uint32_t slice_sao_luma_flag : 1 uint32_t slice_sao_chroma_flag : 1 uint32_t num_ref_idx_active_override_flag : 1 uint32_t mvd_l1_zero_flag : 1 uint32_t cabac_init_flag : 1 uint32_t cu_chroma_qp_offset_enabled_flag : 1 uint32_t deblocking_filter_override_flag : 1 uint32_t slice_deblocking_filter_disabled_flag : 1 uint32_t collocated_from_l0_flag : 1 uint32_t slice_loop_filter_across_slices_enabled_flag : 1 uint32_t reserved : 20 StdVideoEncodeH265SliceSegmentHeaderFlags flags StdVideoH265SliceType slice_type uint32_t slice_segment_address uint8_t collocated_ref_idx uint8_t MaxNumMergeCand int8_t slice_cb_qp_offset[-12, 12] int8_t slice_cr_qp_offset[-12, 12] int8_t slice_beta_offset_div2[-6, 6] int8_t slice_tc_offset_div2[-6, 6] int8_t slice_act_y_qp_offset int8_t slice_act_cb_qp_offset int8_t slice_act_cr_qp_offset int8_t slice_qp_delta uint16_t reserved1Reserved for future use and must be initialized with 0. const StdVideoEncodeH265WeightTable* pWeightTable uint32_t ref_pic_list_modification_flag_l0 : 1 uint32_t ref_pic_list_modification_flag_l1 : 1 uint32_t reserved : 30 StdVideoEncodeH265ReferenceListsInfoFlags flags uint8_t num_ref_idx_l0_active_minus1 uint8_t num_ref_idx_l1_active_minus1 uint8_t RefPicList0[STD_VIDEO_H265_MAX_NUM_LIST_REF]slotIndex as used in VkVideoReferenceSlotInfoKHR structures or STD_VIDEO_H265_NO_REFERENCE_PICTURE uint8_t RefPicList1[STD_VIDEO_H265_MAX_NUM_LIST_REF]slotIndex as used in VkVideoReferenceSlotInfoKHR structures or STD_VIDEO_H265_NO_REFERENCE_PICTURE uint8_t list_entry_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF] uint8_t list_entry_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF] uint32_t is_reference : 1A reference picture, as defined in clause 3.132 uint32_t IrapPicFlag : 1A reference picture, as defined in clause 3.73 uint32_t used_for_long_term_reference : 1A picture that is marked as "used for long-term reference", derived binary value from clause 8.3.2 Decoding process for reference picture set uint32_t discardable_flag : 1 uint32_t cross_layer_bla_flag : 1 uint32_t pic_output_flag : 1 uint32_t no_output_of_prior_pics_flag : 1 uint32_t short_term_ref_pic_set_sps_flag : 1 uint32_t slice_temporal_mvp_enabled_flag : 1 uint32_t reserved : 23 StdVideoEncodeH265PictureInfoFlags flags StdVideoH265PictureType pic_type uint8_t sps_video_parameter_set_idSelecting VPS id from the Video Parameters Set uint8_t pps_seq_parameter_set_idSelecting SPS id from the Sequence Parameters Set uint8_t pps_pic_parameter_set_idSelecting PPS id from the Picture Parameters Set uint8_t short_term_ref_pic_set_idx int32_t PicOrderCntValPicture order count derived as specified in 8.3.1 uint8_t TemporalIdTemporal ID, as defined in 7.4.2.2 uint8_t reserved1[7]Reserved for future use and must be initialized with 0. const StdVideoEncodeH265ReferenceListsInfo* pRefLists const StdVideoH265ShortTermRefPicSet* pShortTermRefPicSetMust be a valid pointer if short_term_ref_pic_set_sps_flag is not set const StdVideoEncodeH265LongTermRefPics* pLongTermRefPicsMust be a valid pointer if long_term_ref_pics_present_flag is set uint32_t used_for_long_term_reference : 1A picture that is marked as "used for long-term reference", derived binary value from clause 8.3.2 Decoding process for reference picture set uint32_t unused_for_reference : 1A picture that is marked as "unused for reference", derived binary value from clause 8.3.2 Decoding process for reference picture set uint32_t reserved : 30 StdVideoEncodeH265ReferenceInfoFlags flags StdVideoH265PictureType pic_type int32_t PicOrderCntValPicture order count derived as specified in 8.3.1 uint8_t TemporalIdTemporal ID, as defined in 7.4.2.2 Syntax defined in section 5.5.2, semantics defined in section 6.4.2 uint32_t mono_chrome : 1 uint32_t color_range : 1 uint32_t separate_uv_delta_q : 1 uint32_t color_description_present_flag : 1 uint32_t reserved : 28 Syntax defined in section 5.5.2, semantics defined in section 6.4.2 StdVideoAV1ColorConfigFlags flags uint8_t BitDepth uint8_t subsampling_x uint8_t subsampling_y uint8_t reserved1Reserved for future use and must be initialized with 0. StdVideoAV1ColorPrimaries color_primaries StdVideoAV1TransferCharacteristics transfer_characteristics StdVideoAV1MatrixCoefficients matrix_coefficients StdVideoAV1ChromaSamplePosition chroma_sample_position Syntax defined in section 5.5.3, semantics defined in section 6.4.3 uint32_t equal_picture_interval : 1 uint32_t reserved : 31 Syntax defined in section 5.5.3, semantics defined in section 6.4.3 StdVideoAV1TimingInfoFlags flags uint32_t num_units_in_display_tick uint32_t time_scale uint32_t num_ticks_per_picture_minus_1 Syntax defined in section 5.5, semantics defined in section 6.4 uint32_t still_picture : 1 uint32_t reduced_still_picture_header : 1 uint32_t use_128x128_superblock : 1 uint32_t enable_filter_intra : 1 uint32_t enable_intra_edge_filter : 1 uint32_t enable_interintra_compound : 1 uint32_t enable_masked_compound : 1 uint32_t enable_warped_motion : 1 uint32_t enable_dual_filter : 1 uint32_t enable_order_hint : 1 uint32_t enable_jnt_comp : 1 uint32_t enable_ref_frame_mvs : 1 uint32_t frame_id_numbers_present_flag : 1 uint32_t enable_superres : 1 uint32_t enable_cdef : 1 uint32_t enable_restoration : 1 uint32_t film_grain_params_present : 1 uint32_t timing_info_present_flag : 1 uint32_t initial_display_delay_present_flag : 1 uint32_t reserved : 13 Syntax defined in section 5.5, semantics defined in section 6.4 StdVideoAV1SequenceHeaderFlags flags StdVideoAV1Profile seq_profile uint8_t frame_width_bits_minus_1 uint8_t frame_height_bits_minus_1 uint16_t max_frame_width_minus_1 uint16_t max_frame_height_minus_1 uint8_t delta_frame_id_length_minus_2 uint8_t additional_frame_id_length_minus_1 uint8_t order_hint_bits_minus_1 uint8_t seq_force_integer_mvThe final value of of seq_force_integer_mv per the value of seq_choose_integer_mv. uint8_t seq_force_screen_content_toolsThe final value of of seq_force_screen_content_tools per the value of seq_choose_screen_content_tools. uint8_t reserved1[5]Reserved for future use and must be initialized with 0. const StdVideoAV1ColorConfig* pColorConfig const StdVideoAV1TimingInfo* pTimingInfo Syntax defined in section 5.9.11, semantics defined in section 6.8.10 uint32_t loop_filter_delta_enabled : 1 uint32_t loop_filter_delta_update : 1 uint32_t reserved : 30 Syntax defined in section 5.9.11, semantics defined in section 6.8.10 StdVideoAV1LoopFilterFlags flags uint8_t loop_filter_level[STD_VIDEO_AV1_MAX_LOOP_FILTER_STRENGTHS] uint8_t loop_filter_sharpness uint8_t update_ref_delta int8_t loop_filter_ref_deltas[STD_VIDEO_AV1_TOTAL_REFS_PER_FRAME] uint8_t update_mode_delta int8_t loop_filter_mode_deltas[STD_VIDEO_AV1_LOOP_FILTER_ADJUSTMENTS] Syntax defined in section 5.9.12, semantics defined in section 6.8.11 uint32_t using_qmatrix : 1 uint32_t diff_uv_delta : 1 uint32_t reserved : 30 Syntax defined in section 5.9.12, semantics defined in section 6.8.11 StdVideoAV1QuantizationFlags flags uint8_t base_q_idx int8_t DeltaQYDc int8_t DeltaQUDc int8_t DeltaQUAc int8_t DeltaQVDc int8_t DeltaQVAc uint8_t qm_y uint8_t qm_u uint8_t qm_v Syntax defined in section 5.9.14, semantics defined in section 6.8.13 uint8_t FeatureEnabled[STD_VIDEO_AV1_MAX_SEGMENTS]Each element contains 8 (SEG_LVL_MAX) bits, one bit for each feature within the segment int16_t FeatureData[STD_VIDEO_AV1_MAX_SEGMENTS][STD_VIDEO_AV1_SEG_LVL_MAX] Syntax defined in section 5.9.15, semantics defined in section 6.8.14 uint32_t uniform_tile_spacing_flag : 1 uint32_t reserved : 31 Syntax defined in section 5.9.15, semantics defined in section 6.8.14 StdVideoAV1TileInfoFlags flags uint8_t TileCols uint8_t TileRows uint16_t context_update_tile_id uint8_t tile_size_bytes_minus_1 uint8_t reserved1[7]Reserved for future use and must be initialized with 0. const uint16_t* pMiColStartsTileCols number of elements const uint16_t* pMiRowStartsTileRows number of elements const uint16_t* pWidthInSbsMinus1TileCols number of elements const uint16_t* pHeightInSbsMinus1TileRows number of elements Syntax defined in section 5.9.19, semantics defined in section 6.10.14 uint8_t cdef_damping_minus_3 uint8_t cdef_bits uint8_t cdef_y_pri_strength[STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS] uint8_t cdef_y_sec_strength[STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS] uint8_t cdef_uv_pri_strength[STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS] uint8_t cdef_uv_sec_strength[STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS] Syntax defined in section 5.9.20, semantics defined in section 6.10.15 StdVideoAV1FrameRestorationType FrameRestorationType[STD_VIDEO_AV1_MAX_NUM_PLANES] uint16_t LoopRestorationSize[STD_VIDEO_AV1_MAX_NUM_PLANES] Syntax defined in section 5.9.24, semantics defined in section 7.10 uint8_t GmType[STD_VIDEO_AV1_NUM_REF_FRAMES] int32_t gm_params[STD_VIDEO_AV1_NUM_REF_FRAMES][STD_VIDEO_AV1_GLOBAL_MOTION_PARAMS] Syntax defined in section 5.9.30, semantics defined in section 6.8.20 uint32_t chroma_scaling_from_luma : 1 uint32_t overlap_flag : 1 uint32_t clip_to_restricted_range : 1 uint32_t update_grain : 1 uint32_t reserved : 28 Syntax defined in section 5.9.30, semantics defined in section 6.8.20 StdVideoAV1FilmGrainFlags flags uint8_t grain_scaling_minus_8 uint8_t ar_coeff_lag uint8_t ar_coeff_shift_minus_6 uint8_t grain_scale_shift uint16_t grain_seed uint8_t film_grain_params_ref_idx uint8_t num_y_points uint8_t point_y_value[STD_VIDEO_AV1_MAX_NUM_Y_POINTS] uint8_t point_y_scaling[STD_VIDEO_AV1_MAX_NUM_Y_POINTS] uint8_t num_cb_points uint8_t point_cb_value[STD_VIDEO_AV1_MAX_NUM_CB_POINTS] uint8_t point_cb_scaling[STD_VIDEO_AV1_MAX_NUM_CB_POINTS] uint8_t num_cr_points uint8_t point_cr_value[STD_VIDEO_AV1_MAX_NUM_CR_POINTS] uint8_t point_cr_scaling[STD_VIDEO_AV1_MAX_NUM_CR_POINTS] int8_t ar_coeffs_y_plus_128[STD_VIDEO_AV1_MAX_NUM_POS_LUMA] int8_t ar_coeffs_cb_plus_128[STD_VIDEO_AV1_MAX_NUM_POS_CHROMA] int8_t ar_coeffs_cr_plus_128[STD_VIDEO_AV1_MAX_NUM_POS_CHROMA] uint8_t cb_mult uint8_t cb_luma_mult uint16_t cb_offset uint8_t cr_mult uint8_t cr_luma_mult uint16_t cr_offset Syntax defined in section 5.9, semantics defined in section 6.8 uint32_t error_resilient_mode : 1 uint32_t disable_cdf_update : 1 uint32_t use_superres : 1 uint32_t render_and_frame_size_different : 1 uint32_t allow_screen_content_tools : 1 uint32_t is_filter_switchable : 1 uint32_t force_integer_mv : 1 uint32_t frame_size_override_flag : 1 uint32_t buffer_removal_time_present_flag : 1 uint32_t allow_intrabc : 1 uint32_t frame_refs_short_signaling : 1 uint32_t allow_high_precision_mv : 1 uint32_t is_motion_mode_switchable : 1 uint32_t use_ref_frame_mvs : 1 uint32_t disable_frame_end_update_cdf : 1 uint32_t allow_warped_motion : 1 uint32_t reduced_tx_set : 1 uint32_t reference_select : 1 uint32_t skip_mode_present : 1 uint32_t delta_q_present : 1 uint32_t delta_lf_present : 1 uint32_t delta_lf_multi : 1 uint32_t segmentation_enabled : 1 uint32_t segmentation_update_map : 1 uint32_t segmentation_temporal_update : 1 uint32_t segmentation_update_data : 1 uint32_t UsesLr : 1 uint32_t usesChromaLr : 1 uint32_t apply_grain : 1 uint32_t reserved : 3 Syntax defined in sections 5.9 and 5.11.1, semantics defined in sections 6.8 and 6.10.1 StdVideoDecodeAV1PictureInfoFlags flags StdVideoAV1FrameType frame_type uint32_t current_frame_id uint8_t OrderHint uint8_t primary_ref_frame uint8_t refresh_frame_flags uint8_t reserved1Reserved for future use and must be initialized with 0. StdVideoAV1InterpolationFilter interpolation_filter StdVideoAV1TxMode TxMode uint8_t delta_q_res uint8_t delta_lf_res uint8_t SkipModeFrame[STD_VIDEO_AV1_SKIP_MODE_FRAMES] uint8_t coded_denom uint8_t reserved2[3]Reserved for future use and must be initialized with 0. uint8_t OrderHints[STD_VIDEO_AV1_NUM_REF_FRAMES] uint32_t expectedFrameId[STD_VIDEO_AV1_NUM_REF_FRAMES] const StdVideoAV1TileInfo* pTileInfo const StdVideoAV1Quantization* pQuantization const StdVideoAV1Segmentation* pSegmentation const StdVideoAV1LoopFilter* pLoopFilter const StdVideoAV1CDEF* pCDEF const StdVideoAV1LoopRestoration* pLoopRestoration const StdVideoAV1GlobalMotion* pGlobalMotion const StdVideoAV1FilmGrain* pFilmGrain uint32_t disable_frame_end_update_cdf : 1 uint32_t segmentation_enabled : 1 uint32_t reserved : 30 StdVideoDecodeAV1ReferenceInfoFlags flags uint8_t frame_type uint8_t RefFrameSignBias uint8_t OrderHint uint8_t SavedOrderHints[STD_VIDEO_AV1_NUM_REF_FRAMES] Syntax defined in section 5.3.3, semantics defined in section 6.2.3 uint8_t temporal_id uint8_t spatial_id uint8_t buffer_delay_length_minus_1 uint8_t buffer_removal_time_length_minus_1 uint8_t frame_presentation_time_length_minus_1 uint8_t reserved1Reserved for future use and must be initialized with 0. uint32_t num_units_in_decoding_tick uint32_t decoder_model_present_for_this_op : 1 uint32_t low_delay_mode_flag : 1 uint32_t initial_display_delay_present_for_this_op : 1 uint32_t reserved : 29 StdVideoEncodeAV1OperatingPointInfoFlags flags uint16_t operating_point_idc uint8_t seq_level_idx uint8_t seq_tier uint32_t decoder_buffer_delay uint32_t encoder_buffer_delay uint8_t initial_display_delay_minus_1 Syntax defined in section 5.9, semantics defined in section 6.8 uint32_t error_resilient_mode : 1 uint32_t disable_cdf_update : 1 uint32_t use_superres : 1 uint32_t render_and_frame_size_different : 1 uint32_t allow_screen_content_tools : 1 uint32_t is_filter_switchable : 1 uint32_t force_integer_mv : 1 uint32_t frame_size_override_flag : 1 uint32_t buffer_removal_time_present_flag : 1 uint32_t allow_intrabc : 1 uint32_t frame_refs_short_signaling : 1 uint32_t allow_high_precision_mv : 1 uint32_t is_motion_mode_switchable : 1 uint32_t use_ref_frame_mvs : 1 uint32_t disable_frame_end_update_cdf : 1 uint32_t allow_warped_motion : 1 uint32_t reduced_tx_set : 1 uint32_t skip_mode_present : 1 uint32_t delta_q_present : 1 uint32_t delta_lf_present : 1 uint32_t delta_lf_multi : 1 uint32_t segmentation_enabled : 1 uint32_t segmentation_update_map : 1 uint32_t segmentation_temporal_update : 1 uint32_t segmentation_update_data : 1 uint32_t UsesLr : 1 uint32_t usesChromaLr : 1 uint32_t show_frame : 1 uint32_t showable_frame : 1 uint32_t reserved : 3 Syntax defined in sections 5.9 and 5.11.1, semantics defined in sections 6.8 and 6.10.1 StdVideoEncodeAV1PictureInfoFlags flags StdVideoAV1FrameType frame_type uint32_t frame_presentation_time uint32_t current_frame_id uint8_t order_hint uint8_t primary_ref_frame uint8_t refresh_frame_flags uint8_t coded_denom uint16_t render_width_minus_1 uint16_t render_height_minus_1 StdVideoAV1InterpolationFilter interpolation_filter StdVideoAV1TxMode TxMode uint8_t delta_q_res uint8_t delta_lf_res uint8_t ref_order_hint[STD_VIDEO_AV1_NUM_REF_FRAMES] int8_t ref_frame_idx[STD_VIDEO_AV1_REFS_PER_FRAME] uint8_t reserved1[3]Reserved for future use and must be initialized with 0. uint32_t delta_frame_id_minus_1[STD_VIDEO_AV1_REFS_PER_FRAME] const StdVideoAV1TileInfo* pTileInfo const StdVideoAV1Quantization* pQuantization const StdVideoAV1Segmentation* pSegmentation const StdVideoAV1LoopFilter* pLoopFilter const StdVideoAV1CDEF* pCDEF const StdVideoAV1LoopRestoration* pLoopRestoration const StdVideoAV1GlobalMotion* pGlobalMotion const StdVideoEncodeAV1ExtensionHeader* pExtensionHeader const uint32_t* pBufferRemovalTimes uint32_t disable_frame_end_update_cdf : 1 uint32_t segmentation_enabled : 1 uint32_t reserved : 30 StdVideoEncodeAV1ReferenceInfoFlags flags uint32_t RefFrameId StdVideoAV1FrameType frame_type uint8_t OrderHint uint8_t reserved1[3]Reserved for future use and must be initialized with 0. const StdVideoEncodeAV1ExtensionHeader* pExtensionHeader reserved STD_VIDEO_H264_SLICE_TYPE_SP = 3 reserved STD_VIDEO_H264_SLICE_TYPE_SI = 4 reserved STD_VIDEO_H264_PICTURE_TYPE_SP = 3 reserved STD_VIDEO_H264_PICTURE_TYPE_SI = 4