FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cbs_h265.h
Go to the documentation of this file.
1 /*
2  * This file is part of FFmpeg.
3  *
4  * FFmpeg is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * FFmpeg is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with FFmpeg; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 #ifndef AVCODEC_CBS_H265_H
20 #define AVCODEC_CBS_H265_H
21 
22 #include <stddef.h>
23 #include <stdint.h>
24 
25 #include "cbs_h2645.h"
26 #include "hevc.h"
27 
28 
29 typedef struct H265RawNALUnitHeader {
35 
36 typedef struct H265RawProfileTierLevel {
40 
42 
47 
58 
60 
62 
65 
66  // TODO: much of that again for each sub-layer.
68 
76 
77 typedef struct H265RawHRDParameters {
80 
86 
90 
94 
103 
104 typedef struct H265RawVUI {
107  uint16_t sar_width;
108  uint16_t sar_height;
109 
112 
120 
124 
128 
134 
137  uint32_t vui_time_scale;
142 
152 } H265RawVUI;
153 
154 typedef struct H265RawPSExtensionData {
156  size_t bit_length;
158 
159 typedef struct H265RawVPS {
161 
163 
169 
171 
176 
180 
183  uint32_t vps_time_scale;
190 
193 } H265RawVPS;
194 
195 typedef struct H265RawSTRefPicSet {
197 
201 
204 
212 
213 typedef struct H265RawScalingList {
217  int8_t scaling_list_delta_coeff[4][6][64];
219 
220 typedef struct H265RawSPS {
222 
224 
227 
229 
231 
234 
237 
243 
246 
248 
253 
260 
264 
267 
274 
277 
282 
285 
288 
295 
297 
298  // Range extension.
308 
309  // Screen content coding extension.
317 
320 } H265RawSPS;
321 
322 typedef struct H265RawPPS {
324 
327 
333 
336 
338 
343 
347 
350 
354 
361 
368 
371 
374 
376 
383 
385 
386  // Range extension.
392  int8_t cb_qp_offset_list[6];
393  int8_t cr_qp_offset_list[6];
396 
397  // Screen content coding extension.
404 
411 } H265RawPPS;
412 
413 typedef struct H265RawAUD {
415 
417 } H265RawAUD;
418 
419 typedef struct H265RawSliceHeader {
421 
425 
428 
431 
434 
436 
440 
448 
450 
453 
457 
462 
467 
482 
485 
493 
499 
503 
507 
508 
509 typedef struct H265RawSlice {
511 
513  size_t data_size;
515 } H265RawSlice;
516 
517 
519  // Reader/writer context in common with the H.264 implementation.
521 
522  // All currently available parameter sets. These are updated when
523  // any parameter set NAL unit is read/written with this context.
527 
528  // The currently active parameter sets. These are updated when any
529  // NAL unit refers to the relevant parameter set. These pointers
530  // must also be present in the arrays above.
535 
536 
537 #endif /* AVCODEC_CBS_H265_H */
uint8_t pps_num_palette_predictor_initializer
Definition: cbs_h265.h:406
uint32_t bit_rate_value_minus1[HEVC_MAX_CPB_CNT]
Definition: cbs_h265.h:70
uint8_t sps_video_parameter_set_id
Definition: cbs_h265.h:223
uint8_t loop_filter_across_tiles_enabled_flag
Definition: cbs_h265.h:360
uint8_t use_integer_mv_flag
Definition: cbs_h265.h:484
uint8_t sps_curr_pic_ref_enabled_flag
Definition: cbs_h265.h:310
uint16_t def_disp_win_top_offset
Definition: cbs_h265.h:132
H265RawPPS * pps[HEVC_MAX_PPS_COUNT]
Definition: cbs_h265.h:526
uint8_t transfer_characteristics
Definition: cbs_h265.h:118
uint8_t pps_pic_parameter_set_id
Definition: cbs_h265.h:325
uint8_t vps_poc_proportional_to_timing_flag
Definition: cbs_h265.h:184
uint8_t num_long_term_pics
Definition: cbs_h265.h:442
uint8_t deblocking_filter_override_enabled_flag
Definition: cbs_h265.h:364
uint8_t num_ref_idx_l0_default_active_minus1
Definition: cbs_h265.h:334
uint8_t log2_max_mv_length_horizontal
Definition: cbs_h265.h:150
uint8_t motion_vectors_over_pic_boundaries_flag
Definition: cbs_h265.h:145
uint8_t fixed_pic_rate_within_cvs_flag[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:96
uint8_t sps_sub_layer_ordering_info_present_flag
Definition: cbs_h265.h:249
uint8_t luma_weight_l1_flag[HEVC_MAX_REFS]
Definition: cbs_h265.h:476
uint8_t slice_temporal_mvp_enabled_flag
Definition: cbs_h265.h:449
H265RawHRDParameters hrd_parameters
Definition: cbs_h265.h:141
uint8_t nal_hrd_parameters_present_flag
Definition: cbs_h265.h:78
uint8_t general_max_8bit_constraint_flag
Definition: cbs_h265.h:50
uint8_t chroma_qp_offset_list_enabled_flag
Definition: cbs_h265.h:389
uint8_t bitstream_restriction_flag
Definition: cbs_h265.h:143
uint8_t general_max_14bit_constraint_flag
Definition: cbs_h265.h:57
uint8_t bit_depth_luma_minus8
Definition: cbs_h265.h:244
uint8_t frame_field_info_present_flag
Definition: cbs_h265.h:127
uint8_t sps_range_extension_flag
Definition: cbs_h265.h:290
int8_t pps_act_y_qp_offset_plus5
Definition: cbs_h265.h:401
uint8_t ref_pic_list_modification_flag_l0
Definition: cbs_h265.h:458
uint8_t vui_timing_info_present_flag
Definition: cbs_h265.h:135
uint8_t tick_divisor_minus2
Definition: cbs_h265.h:82
uint8_t sub_layer_level_present_flag[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:64
uint8_t * data
Definition: cbs_h265.h:512
uint8_t log2_max_transform_skip_block_size_minus2
Definition: cbs_h265.h:387
uint8_t pps_extension_present_flag
Definition: cbs_h265.h:377
uint8_t sps_max_sub_layers_minus1
Definition: cbs_h265.h:225
uint16_t slice_pic_order_cnt_lsb
Definition: cbs_h265.h:435
uint8_t sps_max_num_reorder_pics[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:251
uint8_t tiles_enabled_flag
Definition: cbs_h265.h:352
H265RawSTRefPicSet st_ref_pic_set[HEVC_MAX_SHORT_TERM_REF_PIC_SETS]
Definition: cbs_h265.h:276
int8_t slice_qp_delta
Definition: cbs_h265.h:486
uint8_t use_delta_flag[HEVC_MAX_REFS]
Definition: cbs_h265.h:203
uint8_t restricted_ref_pic_lists_flag
Definition: cbs_h265.h:146
uint8_t bit_rate_scale
Definition: cbs_h265.h:87
uint16_t abs_delta_rps_minus1
Definition: cbs_h265.h:200
H265RawProfileTierLevel profile_tier_level
Definition: cbs_h265.h:228
uint8_t pps_slice_chroma_qp_offsets_present_flag
Definition: cbs_h265.h:346
int8_t slice_beta_offset_div2
Definition: cbs_h265.h:496
uint8_t general_inbld_flag
Definition: cbs_h265.h:59
uint8_t collocated_from_l0_flag
Definition: cbs_h265.h:465
uint8_t cpb_size_scale
Definition: cbs_h265.h:88
uint16_t def_disp_win_bottom_offset
Definition: cbs_h265.h:133
uint8_t default_display_window_flag
Definition: cbs_h265.h:129
uint8_t sample_adaptive_offset_enabled_flag
Definition: cbs_h265.h:266
uint8_t vui_parameters_present_flag
Definition: cbs_h265.h:286
CodedBitstreamH2645Context common
Definition: cbs_h265.h:520
uint8_t pcm_sample_bit_depth_luma_minus1
Definition: cbs_h265.h:269
uint8_t list_entry_l1[HEVC_MAX_REFS]
Definition: cbs_h265.h:461
uint8_t bit_depth_chroma_minus8
Definition: cbs_h265.h:245
uint8_t tiles_fixed_structure_flag
Definition: cbs_h265.h:144
int16_t chroma_offset_l0[HEVC_MAX_REFS][2]
Definition: cbs_h265.h:475
int8_t delta_chroma_log2_weight_denom
Definition: cbs_h265.h:469
uint8_t general_profile_idc
Definition: cbs_h265.h:39
uint8_t used_by_curr_pic_s0_flag[HEVC_MAX_REFS]
Definition: cbs_h265.h:208
uint16_t slice_segment_address
Definition: cbs_h265.h:427
uint32_t vps_num_units_in_tick
Definition: cbs_h265.h:182
uint8_t sign_data_hiding_enabled_flag
Definition: cbs_h265.h:331
uint16_t conf_win_right_offset
Definition: cbs_h265.h:240
uint8_t explicit_rdpcm_enabled_flag
Definition: cbs_h265.h:302
uint8_t slice_deblocking_filter_disabled_flag
Definition: cbs_h265.h:495
uint16_t pic_height_in_luma_samples
Definition: cbs_h265.h:236
uint8_t
H265RawSubLayerHRDParameters nal_sub_layer_hrd_parameters[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:100
uint8_t monochrome_palette_flag
Definition: cbs_h265.h:407
int8_t slice_tc_offset_div2
Definition: cbs_h265.h:497
uint8_t au_cpb_removal_delay_length_minus1
Definition: cbs_h265.h:92
int8_t slice_cb_qp_offset
Definition: cbs_h265.h:487
H265RawScalingList scaling_list
Definition: cbs_h265.h:370
uint8_t colour_primaries
Definition: cbs_h265.h:117
uint8_t vps_sub_layer_ordering_info_present_flag
Definition: cbs_h265.h:172
uint16_t slice_segment_header_extension_length
Definition: cbs_h265.h:504
uint8_t general_max_12bit_constraint_flag
Definition: cbs_h265.h:48
uint8_t five_minus_max_num_merge_cand
Definition: cbs_h265.h:483
uint8_t diff_cu_chroma_qp_offset_depth
Definition: cbs_h265.h:390
int data_bit_start
Definition: cbs_h265.h:514
uint8_t video_format
Definition: cbs_h265.h:114
uint8_t list_entry_l0[HEVC_MAX_REFS]
Definition: cbs_h265.h:459
H265RawSTRefPicSet short_term_ref_pic_set
Definition: cbs_h265.h:438
uint8_t vps_timing_info_present_flag
Definition: cbs_h265.h:181
uint8_t log2_max_pic_order_cnt_lsb_minus4
Definition: cbs_h265.h:247
uint8_t sps_extension_4bits
Definition: cbs_h265.h:294
H265RawSPS * sps[HEVC_MAX_SPS_COUNT]
Definition: cbs_h265.h:525
uint8_t constrained_intra_pred_flag
Definition: cbs_h265.h:339
uint32_t sps_max_latency_increase_plus1[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:252
uint8_t dpb_output_delay_length_minus1
Definition: cbs_h265.h:93
uint8_t cross_component_prediction_enabled_flag
Definition: cbs_h265.h:388
uint8_t matrix_coefficients
Definition: cbs_h265.h:119
uint8_t aspect_ratio_info_present_flag
Definition: cbs_h265.h:105
uint8_t vps_max_sub_layers_minus1
Definition: cbs_h265.h:167
uint16_t sps_palette_predictor_initializers[3][128]
Definition: cbs_h265.h:316
uint16_t def_disp_win_right_offset
Definition: cbs_h265.h:131
uint8_t nuh_temporal_id_plus1
Definition: cbs_h265.h:33
uint8_t general_max_monochrome_constraint_flag
Definition: cbs_h265.h:53
uint8_t log2_min_luma_transform_block_size_minus2
Definition: cbs_h265.h:256
uint8_t chroma_weight_l0_flag[HEVC_MAX_REFS]
Definition: cbs_h265.h:471
uint8_t sps_scaling_list_data_present_flag
Definition: cbs_h265.h:262
H265RawPSExtensionData extension_data
Definition: cbs_h265.h:384
uint8_t log2_min_pcm_luma_coding_block_size_minus3
Definition: cbs_h265.h:271
uint8_t video_full_range_flag
Definition: cbs_h265.h:115
uint8_t chroma_sample_loc_type_bottom_field
Definition: cbs_h265.h:123
uint16_t vps_num_layer_sets_minus1
Definition: cbs_h265.h:178
uint8_t video_signal_type_present_flag
Definition: cbs_h265.h:113
uint8_t inter_ref_pic_set_prediction_flag
Definition: cbs_h265.h:196
H265RawVUI vui
Definition: cbs_h265.h:287
uint8_t poc_lsb_lt[HEVC_MAX_REFS]
Definition: cbs_h265.h:444
uint8_t cabac_bypass_alignment_enabled_flag
Definition: cbs_h265.h:307
uint8_t uniform_spacing_flag
Definition: cbs_h265.h:357
uint8_t palette_max_size
Definition: cbs_h265.h:312
uint8_t delta_palette_max_predictor_size
Definition: cbs_h265.h:313
uint8_t residual_adaptive_colour_transform_enabled_flag
Definition: cbs_h265.h:399
uint32_t vui_num_ticks_poc_diff_one_minus1
Definition: cbs_h265.h:139
uint8_t neutral_chroma_indication_flag
Definition: cbs_h265.h:125
uint8_t vps_max_dec_pic_buffering_minus1[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:173
uint8_t log2_max_mv_length_vertical
Definition: cbs_h265.h:151
uint8_t luma_weight_l0_flag[HEVC_MAX_REFS]
Definition: cbs_h265.h:470
uint8_t pps_multilayer_extension_flag
Definition: cbs_h265.h:379
uint8_t cbr_flag[HEVC_MAX_CPB_CNT]
Definition: cbs_h265.h:74
uint8_t sps_scc_extension_flag
Definition: cbs_h265.h:293
uint8_t vps_video_parameter_set_id
Definition: cbs_h265.h:162
uint8_t forbidden_zero_bit
Definition: cbs_h265.h:30
uint8_t cu_chroma_qp_offset_enabled_flag
Definition: cbs_h265.h:492
uint8_t pps_slice_act_qp_offsets_present_flag
Definition: cbs_h265.h:400
uint8_t nuh_layer_id
Definition: cbs_h265.h:32
uint8_t pps_scc_extension_flag
Definition: cbs_h265.h:381
uint8_t conformance_window_flag
Definition: cbs_h265.h:238
int8_t scaling_list_delta_coeff[4][6][64]
Definition: cbs_h265.h:217
uint8_t low_delay_hrd_flag[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:98
uint8_t max_bits_per_min_cu_denom
Definition: cbs_h265.h:149
uint8_t delta_poc_msb_present_flag[HEVC_MAX_REFS]
Definition: cbs_h265.h:446
uint8_t dependent_slice_segment_flag
Definition: cbs_h265.h:426
uint8_t intra_smoothing_disabled_flag
Definition: cbs_h265.h:304
uint8_t chroma_loc_info_present_flag
Definition: cbs_h265.h:121
uint8_t num_negative_pics
Definition: cbs_h265.h:205
int8_t cb_qp_offset_list[6]
Definition: cbs_h265.h:392
int16_t scaling_list_dc_coef_minus8[4][6]
Definition: cbs_h265.h:216
uint8_t du_cpb_removal_delay_increment_length_minus1
Definition: cbs_h265.h:83
uint8_t general_interlaced_source_flag
Definition: cbs_h265.h:44
uint16_t hrd_layer_set_idx[HEVC_MAX_LAYER_SETS]
Definition: cbs_h265.h:187
uint8_t general_tier_flag
Definition: cbs_h265.h:38
uint8_t transform_skip_enabled_flag
Definition: cbs_h265.h:340
H265RawNALUnitHeader nal_unit_header
Definition: cbs_h265.h:160
uint8_t pcm_sample_bit_depth_chroma_minus1
Definition: cbs_h265.h:270
uint16_t sar_height
Definition: cbs_h265.h:108
uint8_t lt_idx_sps[HEVC_MAX_REFS]
Definition: cbs_h265.h:443
uint32_t bit_rate_du_value_minus1[HEVC_MAX_CPB_CNT]
Definition: cbs_h265.h:73
uint32_t cpb_size_value_minus1[HEVC_MAX_CPB_CNT]
Definition: cbs_h265.h:71
uint8_t chroma_weight_l1_flag[HEVC_MAX_REFS]
Definition: cbs_h265.h:477
uint8_t chroma_sample_loc_type_top_field
Definition: cbs_h265.h:122
uint8_t vps_max_layers_minus1
Definition: cbs_h265.h:166
uint8_t pps_range_extension_flag
Definition: cbs_h265.h:378
uint32_t entry_point_offset_minus1[HEVC_MAX_ENTRY_POINT_OFFSETS]
Definition: cbs_h265.h:502
uint32_t vui_time_scale
Definition: cbs_h265.h:137
uint16_t conf_win_bottom_offset
Definition: cbs_h265.h:242
H265RawHRDParameters hrd_parameters[HEVC_MAX_LAYER_SETS]
Definition: cbs_h265.h:189
H265RawNALUnitHeader nal_unit_header
Definition: cbs_h265.h:414
uint8_t motion_vector_resolution_control_idc
Definition: cbs_h265.h:318
uint8_t used_by_curr_pic_flag[HEVC_MAX_REFS]
Definition: cbs_h265.h:202
uint8_t slice_type
Definition: cbs_h265.h:430
uint8_t extended_precision_processing_flag
Definition: cbs_h265.h:303
uint8_t ref_pic_list_modification_flag_l1
Definition: cbs_h265.h:460
uint16_t min_spatial_segmentation_idc
Definition: cbs_h265.h:147
uint8_t scaling_list_enabled_flag
Definition: cbs_h265.h:261
uint8_t general_one_picture_only_constraint_flag
Definition: cbs_h265.h:55
H265RawProfileTierLevel profile_tier_level
Definition: cbs_h265.h:170
uint8_t general_max_422chroma_constraint_flag
Definition: cbs_h265.h:51
uint8_t pic_type
Definition: cbs_h265.h:416
uint16_t sar_width
Definition: cbs_h265.h:107
H265RawPSExtensionData extension_data
Definition: cbs_h265.h:192
uint8_t cpb_size_du_scale
Definition: cbs_h265.h:89
uint8_t transquant_bypass_enabled_flag
Definition: cbs_h265.h:351
uint8_t general_intra_constraint_flag
Definition: cbs_h265.h:54
uint32_t vps_max_latency_increase_plus1[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:175
uint8_t vui_hrd_parameters_present_flag
Definition: cbs_h265.h:140
uint16_t delta_poc_s1_minus1[HEVC_MAX_REFS]
Definition: cbs_h265.h:209
uint8_t diff_cu_qp_delta_depth
Definition: cbs_h265.h:342
uint8_t num_long_term_ref_pics_sps
Definition: cbs_h265.h:279
int8_t pps_beta_offset_div2
Definition: cbs_h265.h:366
uint8_t general_non_packed_constraint_flag
Definition: cbs_h265.h:45
uint8_t short_term_ref_pic_set_idx
Definition: cbs_h265.h:439
uint8_t pps_deblocking_filter_disabled_flag
Definition: cbs_h265.h:365
uint8_t colour_plane_id
Definition: cbs_h265.h:433
uint8_t sps_seq_parameter_set_id
Definition: cbs_h265.h:230
uint8_t scaling_list_pred_matrix_id_delta[4][6]
Definition: cbs_h265.h:215
uint8_t used_by_curr_pic_lt_flag[HEVC_MAX_REFS]
Definition: cbs_h265.h:445
uint8_t log2_sao_offset_scale_chroma
Definition: cbs_h265.h:395
uint16_t pic_width_in_luma_samples
Definition: cbs_h265.h:235
uint8_t palette_mode_enabled_flag
Definition: cbs_h265.h:311
uint8_t high_precision_offsets_enabled_flag
Definition: cbs_h265.h:305
int8_t delta_chroma_weight_l0[HEVC_MAX_REFS][2]
Definition: cbs_h265.h:474
uint8_t vps_base_layer_available_flag
Definition: cbs_h265.h:165
int16_t luma_offset_l1[HEVC_MAX_REFS]
Definition: cbs_h265.h:479
uint8_t lists_modification_present_flag
Definition: cbs_h265.h:372
uint8_t log2_min_luma_coding_block_size_minus3
Definition: cbs_h265.h:254
uint32_t delta_poc_msb_cycle_lt[HEVC_MAX_REFS]
Definition: cbs_h265.h:447
int16_t luma_offset_l0[HEVC_MAX_REFS]
Definition: cbs_h265.h:473
uint8_t vcl_hrd_parameters_present_flag
Definition: cbs_h265.h:79
H265RawSubLayerHRDParameters vcl_sub_layer_hrd_parameters[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:101
uint8_t implicit_rdpcm_enabled_flag
Definition: cbs_h265.h:301
int8_t cr_qp_offset_list[6]
Definition: cbs_h265.h:393
uint8_t pps_seq_parameter_set_id
Definition: cbs_h265.h:326
uint8_t cabac_init_present_flag
Definition: cbs_h265.h:332
uint16_t vps_num_hrd_parameters
Definition: cbs_h265.h:186
uint8_t num_ref_idx_l1_active_minus1
Definition: cbs_h265.h:456
uint8_t general_max_420chroma_constraint_flag
Definition: cbs_h265.h:52
uint8_t num_extra_slice_header_bits
Definition: cbs_h265.h:330
uint8_t used_by_curr_pic_s1_flag[HEVC_MAX_REFS]
Definition: cbs_h265.h:210
uint16_t lt_ref_pic_poc_lsb_sps[HEVC_MAX_LONG_TERM_REF_PICS]
Definition: cbs_h265.h:280
uint8_t transform_skip_context_enabled_flag
Definition: cbs_h265.h:300
uint8_t delta_rps_sign
Definition: cbs_h265.h:199
H265RawScalingList scaling_list
Definition: cbs_h265.h:263
uint8_t slice_segment_header_extension_data_byte[256]
Definition: cbs_h265.h:505
uint8_t chroma_qp_offset_list_len_minus1
Definition: cbs_h265.h:391
uint8_t max_bytes_per_pic_denom
Definition: cbs_h265.h:148
uint16_t elemental_duration_in_tc_minus1[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:97
int8_t slice_act_y_qp_offset
Definition: cbs_h265.h:489
const H265RawSPS * active_sps
Definition: cbs_h265.h:532
int8_t delta_luma_weight_l0[HEVC_MAX_REFS]
Definition: cbs_h265.h:472
uint8_t num_ref_idx_l0_active_minus1
Definition: cbs_h265.h:455
H265RawNALUnitHeader nal_unit_header
Definition: cbs_h265.h:221
uint8_t log2_diff_max_min_pcm_luma_coding_block_size
Definition: cbs_h265.h:272
uint8_t entropy_coding_sync_enabled_flag
Definition: cbs_h265.h:353
uint16_t row_height_minus1[HEVC_MAX_TILE_ROWS]
Definition: cbs_h265.h:359
uint8_t output_flag_present_flag
Definition: cbs_h265.h:329
uint8_t weighted_bipred_flag
Definition: cbs_h265.h:349
uint16_t conf_win_top_offset
Definition: cbs_h265.h:241
uint8_t dependent_slice_segments_enabled_flag
Definition: cbs_h265.h:328
uint8_t sps_temporal_mvp_enabled_flag
Definition: cbs_h265.h:283
uint8_t general_level_idc
Definition: cbs_h265.h:61
uint8_t luma_bit_depth_entry_minus8
Definition: cbs_h265.h:408
int8_t slice_cr_qp_offset
Definition: cbs_h265.h:488
uint32_t vui_num_units_in_tick
Definition: cbs_h265.h:136
uint8_t short_term_ref_pic_set_sps_flag
Definition: cbs_h265.h:437
uint8_t slice_loop_filter_across_slices_enabled_flag
Definition: cbs_h265.h:498
uint8_t luma_log2_weight_denom
Definition: cbs_h265.h:468
uint8_t max_transform_hierarchy_depth_intra
Definition: cbs_h265.h:259
uint8_t no_output_of_prior_pics_flag
Definition: cbs_h265.h:423
uint8_t mvd_l1_zero_flag
Definition: cbs_h265.h:463
uint8_t pps_loop_filter_across_slices_enabled_flag
Definition: cbs_h265.h:362
uint8_t weighted_pred_flag
Definition: cbs_h265.h:348
uint8_t sps_temporal_id_nesting_flag
Definition: cbs_h265.h:226
int8_t pps_cb_qp_offset
Definition: cbs_h265.h:344
uint8_t deblocking_filter_control_present_flag
Definition: cbs_h265.h:363
uint8_t vps_max_layer_id
Definition: cbs_h265.h:177
uint8_t slice_reserved_flag[8]
Definition: cbs_h265.h:429
uint16_t conf_win_left_offset
Definition: cbs_h265.h:239
uint8_t collocated_ref_idx
Definition: cbs_h265.h:466
uint8_t amp_enabled_flag
Definition: cbs_h265.h:265
uint8_t cprms_present_flag[HEVC_MAX_LAYER_SETS]
Definition: cbs_h265.h:188
uint8_t general_max_10bit_constraint_flag
Definition: cbs_h265.h:49
uint8_t sps_extension_present_flag
Definition: cbs_h265.h:289
uint8_t fixed_pic_rate_general_flag[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:95
uint8_t log2_sao_offset_scale_luma
Definition: cbs_h265.h:394
uint8_t pps_palette_predictor_initializer_present_flag
Definition: cbs_h265.h:405
uint16_t num_entry_point_offsets
Definition: cbs_h265.h:500
const H265RawVPS * active_vps
Definition: cbs_h265.h:531
uint8_t delta_idx_minus1
Definition: cbs_h265.h:198
uint8_t chroma_bit_depth_entry_minus8
Definition: cbs_h265.h:409
uint8_t chroma_format_idc
Definition: cbs_h265.h:232
uint8_t general_lower_bit_rate_constraint_flag
Definition: cbs_h265.h:56
uint8_t offset_len_minus1
Definition: cbs_h265.h:501
const H265RawPPS * active_pps
Definition: cbs_h265.h:533
uint8_t general_profile_compatibility_flag[32]
Definition: cbs_h265.h:41
uint8_t scaling_list_pred_mode_flag[4][6]
Definition: cbs_h265.h:214
uint8_t vps_base_layer_internal_flag
Definition: cbs_h265.h:164
uint8_t overscan_appropriate_flag
Definition: cbs_h265.h:111
uint8_t sps_num_palette_predictor_initializer_minus1
Definition: cbs_h265.h:315
uint8_t field_seq_flag
Definition: cbs_h265.h:126
uint16_t pps_palette_predictor_initializers[3][128]
Definition: cbs_h265.h:410
uint8_t pcm_loop_filter_disabled_flag
Definition: cbs_h265.h:273
H265RawNALUnitHeader nal_unit_header
Definition: cbs_h265.h:323
uint8_t num_positive_pics
Definition: cbs_h265.h:206
uint8_t general_frame_only_constraint_flag
Definition: cbs_h265.h:46
uint8_t sps_3d_extension_flag
Definition: cbs_h265.h:292
int8_t pps_cr_qp_offset
Definition: cbs_h265.h:345
uint8_t slice_pic_parameter_set_id
Definition: cbs_h265.h:424
uint8_t vui_poc_proportional_to_timing_flag
Definition: cbs_h265.h:138
uint8_t general_progressive_source_flag
Definition: cbs_h265.h:43
uint8_t max_transform_hierarchy_depth_inter
Definition: cbs_h265.h:258
H265RawPSExtensionData extension_data
Definition: cbs_h265.h:296
uint16_t def_disp_win_left_offset
Definition: cbs_h265.h:130
uint8_t pps_scaling_list_data_present_flag
Definition: cbs_h265.h:369
int8_t slice_act_cr_qp_offset
Definition: cbs_h265.h:491
uint8_t cabac_init_flag
Definition: cbs_h265.h:464
int8_t delta_luma_weight_l1[HEVC_MAX_REFS]
Definition: cbs_h265.h:478
uint8_t num_tile_rows_minus1
Definition: cbs_h265.h:356
uint8_t pcm_enabled_flag
Definition: cbs_h265.h:268
uint8_t intra_boundary_filtering_disable_flag
Definition: cbs_h265.h:319
int8_t pps_act_cb_qp_offset_plus5
Definition: cbs_h265.h:402
uint8_t pic_output_flag
Definition: cbs_h265.h:432
uint8_t slice_sao_luma_flag
Definition: cbs_h265.h:451
uint8_t num_tile_columns_minus1
Definition: cbs_h265.h:355
uint8_t sub_pic_hrd_params_present_flag
Definition: cbs_h265.h:81
uint8_t pps_3d_extension_flag
Definition: cbs_h265.h:380
uint16_t delta_poc_s0_minus1[HEVC_MAX_REFS]
Definition: cbs_h265.h:207
uint8_t log2_diff_max_min_luma_coding_block_size
Definition: cbs_h265.h:255
uint8_t sub_layer_profile_present_flag[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:63
uint8_t persistent_rice_adaptation_enabled_flag
Definition: cbs_h265.h:306
uint32_t cpb_size_du_value_minus1[HEVC_MAX_CPB_CNT]
Definition: cbs_h265.h:72
uint8_t sub_pic_cpb_params_in_pic_timing_sei_flag
Definition: cbs_h265.h:84
uint8_t vps_extension_flag
Definition: cbs_h265.h:191
uint8_t cpb_cnt_minus1[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:99
uint8_t overscan_info_present_flag
Definition: cbs_h265.h:110
uint8_t slice_sao_chroma_flag
Definition: cbs_h265.h:452
uint8_t vps_max_num_reorder_pics[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:174
uint8_t sps_multilayer_extension_flag
Definition: cbs_h265.h:291
H265RawSliceHeader header
Definition: cbs_h265.h:510
uint8_t dpb_output_delay_du_length_minus1
Definition: cbs_h265.h:85
uint32_t vps_time_scale
Definition: cbs_h265.h:183
uint8_t used_by_curr_pic_lt_sps_flag[HEVC_MAX_LONG_TERM_REF_PICS]
Definition: cbs_h265.h:281
uint8_t num_short_term_ref_pic_sets
Definition: cbs_h265.h:275
uint16_t column_width_minus1[HEVC_MAX_TILE_COLUMNS]
Definition: cbs_h265.h:358
uint8_t log2_parallel_merge_level_minus2
Definition: cbs_h265.h:373
uint8_t vps_temporal_id_nesting_flag
Definition: cbs_h265.h:168
int8_t delta_chroma_weight_l1[HEVC_MAX_REFS][2]
Definition: cbs_h265.h:480
int8_t pps_tc_offset_div2
Definition: cbs_h265.h:367
int16_t chroma_offset_l1[HEVC_MAX_REFS][2]
Definition: cbs_h265.h:481
size_t data_size
Definition: cbs_h265.h:513
uint8_t aspect_ratio_idc
Definition: cbs_h265.h:106
H265RawNALUnitHeader nal_unit_header
Definition: cbs_h265.h:420
uint8_t num_long_term_sps
Definition: cbs_h265.h:441
uint8_t general_profile_space
Definition: cbs_h265.h:37
uint8_t sps_max_dec_pic_buffering_minus1[HEVC_MAX_SUB_LAYERS]
Definition: cbs_h265.h:250
uint8_t transform_skip_rotation_enabled_flag
Definition: cbs_h265.h:299
int8_t init_qp_minus26
Definition: cbs_h265.h:337
uint32_t vps_num_ticks_poc_diff_one_minus1
Definition: cbs_h265.h:185
uint8_t pps_curr_pic_ref_enabled_flag
Definition: cbs_h265.h:398
uint8_t slice_segment_header_extension_present_flag
Definition: cbs_h265.h:375
H265RawVPS * vps[HEVC_MAX_VPS_COUNT]
Definition: cbs_h265.h:524
uint8_t separate_colour_plane_flag
Definition: cbs_h265.h:233
uint8_t initial_cpb_removal_delay_length_minus1
Definition: cbs_h265.h:91
uint8_t strong_intra_smoothing_enabled_flag
Definition: cbs_h265.h:284
uint8_t colour_description_present_flag
Definition: cbs_h265.h:116
uint8_t pps_extension_4bits
Definition: cbs_h265.h:382
uint8_t log2_diff_max_min_luma_transform_block_size
Definition: cbs_h265.h:257
uint8_t long_term_ref_pics_present_flag
Definition: cbs_h265.h:278
uint8_t num_ref_idx_active_override_flag
Definition: cbs_h265.h:454
uint8_t layer_id_included_flag[HEVC_MAX_LAYER_SETS][HEVC_MAX_LAYERS]
Definition: cbs_h265.h:179
uint8_t nal_unit_type
Definition: cbs_h265.h:31
uint8_t sps_palette_predictor_initializer_present_flag
Definition: cbs_h265.h:314
int8_t pps_act_cr_qp_offset_plus3
Definition: cbs_h265.h:403
uint8_t deblocking_filter_override_flag
Definition: cbs_h265.h:494
uint8_t num_ref_idx_l1_default_active_minus1
Definition: cbs_h265.h:335
int8_t slice_act_cb_qp_offset
Definition: cbs_h265.h:490
uint8_t first_slice_segment_in_pic_flag
Definition: cbs_h265.h:422
uint8_t cu_qp_delta_enabled_flag
Definition: cbs_h265.h:341