FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cbs_h264.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_H264_H
20 #define AVCODEC_CBS_H264_H
21 
22 #include <stddef.h>
23 #include <stdint.h>
24 
25 #include "cbs.h"
26 #include "cbs_h2645.h"
27 #include "h264.h"
28 
29 
30 enum {
31  // This limit is arbitrary - it is sufficient for one message of each
32  // type plus some repeats, and will therefore easily cover all sane
33  // streams. However, it is possible to make technically-valid streams
34  // for which it will fail (for example, by including a large number of
35  // user-data-unregistered messages).
37 };
38 
39 
40 typedef struct H264RawNALUnitHeader {
44 
48 
49 typedef struct H264RawScalingList {
50  int8_t delta_scale[64];
52 
53 typedef struct H264RawHRD {
57 
61 
66 } H264RawHRD;
67 
68 typedef struct H264RawVUI {
71  uint16_t sar_width;
72  uint16_t sar_height;
73 
76 
84 
88 
91  uint32_t time_scale;
93 
99 
101 
110 } H264RawVUI;
111 
112 typedef struct H264RawSPS {
114 
124 
126 
132 
137 
146 
149 
152 
156 
162 
165 } H264RawSPS;
166 
167 typedef struct H264RawSPSExtension {
169 
171 
177 
180 
181 typedef struct H264RawPPS {
183 
186 
189 
198 
201 
204 
207 
211 
214 
216 
219 
224 
226 } H264RawPPS;
227 
228 typedef struct H264RawAUD {
230 
232 } H264RawAUD;
233 
236  struct {
239  } nal, vcl;
241 
242 typedef struct H264RawSEIPicTimestamp {
256  uint32_t time_offset;
258 
259 typedef struct H264RawSEIPicTiming {
266 
267 typedef struct H264RawSEIPanScanRect {
277 
282  size_t data_length;
285 
289  size_t data_length;
292 
293 typedef struct H264RawSEIRecoveryPoint {
299 
308 
310  uint16_t display_primaries_x[3];
311  uint16_t display_primaries_y[3];
312  uint16_t white_point_x;
313  uint16_t white_point_y;
317 
318 typedef struct H264RawSEIPayload {
319  uint32_t payload_type;
320  uint32_t payload_size;
321  union {
325  // H264RawSEIFiller filler -> no fields.
331  struct {
333  size_t data_length;
335  } other;
336  } payload;
338 
339 typedef struct H264RawSEI {
341 
344 } H264RawSEI;
345 
346 typedef struct H264RawSliceHeader {
348 
351 
353 
355 
356  uint16_t frame_num;
359 
360  uint16_t idr_pic_id;
361 
365 
368 
372 
375  struct {
380 
383 
390 
397 
400 
402  struct {
409 
411 
413 
416 
420 
423 
424 typedef struct H264RawSlice {
426 
428  size_t data_size;
431 } H264RawSlice;
432 
433 typedef struct H264RawFiller {
435 
436  uint32_t filler_size;
437 } H264RawFiller;
438 
439 
441  // Reader/writer context in common with the H.265 implementation.
443 
444  // All currently available parameter sets. These are updated when
445  // any parameter set NAL unit is read/written with this context.
450 
451  // The currently active parameter sets. These are updated when any
452  // NAL unit refers to the relevant parameter set. These pointers
453  // must also be present in the arrays above.
456 
457  // The NAL unit type of the most recent normal slice. This is required
458  // to be able to read/write auxiliary slices, because IdrPicFlag is
459  // otherwise unknown.
462 
463 
464 /**
465  * Add an SEI message to an access unit.
466  */
468  CodedBitstreamFragment *access_unit,
469  const H264RawSEIPayload *payload);
470 
471 /**
472  * Delete an SEI message from an access unit.
473  *
474  * Deletes from nal_unit, which must be an SEI NAL unit. If this is the
475  * last message in nal_unit, also deletes it from access_unit.
476  */
478  CodedBitstreamFragment *access_unit,
479  CodedBitstreamUnit *nal_unit,
480  int position);
481 
482 #endif /* AVCODEC_CBS_H264_H */
H264RawNALUnitHeader nal_unit_header
Definition: cbs_h264.h:182
uint8_t frame_cropping_flag
Definition: cbs_h264.h:157
uint8_t deblocking_filter_control_present_flag
Definition: cbs_h264.h:212
uint32_t payload_type
Definition: cbs_h264.h:319
struct H264RawSliceHeader::@53 mmco[H264_MAX_MMCO_COUNT]
uint8_t slice_group_change_direction_flag
Definition: cbs_h264.h:195
uint8_t cnt_dropped_flag
Definition: cbs_h264.h:248
int8_t chroma_weight_l0[H264_MAX_REFS][2]
Definition: cbs_h264.h:388
uint8_t bit_depth_chroma_minus8
Definition: cbs_h264.h:130
int8_t luma_offset_l0[H264_MAX_REFS]
Definition: cbs_h264.h:386
uint8_t aspect_ratio_idc
Definition: cbs_h264.h:70
uint8_t bit_depth_aux_minus8
Definition: cbs_h264.h:173
uint8_t num_ref_idx_l0_active_minus1
Definition: cbs_h264.h:370
uint8_t max_long_term_frame_idx_plus1
Definition: cbs_h264.h:407
uint8_t cabac_init_idc
Definition: cbs_h264.h:410
uint8_t video_format
Definition: cbs_h264.h:78
AVBufferRef * sps_ref[H264_MAX_SPS_COUNT]
Definition: cbs_h264.h:446
uint8_t * slice_group_id
Definition: cbs_h264.h:199
uint8_t bit_rate_scale
Definition: cbs_h264.h:55
uint32_t pan_scan_rect_id
Definition: cbs_h264.h:268
union H264RawSEIPayload::@50 payload
uint16_t recovery_frame_cnt
Definition: cbs_h264.h:294
uint8_t discontinuity_flag
Definition: cbs_h264.h:247
uint8_t dpb_output_delay_length_minus1
Definition: cbs_h264.h:64
struct H264RawSEIBufferingPeriod::@49 nal
uint8_t initial_cpb_removal_delay_length_minus1
Definition: cbs_h264.h:62
uint8_t chroma_sample_loc_type_bottom_field
Definition: cbs_h264.h:87
int32_t offset_for_top_to_bottom_field
Definition: cbs_h264.h:143
uint16_t bottom_right[H264_MAX_SLICE_GROUPS]
Definition: cbs_h264.h:194
uint8_t * data
Definition: cbs_h264.h:332
H264RawPPS * pps[H264_MAX_PPS_COUNT]
Definition: cbs_h264.h:449
uint8_t num_ref_idx_l1_active_minus1
Definition: cbs_h264.h:371
H264RawNALUnitHeader nal_unit_header
Definition: cbs_h264.h:340
uint8_t long_term_pic_num
Definition: cbs_h264.h:378
H264RawSEIRecoveryPoint recovery_point
Definition: cbs_h264.h:328
uint8_t log2_max_frame_num_minus4
Definition: cbs_h264.h:138
H264RawScalingList scaling_list_4x4[6]
Definition: cbs_h264.h:135
uint8_t num_ref_frames_in_pic_order_cnt_cycle
Definition: cbs_h264.h:144
uint8_t sp_for_switch_flag
Definition: cbs_h264.h:414
uint16_t pic_order_cnt_lsb
Definition: cbs_h264.h:362
int ff_cbs_h264_delete_sei_message(CodedBitstreamContext *ctx, CodedBitstreamFragment *access_unit, CodedBitstreamUnit *nal_unit, int position)
Delete an SEI message from an access unit.
Definition: cbs_h2645.c:1586
uint8_t time_offset_length
Definition: cbs_h264.h:65
uint8_t low_delay_hrd_flag
Definition: cbs_h264.h:98
struct H264RawSEIBufferingPeriod::@49 vcl
uint8_t max_dec_frame_buffering
Definition: cbs_h264.h:109
uint8_t fixed_frame_rate_flag
Definition: cbs_h264.h:92
H264RawVUI vui
Definition: cbs_h264.h:164
uint32_t first_mb_in_slice
Definition: cbs_h264.h:349
int8_t slice_alpha_c0_offset_div2
Definition: cbs_h264.h:418
uint8_t field_pic_flag
Definition: cbs_h264.h:357
uint8_t display_orientation_extension_flag
Definition: cbs_h264.h:306
uint8_t weighted_pred_flag
Definition: cbs_h264.h:205
uint8_t constraint_set4_flag
Definition: cbs_h264.h:120
H264RawHRD nal_hrd_parameters
Definition: cbs_h264.h:95
uint8_t itu_t_t35_country_code_extension_byte
Definition: cbs_h264.h:280
int8_t slice_qp_delta
Definition: cbs_h264.h:412
uint8_t reserved_zero_2bits
Definition: cbs_h264.h:122
uint8_t bottom_field_flag
Definition: cbs_h264.h:358
struct H264RawSEIPayload::@50::@51 other
uint8_t
uint8_t overscan_info_present_flag
Definition: cbs_h264.h:74
uint16_t frame_crop_top_offset
Definition: cbs_h264.h:160
uint16_t pic_width_in_mbs_minus1
Definition: cbs_h264.h:150
uint8_t colour_plane_id
Definition: cbs_h264.h:354
uint8_t long_term_frame_idx
Definition: cbs_h264.h:406
uint16_t display_orientation_repetition_period
Definition: cbs_h264.h:305
uint16_t pan_scan_rect_repetition_period
Definition: cbs_h264.h:275
H264RawNALUnitHeader nal_unit_header
Definition: cbs_h264.h:347
uint32_t num_units_in_tick
Definition: cbs_h264.h:90
uint8_t mb_adaptive_frame_field_flag
Definition: cbs_h264.h:154
uint8_t transform_8x8_mode_flag
Definition: cbs_h264.h:218
uint8_t constrained_intra_pred_flag
Definition: cbs_h264.h:213
uint32_t cpb_size_value_minus1[H264_MAX_CPB_CNT]
Definition: cbs_h264.h:59
uint16_t frame_crop_left_offset
Definition: cbs_h264.h:158
uint16_t run_length_minus1[H264_MAX_SLICE_GROUPS]
Definition: cbs_h264.h:192
H264RawSPS * sps[H264_MAX_SPS_COUNT]
Definition: cbs_h264.h:448
uint8_t luma_log2_weight_denom
Definition: cbs_h264.h:381
Coded bitstream unit structure.
Definition: cbs.h:64
H264RawNALUnitHeader nal_unit_header
Definition: cbs_h264.h:229
uint16_t idr_pic_id
Definition: cbs_h264.h:360
uint8_t ref_pic_list_modification_flag_l0
Definition: cbs_h264.h:373
int8_t second_chroma_qp_index_offset
Definition: cbs_h264.h:225
uint8_t additional_extension_flag
Definition: cbs_h264.h:178
uint8_t aux_format_idc
Definition: cbs_h264.h:172
uint8_t cpb_size_scale
Definition: cbs_h264.h:56
uint8_t nal_hrd_parameters_present_flag
Definition: cbs_h264.h:94
uint8_t bit_depth_luma_minus8
Definition: cbs_h264.h:129
uint8_t primary_pic_type
Definition: cbs_h264.h:231
uint8_t slice_group_map_type
Definition: cbs_h264.h:191
uint8_t svc_extension_flag
Definition: cbs_h264.h:45
H.264 common definitions.
uint8_t pic_scaling_matrix_present_flag
Definition: cbs_h264.h:220
uint8_t chroma_sample_loc_type_top_field
Definition: cbs_h264.h:86
uint8_t modification_of_pic_nums_idc
Definition: cbs_h264.h:376
uint8_t aspect_ratio_info_present_flag
Definition: cbs_h264.h:69
uint8_t seq_scaling_list_present_flag[12]
Definition: cbs_h264.h:134
uint8_t luma_weight_l1_flag[H264_MAX_REFS]
Definition: cbs_h264.h:391
uint8_t max_bits_per_mb_denom
Definition: cbs_h264.h:105
uint8_t max_num_ref_frames
Definition: cbs_h264.h:147
uint8_t weighted_bipred_idc
Definition: cbs_h264.h:206
uint8_t transfer_characteristics
Definition: cbs_h264.h:82
uint8_t chroma_weight_l1_flag[H264_MAX_REFS]
Definition: cbs_h264.h:394
uint16_t sar_width
Definition: cbs_h264.h:71
uint32_t initial_cpb_removal_delay_offset[H264_MAX_CPB_CNT]
Definition: cbs_h264.h:238
uint8_t slice_type
Definition: cbs_h264.h:350
int32_t offset_for_non_ref_pic
Definition: cbs_h264.h:142
uint8_t num_ref_idx_l1_default_active_minus1
Definition: cbs_h264.h:203
uint16_t top_left[H264_MAX_SLICE_GROUPS]
Definition: cbs_h264.h:193
uint8_t frame_mbs_only_flag
Definition: cbs_h264.h:153
uint8_t clock_timestamp_flag[3]
Definition: cbs_h264.h:263
int8_t slice_qs_delta
Definition: cbs_h264.h:415
uint8_t ref_pic_list_modification_flag_l1
Definition: cbs_h264.h:374
uint8_t num_ref_idx_active_override_flag
Definition: cbs_h264.h:369
uint8_t seq_parameter_set_id
Definition: cbs_h264.h:125
int8_t chroma_weight_l1[H264_MAX_REFS][2]
Definition: cbs_h264.h:395
uint8_t seq_scaling_matrix_present_flag
Definition: cbs_h264.h:133
int32_t delta_pic_order_cnt[2]
Definition: cbs_h264.h:364
H264RawSEIPicTiming pic_timing
Definition: cbs_h264.h:323
uint8_t timing_info_present_flag
Definition: cbs_h264.h:89
uint8_t more_rbsp_data
Definition: cbs_h264.h:215
uint8_t full_timestamp_flag
Definition: cbs_h264.h:246
uint8_t constraint_set2_flag
Definition: cbs_h264.h:118
uint8_t video_full_range_flag
Definition: cbs_h264.h:79
uint8_t seq_parameter_set_id
Definition: cbs_h264.h:185
H264RawSEIUserDataUnregistered user_data_unregistered
Definition: cbs_h264.h:327
H264RawSEIPicTimestamp timestamp[3]
Definition: cbs_h264.h:264
uint8_t pic_struct
Definition: cbs_h264.h:262
uint8_t adaptive_ref_pic_marking_mode_flag
Definition: cbs_h264.h:401
uint8_t colour_primaries
Definition: cbs_h264.h:81
uint8_t chroma_log2_weight_denom
Definition: cbs_h264.h:382
uint16_t sar_height
Definition: cbs_h264.h:72
uint16_t frame_crop_bottom_offset
Definition: cbs_h264.h:161
uint8_t separate_colour_plane_flag
Definition: cbs_h264.h:128
uint8_t vui_parameters_present_flag
Definition: cbs_h264.h:163
uint8_t gaps_in_frame_num_allowed_flag
Definition: cbs_h264.h:148
uint8_t last_slice_nal_unit_type
Definition: cbs_h264.h:460
uint32_t cpb_removal_delay
Definition: cbs_h264.h:260
int32_t
AVFormatContext * ctx
Definition: movenc.c:48
uint8_t colour_description_present_flag
Definition: cbs_h264.h:80
int8_t slice_beta_offset_div2
Definition: cbs_h264.h:419
uint8_t seq_parameter_set_id
Definition: cbs_h264.h:170
uint32_t dpb_output_delay
Definition: cbs_h264.h:261
uint8_t video_signal_type_present_flag
Definition: cbs_h264.h:77
int8_t chroma_offset_l1[H264_MAX_REFS][2]
Definition: cbs_h264.h:396
uint8_t overscan_appropriate_flag
Definition: cbs_h264.h:75
int8_t chroma_qp_index_offset
Definition: cbs_h264.h:210
uint8_t qpprime_y_zero_transform_bypass_flag
Definition: cbs_h264.h:131
int8_t luma_weight_l0[H264_MAX_REFS]
Definition: cbs_h264.h:385
uint8_t constraint_set5_flag
Definition: cbs_h264.h:121
size_t data_size
Definition: cbs_h264.h:428
uint8_t pic_parameter_set_id
Definition: cbs_h264.h:352
uint8_t chroma_format_idc
Definition: cbs_h264.h:127
uint8_t disable_deblocking_filter_idc
Definition: cbs_h264.h:417
uint8_t profile_idc
Definition: cbs_h264.h:115
int32_t abs_diff_pic_num_minus1
Definition: cbs_h264.h:377
AVBufferRef * pps_ref[H264_MAX_PPS_COUNT]
Definition: cbs_h264.h:447
int32_t pan_scan_rect_bottom_offset[3]
Definition: cbs_h264.h:274
H264RawSEIUserDataRegistered user_data_registered
Definition: cbs_h264.h:326
uint32_t bit_rate_value_minus1[H264_MAX_CPB_CNT]
Definition: cbs_h264.h:58
uint8_t cpb_cnt_minus1
Definition: cbs_h264.h:54
H264RawNALUnitHeader nal_unit_header
Definition: cbs_h264.h:113
uint8_t nuit_field_based_flag
Definition: cbs_h264.h:244
uint8_t chroma_loc_info_present_flag
Definition: cbs_h264.h:85
uint8_t cbr_flag[H264_MAX_CPB_CNT]
Definition: cbs_h264.h:60
uint8_t num_slice_groups_minus1
Definition: cbs_h264.h:190
H264RawNALUnitHeader nal_unit_header
Definition: cbs_h264.h:434
uint8_t bottom_field_pic_order_in_frame_present_flag
Definition: cbs_h264.h:188
int8_t luma_weight_l1[H264_MAX_REFS]
Definition: cbs_h264.h:392
uint8_t entropy_coding_mode_flag
Definition: cbs_h264.h:187
Coded bitstream fragment structure, combining one or more units.
Definition: cbs.h:116
uint8_t changing_slice_group_idc
Definition: cbs_h264.h:297
int32_t pan_scan_rect_right_offset[3]
Definition: cbs_h264.h:272
uint8_t redundant_pic_cnt
Definition: cbs_h264.h:366
uint8_t avc_3d_extension_flag
Definition: cbs_h264.h:46
uint16_t slice_group_change_cycle
Definition: cbs_h264.h:421
AVBufferRef * slice_group_id_ref
Definition: cbs_h264.h:200
H264RawScalingList scaling_list_8x8[6]
Definition: cbs_h264.h:136
uint16_t pic_size_in_map_units_minus1
Definition: cbs_h264.h:197
uint8_t pic_order_cnt_type
Definition: cbs_h264.h:139
Context structure for coded bitstream operations.
Definition: cbs.h:159
uint8_t matrix_coefficients
Definition: cbs_h264.h:83
uint8_t num_ref_idx_l0_default_active_minus1
Definition: cbs_h264.h:202
uint8_t constraint_set0_flag
Definition: cbs_h264.h:116
uint8_t alpha_incr_flag
Definition: cbs_h264.h:174
uint16_t frame_num
Definition: cbs_h264.h:356
uint8_t log2_max_mv_length_horizontal
Definition: cbs_h264.h:106
uint8_t direct_spatial_mv_pred_flag
Definition: cbs_h264.h:367
uint8_t luma_weight_l0_flag[H264_MAX_REFS]
Definition: cbs_h264.h:384
int8_t luma_offset_l1[H264_MAX_REFS]
Definition: cbs_h264.h:393
uint32_t filler_size
Definition: cbs_h264.h:436
H264RawSEIBufferingPeriod buffering_period
Definition: cbs_h264.h:322
H264RawSEIPayload payload[H264_MAX_SEI_PAYLOADS]
Definition: cbs_h264.h:342
int8_t chroma_offset_l0[H264_MAX_REFS][2]
Definition: cbs_h264.h:389
uint8_t direct_8x8_inference_flag
Definition: cbs_h264.h:155
AVBufferRef * data_ref
Definition: cbs_h264.h:430
uint16_t alpha_transparent_value
Definition: cbs_h264.h:176
uint32_t initial_cpb_removal_delay[H264_MAX_CPB_CNT]
Definition: cbs_h264.h:237
A reference to a data buffer.
Definition: buffer.h:81
int32_t pan_scan_rect_left_offset[3]
Definition: cbs_h264.h:271
int ff_cbs_h264_add_sei_message(CodedBitstreamContext *ctx, CodedBitstreamFragment *access_unit, const H264RawSEIPayload *payload)
Add an SEI message to an access unit.
Definition: cbs_h2645.c:1524
size_t data_length
Definition: cbs_h264.h:333
uint8_t pan_scan_cnt_minus1
Definition: cbs_h264.h:270
uint8_t redundant_pic_cnt_present_flag
Definition: cbs_h264.h:217
int32_t offset_for_ref_frame[256]
Definition: cbs_h264.h:145
uint8_t memory_management_control_operation
Definition: cbs_h264.h:403
uint8_t pic_struct_present_flag
Definition: cbs_h264.h:100
int8_t delta_scale[64]
Definition: cbs_h264.h:50
uint8_t cpb_removal_delay_length_minus1
Definition: cbs_h264.h:63
H264RawSEIPanScanRect pan_scan_rect
Definition: cbs_h264.h:324
H264RawSEIDisplayOrientation display_orientation
Definition: cbs_h264.h:329
uint8_t motion_vectors_over_pic_boundaries_flag
Definition: cbs_h264.h:103
uint32_t time_scale
Definition: cbs_h264.h:91
uint8_t display_orientation_cancel_flag
Definition: cbs_h264.h:301
H264RawScalingList scaling_list_8x8[6]
Definition: cbs_h264.h:223
uint8_t level_idc
Definition: cbs_h264.h:123
uint8_t bitstream_restriction_flag
Definition: cbs_h264.h:102
uint16_t frame_crop_right_offset
Definition: cbs_h264.h:159
uint8_t pic_parameter_set_id
Definition: cbs_h264.h:184
uint8_t max_num_reorder_frames
Definition: cbs_h264.h:108
int data_bit_start
Definition: cbs_h264.h:429
H264RawScalingList scaling_list_4x4[6]
Definition: cbs_h264.h:222
struct H264RawSliceHeader::@52 rplm_l0[H264_MAX_RPLM_COUNT]
uint8_t log2_max_mv_length_vertical
Definition: cbs_h264.h:107
int32_t delta_pic_order_cnt_bottom
Definition: cbs_h264.h:363
H264RawSliceHeader header
Definition: cbs_h264.h:425
uint8_t long_term_reference_flag
Definition: cbs_h264.h:399
uint8_t log2_max_pic_order_cnt_lsb_minus4
Definition: cbs_h264.h:140
struct H264RawSliceHeader::@52 rplm_l1[H264_MAX_RPLM_COUNT]
H264RawNALUnitHeader nal_unit_header
Definition: cbs_h264.h:168
uint16_t alpha_opaque_value
Definition: cbs_h264.h:175
uint8_t delta_pic_order_always_zero_flag
Definition: cbs_h264.h:141
uint8_t forbidden_zero_bit
Definition: cbs_h264.h:41
int32_t pan_scan_rect_top_offset[3]
Definition: cbs_h264.h:273
int8_t pic_init_qp_minus26
Definition: cbs_h264.h:208
const H264RawPPS * active_pps
Definition: cbs_h264.h:455
CodedBitstreamH2645Context common
Definition: cbs_h264.h:442
uint8_t nal_ref_idc
Definition: cbs_h264.h:42
uint32_t payload_size
Definition: cbs_h264.h:320
int8_t pic_init_qs_minus26
Definition: cbs_h264.h:209
uint8_t chroma_weight_l0_flag[H264_MAX_REFS]
Definition: cbs_h264.h:387
uint8_t constraint_set1_flag
Definition: cbs_h264.h:117
uint16_t pic_height_in_map_units_minus1
Definition: cbs_h264.h:151
uint8_t pan_scan_rect_cancel_flag
Definition: cbs_h264.h:269
AVBufferRef * data_ref
Definition: cbs_h264.h:334
int32_t difference_of_pic_nums_minus1
Definition: cbs_h264.h:404
uint8_t nal_unit_type
Definition: cbs_h264.h:43
uint8_t pic_scaling_list_present_flag[12]
Definition: cbs_h264.h:221
H264RawSEIMasteringDisplayColourVolume mastering_display_colour_volume
Definition: cbs_h264.h:330
uint8_t * data
Definition: cbs_h264.h:427
uint8_t payload_count
Definition: cbs_h264.h:343
uint8_t vcl_hrd_parameters_present_flag
Definition: cbs_h264.h:96
uint8_t no_output_of_prior_pics_flag
Definition: cbs_h264.h:398
uint8_t max_bytes_per_pic_denom
Definition: cbs_h264.h:104
H264RawHRD vcl_hrd_parameters
Definition: cbs_h264.h:97
const H264RawSPS * active_sps
Definition: cbs_h264.h:454
uint16_t slice_group_change_rate_minus1
Definition: cbs_h264.h:196
uint8_t constraint_set3_flag
Definition: cbs_h264.h:119