1#ifndef VULKAN_VIDEO_CODEC_H265STD_H_
2#define VULKAN_VIDEO_CODEC_H265STD_H_ 1
23#define vulkan_video_codec_h265std 1
25#define STD_VIDEO_H265_CPB_CNT_LIST_SIZE 32
26#define STD_VIDEO_H265_SUBLAYERS_LIST_SIZE 7
27#define STD_VIDEO_H265_SCALING_LIST_4X4_NUM_LISTS 6
28#define STD_VIDEO_H265_SCALING_LIST_4X4_NUM_ELEMENTS 16
29#define STD_VIDEO_H265_SCALING_LIST_8X8_NUM_LISTS 6
30#define STD_VIDEO_H265_SCALING_LIST_8X8_NUM_ELEMENTS 64
31#define STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS 6
32#define STD_VIDEO_H265_SCALING_LIST_16X16_NUM_ELEMENTS 64
33#define STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS 2
34#define STD_VIDEO_H265_SCALING_LIST_32X32_NUM_ELEMENTS 64
35#define STD_VIDEO_H265_CHROMA_QP_OFFSET_LIST_SIZE 6
36#define STD_VIDEO_H265_CHROMA_QP_OFFSET_TILE_COLS_LIST_SIZE 19
37#define STD_VIDEO_H265_CHROMA_QP_OFFSET_TILE_ROWS_LIST_SIZE 21
38#define STD_VIDEO_H265_PREDICTOR_PALETTE_COMPONENTS_LIST_SIZE 3
39#define STD_VIDEO_H265_PREDICTOR_PALETTE_COMP_ENTRIES_LIST_SIZE 128
40#define STD_VIDEO_H265_MAX_NUM_LIST_REF 15
41#define STD_VIDEO_H265_MAX_CHROMA_PLANES 2
42#define STD_VIDEO_H265_MAX_SHORT_TERM_REF_PIC_SETS 64
43#define STD_VIDEO_H265_MAX_DPB_SIZE 16
44#define STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS 32
45#define STD_VIDEO_H265_MAX_LONG_TERM_PICS 16
46#define STD_VIDEO_H265_MAX_DELTA_POC 48
47#define STD_VIDEO_H265_NO_REFERENCE_PICTURE 0xFF
uint8_t max_dec_pic_buffering_minus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE]
uint8_t max_num_reorder_pics[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE]
uint32_t max_latency_increase_plus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE]
uint32_t fixed_pic_rate_within_cvs_flag
uint32_t vcl_hrd_parameters_present_flag
uint32_t fixed_pic_rate_general_flag
uint32_t sub_pic_cpb_params_in_pic_timing_sei_flag
uint32_t nal_hrd_parameters_present_flag
uint32_t sub_pic_hrd_params_present_flag
uint32_t low_delay_hrd_flag
uint16_t elemental_duration_in_tc_minus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE]
StdVideoH265HrdFlags flags
uint8_t tick_divisor_minus2
uint8_t dpb_output_delay_du_length_minus1
uint8_t cpb_size_du_scale
uint8_t dpb_output_delay_length_minus1
uint8_t du_cpb_removal_delay_increment_length_minus1
uint8_t au_cpb_removal_delay_length_minus1
const StdVideoH265SubLayerHrdParameters * pSubLayerHrdParametersNal
const StdVideoH265SubLayerHrdParameters * pSubLayerHrdParametersVcl
uint8_t initial_cpb_removal_delay_length_minus1
uint8_t cpb_cnt_minus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE]
uint32_t used_by_curr_pic_lt_sps_flag
uint32_t lt_ref_pic_poc_lsb_sps[STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS]
uint8_t num_tile_rows_minus1
int8_t pps_beta_offset_div2
int8_t cb_qp_offset_list[STD_VIDEO_H265_CHROMA_QP_OFFSET_LIST_SIZE]
uint8_t pps_seq_parameter_set_id
uint8_t pps_num_palette_predictor_initializers
uint8_t num_tile_columns_minus1
uint8_t diff_cu_chroma_qp_offset_depth
const StdVideoH265PredictorPaletteEntries * pPredictorPaletteEntries
int8_t pps_tc_offset_div2
int8_t pps_act_y_qp_offset_plus5
uint8_t pps_pic_parameter_set_id
uint8_t chroma_bit_depth_entry_minus8
const StdVideoH265ScalingLists * pScalingLists
uint8_t log2_sao_offset_scale_luma
StdVideoH265PpsFlags flags
uint8_t log2_max_transform_skip_block_size_minus2
uint8_t log2_sao_offset_scale_chroma
int8_t cr_qp_offset_list[STD_VIDEO_H265_CHROMA_QP_OFFSET_LIST_SIZE]
int8_t pps_act_cr_qp_offset_plus3
uint8_t num_ref_idx_l0_default_active_minus1
uint8_t chroma_qp_offset_list_len_minus1
uint8_t num_extra_slice_header_bits
uint8_t num_ref_idx_l1_default_active_minus1
uint8_t luma_bit_depth_entry_minus8
uint16_t column_width_minus1[STD_VIDEO_H265_CHROMA_QP_OFFSET_TILE_COLS_LIST_SIZE]
int8_t pps_act_cb_qp_offset_plus5
uint8_t sps_video_parameter_set_id
uint8_t log2_parallel_merge_level_minus2
uint16_t row_height_minus1[STD_VIDEO_H265_CHROMA_QP_OFFSET_TILE_ROWS_LIST_SIZE]
uint8_t diff_cu_qp_delta_depth
uint32_t cross_component_prediction_enabled_flag
uint32_t pps_slice_chroma_qp_offsets_present_flag
uint32_t pps_slice_act_qp_offsets_present_flag
uint32_t output_flag_present_flag
uint32_t pps_range_extension_flag
uint32_t loop_filter_across_tiles_enabled_flag
uint32_t pps_scaling_list_data_present_flag
uint32_t pps_curr_pic_ref_enabled_flag
uint32_t residual_adaptive_colour_transform_enabled_flag
uint32_t cu_qp_delta_enabled_flag
uint32_t pps_palette_predictor_initializers_present_flag
uint32_t uniform_spacing_flag
uint32_t chroma_qp_offset_list_enabled_flag
uint32_t pps_extension_present_flag
uint32_t monochrome_palette_flag
uint32_t transquant_bypass_enabled_flag
uint32_t dependent_slice_segments_enabled_flag
uint32_t entropy_coding_sync_enabled_flag
uint32_t deblocking_filter_override_enabled_flag
uint32_t slice_segment_header_extension_present_flag
uint32_t weighted_pred_flag
uint32_t cabac_init_present_flag
uint32_t lists_modification_present_flag
uint32_t pps_deblocking_filter_disabled_flag
uint32_t weighted_bipred_flag
uint32_t tiles_enabled_flag
uint32_t transform_skip_enabled_flag
uint32_t sign_data_hiding_enabled_flag
uint32_t pps_loop_filter_across_slices_enabled_flag
uint32_t constrained_intra_pred_flag
uint32_t deblocking_filter_control_present_flag
uint16_t PredictorPaletteEntries[STD_VIDEO_H265_PREDICTOR_PALETTE_COMPONENTS_LIST_SIZE][STD_VIDEO_H265_PREDICTOR_PALETTE_COMP_ENTRIES_LIST_SIZE]
uint32_t general_interlaced_source_flag
uint32_t general_tier_flag
uint32_t general_frame_only_constraint_flag
uint32_t general_non_packed_constraint_flag
uint32_t general_progressive_source_flag
StdVideoH265LevelIdc general_level_idc
StdVideoH265ProfileIdc general_profile_idc
StdVideoH265ProfileTierLevelFlags flags
uint8_t ScalingListDCCoef16x16[STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS]
uint8_t ScalingList4x4[STD_VIDEO_H265_SCALING_LIST_4X4_NUM_LISTS][STD_VIDEO_H265_SCALING_LIST_4X4_NUM_ELEMENTS]
uint8_t ScalingListDCCoef32x32[STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS]
uint8_t ScalingList16x16[STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS][STD_VIDEO_H265_SCALING_LIST_16X16_NUM_ELEMENTS]
uint8_t ScalingList32x32[STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS][STD_VIDEO_H265_SCALING_LIST_32X32_NUM_ELEMENTS]
uint8_t ScalingList8x8[STD_VIDEO_H265_SCALING_LIST_8X8_NUM_LISTS][STD_VIDEO_H265_SCALING_LIST_8X8_NUM_ELEMENTS]
const StdVideoH265HrdParameters * pHrdParameters
uint8_t transfer_characteristics
uint32_t vui_num_ticks_poc_diff_one_minus1
uint16_t def_disp_win_bottom_offset
uint8_t log2_max_mv_length_horizontal
uint16_t def_disp_win_left_offset
uint8_t chroma_sample_loc_type_top_field
uint8_t max_bits_per_min_cu_denom
uint16_t min_spatial_segmentation_idc
uint16_t def_disp_win_top_offset
uint8_t max_bytes_per_pic_denom
StdVideoH265SpsVuiFlags flags
uint32_t vui_num_units_in_tick
uint8_t log2_max_mv_length_vertical
uint16_t def_disp_win_right_offset
StdVideoH265AspectRatioIdc aspect_ratio_idc
uint8_t chroma_sample_loc_type_bottom_field
uint32_t conf_win_top_offset
uint8_t bit_depth_luma_minus8
uint8_t log2_min_luma_coding_block_size_minus3
uint8_t log2_diff_max_min_luma_coding_block_size
StdVideoH265SpsFlags flags
uint8_t log2_min_luma_transform_block_size_minus2
const StdVideoH265LongTermRefPicsSps * pLongTermRefPicsSps
uint8_t sps_video_parameter_set_id
uint8_t sps_max_sub_layers_minus1
uint32_t conf_win_bottom_offset
uint8_t sps_num_palette_predictor_initializers_minus1
uint8_t max_transform_hierarchy_depth_inter
uint8_t pcm_sample_bit_depth_luma_minus1
const StdVideoH265ShortTermRefPicSet * pShortTermRefPicSet
uint32_t conf_win_right_offset
uint8_t pcm_sample_bit_depth_chroma_minus1
uint32_t conf_win_left_offset
uint8_t log2_max_pic_order_cnt_lsb_minus4
uint8_t max_transform_hierarchy_depth_intra
uint8_t sps_seq_parameter_set_id
const StdVideoH265DecPicBufMgr * pDecPicBufMgr
const StdVideoH265ProfileTierLevel * pProfileTierLevel
uint8_t log2_diff_max_min_luma_transform_block_size
const StdVideoH265SequenceParameterSetVui * pSequenceParameterSetVui
uint8_t log2_min_pcm_luma_coding_block_size_minus3
uint32_t pic_height_in_luma_samples
uint8_t bit_depth_chroma_minus8
StdVideoH265ChromaFormatIdc chroma_format_idc
uint8_t delta_palette_max_predictor_size
uint8_t num_short_term_ref_pic_sets
uint8_t log2_diff_max_min_pcm_luma_coding_block_size
uint8_t num_long_term_ref_pics_sps
uint8_t motion_vector_resolution_control_idc
const StdVideoH265ScalingLists * pScalingLists
const StdVideoH265PredictorPaletteEntries * pPredictorPaletteEntries
uint32_t pic_width_in_luma_samples
uint32_t inter_ref_pic_set_prediction_flag
uint16_t abs_delta_rps_minus1
uint16_t used_by_curr_pic_flag
uint32_t delta_idx_minus1
uint16_t delta_poc_s0_minus1[STD_VIDEO_H265_MAX_DPB_SIZE]
uint8_t num_positive_pics
StdVideoH265ShortTermRefPicSetFlags flags
uint16_t used_by_curr_pic_s1_flag
uint16_t used_by_curr_pic_s0_flag
uint16_t delta_poc_s1_minus1[STD_VIDEO_H265_MAX_DPB_SIZE]
uint8_t num_negative_pics
uint32_t intra_smoothing_disabled_flag
uint32_t sps_temporal_id_nesting_flag
uint32_t transform_skip_rotation_enabled_flag
uint32_t transform_skip_context_enabled_flag
uint32_t intra_boundary_filtering_disabled_flag
uint32_t sps_temporal_mvp_enabled_flag
uint32_t explicit_rdpcm_enabled_flag
uint32_t cabac_bypass_alignment_enabled_flag
uint32_t vui_parameters_present_flag
uint32_t scaling_list_enabled_flag
uint32_t long_term_ref_pics_present_flag
uint32_t implicit_rdpcm_enabled_flag
uint32_t sps_sub_layer_ordering_info_present_flag
uint32_t sps_scc_extension_flag
uint32_t sps_range_extension_flag
uint32_t sample_adaptive_offset_enabled_flag
uint32_t strong_intra_smoothing_enabled_flag
uint32_t conformance_window_flag
uint32_t sps_scaling_list_data_present_flag
uint32_t separate_colour_plane_flag
uint32_t extended_precision_processing_flag
uint32_t palette_mode_enabled_flag
uint32_t pcm_enabled_flag
uint32_t sps_palette_predictor_initializers_present_flag
uint32_t persistent_rice_adaptation_enabled_flag
uint32_t sps_curr_pic_ref_enabled_flag
uint32_t high_precision_offsets_enabled_flag
uint32_t sps_extension_present_flag
uint32_t amp_enabled_flag
uint32_t pcm_loop_filter_disabled_flag
uint32_t overscan_appropriate_flag
uint32_t vui_poc_proportional_to_timing_flag
uint32_t video_signal_type_present_flag
uint32_t motion_vectors_over_pic_boundaries_flag
uint32_t video_full_range_flag
uint32_t vui_hrd_parameters_present_flag
uint32_t aspect_ratio_info_present_flag
uint32_t overscan_info_present_flag
uint32_t neutral_chroma_indication_flag
uint32_t colour_description_present_flag
uint32_t bitstream_restriction_flag
uint32_t frame_field_info_present_flag
uint32_t default_display_window_flag
uint32_t chroma_loc_info_present_flag
uint32_t tiles_fixed_structure_flag
uint32_t vui_timing_info_present_flag
uint32_t restricted_ref_pic_lists_flag
uint32_t cpb_size_du_value_minus1[STD_VIDEO_H265_CPB_CNT_LIST_SIZE]
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 bit_rate_du_value_minus1[STD_VIDEO_H265_CPB_CNT_LIST_SIZE]
const StdVideoH265HrdParameters * pHrdParameters
StdVideoH265VpsFlags flags
const StdVideoH265DecPicBufMgr * pDecPicBufMgr
uint8_t vps_video_parameter_set_id
const StdVideoH265ProfileTierLevel * pProfileTierLevel
uint32_t vps_num_units_in_tick
uint8_t vps_max_sub_layers_minus1
uint32_t vps_num_ticks_poc_diff_one_minus1
uint32_t vps_temporal_id_nesting_flag
uint32_t vps_timing_info_present_flag
uint32_t vps_poc_proportional_to_timing_flag
uint32_t vps_sub_layer_ordering_info_present_flag
struct StdVideoH265PictureParameterSet StdVideoH265PictureParameterSet
#define STD_VIDEO_H265_SUBLAYERS_LIST_SIZE
struct StdVideoH265VideoParameterSet StdVideoH265VideoParameterSet
#define STD_VIDEO_H265_CHROMA_QP_OFFSET_TILE_ROWS_LIST_SIZE
#define STD_VIDEO_H265_PREDICTOR_PALETTE_COMP_ENTRIES_LIST_SIZE
struct StdVideoH265LongTermRefPicsSps StdVideoH265LongTermRefPicsSps
#define STD_VIDEO_H265_SCALING_LIST_4X4_NUM_LISTS
#define STD_VIDEO_H265_CPB_CNT_LIST_SIZE
struct StdVideoH265DecPicBufMgr StdVideoH265DecPicBufMgr
struct StdVideoH265ShortTermRefPicSetFlags StdVideoH265ShortTermRefPicSetFlags
struct StdVideoH265ScalingLists StdVideoH265ScalingLists
#define STD_VIDEO_H265_PREDICTOR_PALETTE_COMPONENTS_LIST_SIZE
#define STD_VIDEO_H265_SCALING_LIST_32X32_NUM_ELEMENTS
#define STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS
@ STD_VIDEO_H265_PROFILE_IDC_MAIN_10
@ STD_VIDEO_H265_PROFILE_IDC_MAIN_STILL_PICTURE
@ STD_VIDEO_H265_PROFILE_IDC_MAX_ENUM
@ STD_VIDEO_H265_PROFILE_IDC_INVALID
@ STD_VIDEO_H265_PROFILE_IDC_SCC_EXTENSIONS
@ STD_VIDEO_H265_PROFILE_IDC_MAIN
@ STD_VIDEO_H265_PROFILE_IDC_FORMAT_RANGE_EXTENSIONS
struct StdVideoH265ProfileTierLevel StdVideoH265ProfileTierLevel
struct StdVideoH265SubLayerHrdParameters StdVideoH265SubLayerHrdParameters
StdVideoH265AspectRatioIdc
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_160_99
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_15_11
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_80_33
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_2_1
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_INVALID
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_64_33
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_10_11
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_32_11
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_UNSPECIFIED
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_EXTENDED_SAR
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_16_11
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_40_33
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_12_11
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_4_3
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_SQUARE
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_MAX_ENUM
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_24_11
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_20_11
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_3_2
@ STD_VIDEO_H265_ASPECT_RATIO_IDC_18_11
struct StdVideoH265PredictorPaletteEntries StdVideoH265PredictorPaletteEntries
#define STD_VIDEO_H265_SCALING_LIST_16X16_NUM_ELEMENTS
struct StdVideoH265SpsVuiFlags StdVideoH265SpsVuiFlags
@ STD_VIDEO_H265_SLICE_TYPE_I
@ STD_VIDEO_H265_SLICE_TYPE_P
@ STD_VIDEO_H265_SLICE_TYPE_B
@ STD_VIDEO_H265_SLICE_TYPE_INVALID
@ STD_VIDEO_H265_SLICE_TYPE_MAX_ENUM
#define STD_VIDEO_H265_CHROMA_QP_OFFSET_TILE_COLS_LIST_SIZE
@ STD_VIDEO_H265_LEVEL_IDC_3_1
@ STD_VIDEO_H265_LEVEL_IDC_4_1
@ STD_VIDEO_H265_LEVEL_IDC_3_0
@ STD_VIDEO_H265_LEVEL_IDC_2_1
@ STD_VIDEO_H265_LEVEL_IDC_2_0
@ STD_VIDEO_H265_LEVEL_IDC_5_1
@ STD_VIDEO_H265_LEVEL_IDC_6_0
@ STD_VIDEO_H265_LEVEL_IDC_1_0
@ STD_VIDEO_H265_LEVEL_IDC_5_0
@ STD_VIDEO_H265_LEVEL_IDC_6_2
@ STD_VIDEO_H265_LEVEL_IDC_INVALID
@ STD_VIDEO_H265_LEVEL_IDC_4_0
@ STD_VIDEO_H265_LEVEL_IDC_6_1
@ STD_VIDEO_H265_LEVEL_IDC_MAX_ENUM
@ STD_VIDEO_H265_LEVEL_IDC_5_2
struct StdVideoH265HrdFlags StdVideoH265HrdFlags
struct StdVideoH265ShortTermRefPicSet StdVideoH265ShortTermRefPicSet
#define STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS
@ STD_VIDEO_H265_PICTURE_TYPE_P
@ STD_VIDEO_H265_PICTURE_TYPE_I
@ STD_VIDEO_H265_PICTURE_TYPE_MAX_ENUM
@ STD_VIDEO_H265_PICTURE_TYPE_INVALID
@ STD_VIDEO_H265_PICTURE_TYPE_B
@ STD_VIDEO_H265_PICTURE_TYPE_IDR
struct StdVideoH265SpsFlags StdVideoH265SpsFlags
struct StdVideoH265ProfileTierLevelFlags StdVideoH265ProfileTierLevelFlags
struct StdVideoH265VpsFlags StdVideoH265VpsFlags
#define STD_VIDEO_H265_SCALING_LIST_4X4_NUM_ELEMENTS
#define STD_VIDEO_H265_MAX_DPB_SIZE
struct StdVideoH265SequenceParameterSetVui StdVideoH265SequenceParameterSetVui
#define STD_VIDEO_H265_CHROMA_QP_OFFSET_LIST_SIZE
struct StdVideoH265PpsFlags StdVideoH265PpsFlags
#define STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS
#define STD_VIDEO_H265_SCALING_LIST_8X8_NUM_LISTS
#define STD_VIDEO_H265_SCALING_LIST_8X8_NUM_ELEMENTS
struct StdVideoH265SequenceParameterSet StdVideoH265SequenceParameterSet
struct StdVideoH265HrdParameters StdVideoH265HrdParameters
StdVideoH265ChromaFormatIdc
@ STD_VIDEO_H265_CHROMA_FORMAT_IDC_INVALID
@ STD_VIDEO_H265_CHROMA_FORMAT_IDC_422
@ STD_VIDEO_H265_CHROMA_FORMAT_IDC_MONOCHROME
@ STD_VIDEO_H265_CHROMA_FORMAT_IDC_MAX_ENUM
@ STD_VIDEO_H265_CHROMA_FORMAT_IDC_420
@ STD_VIDEO_H265_CHROMA_FORMAT_IDC_444