FFmpeg
ps.h
Go to the documentation of this file.
1 /*
2  * HEVC parameter set parsing
3  *
4  * This file is part of FFmpeg.
5  *
6  * FFmpeg is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * FFmpeg is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with FFmpeg; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #ifndef AVCODEC_HEVC_PS_H
22 #define AVCODEC_HEVC_PS_H
23 
24 #include <stdint.h>
25 
26 #include "libavutil/pixfmt.h"
27 #include "libavutil/rational.h"
28 
29 #include "libavcodec/avcodec.h"
30 #include "libavcodec/get_bits.h"
31 #include "libavcodec/h2645_vui.h"
32 
33 #include "hevc.h"
34 
35 #define HEVC_VPS_MAX_LAYERS 2
36 
37 typedef struct HEVCSublayerHdrParams {
42  uint32_t cbr_flag;
44 
45 // flags in bitmask form
46 typedef struct HEVCHdrFlagParams {
51 
52 typedef struct HEVCHdrParams {
58 
62  uint8_t bit_rate_scale;
63  uint8_t cpb_size_scale;
70 
74 
75 typedef struct ShortTermRPS {
77  uint32_t used;
78 
79  uint8_t delta_idx;
81  uint8_t num_delta_pocs;
83 
84  uint16_t abs_delta_rps;
85  unsigned delta_rps_sign:1;
86 
87  unsigned rps_predict:1;
88  unsigned use_delta:1;
89 } ShortTermRPS;
90 
91 typedef struct HEVCWindow {
92  unsigned int left_offset;
93  unsigned int right_offset;
94  unsigned int top_offset;
95  unsigned int bottom_offset;
96 } HEVCWindow;
97 
98 typedef struct VUI {
100 
102 
105 
108 
111  uint32_t vui_time_scale;
115 
125 } VUI;
126 
127 typedef struct PTLCommon {
128  uint8_t profile_space;
129  uint8_t tier_flag;
130  uint8_t profile_idc;
146  uint8_t inbld_flag;
147  uint8_t level_idc;
148 } PTLCommon;
149 
150 typedef struct PTL {
153 
156 } PTL;
157 
158 typedef struct RepFormat {
163  uint8_t bit_depth_luma; ///< bit_depth_vps_luma_minus8 + 8
164  uint8_t bit_depth_chroma; ///< bit_depth_vps_chroma_minus8 + 8
169 } RepFormat;
170 
171 typedef struct HEVCVPS {
172  unsigned int vps_id;
173 
176  int vps_max_sub_layers; ///< vps_max_temporal_layers_minus1 + 1
177 
184  int vps_num_layer_sets; ///< vps_num_layer_sets_minus1 + 1
187  uint32_t vps_time_scale;
189  int vps_num_ticks_poc_diff_one; ///< vps_num_ticks_poc_diff_one_minus1 + 1
191 
193 
194  /* VPS extension */
195 
196  /* Number of layers this VPS was parsed for, between 1 and
197  * min(HEVC_VPS_MAX_LAYERS, vps_max_layers).
198  *
199  * Note that vps_max_layers contains the layer count declared in the
200  * bitstream, while nb_layers contains the number of layers exported to
201  * users of this API (which may be smaller as we only support a subset of
202  * multilayer extensions).
203  *
204  * Arrays below documented as [layer_idx] have nb_layers valid entries.
205  */
207 
208  // LayerIdxInVps[nuh_layer_id], i.e. a mapping of nuh_layer_id to VPS layer
209  // indices. Valid values are between 0 and HEVC_VPS_MAX_LAYERS. Entries for
210  // unmapped values of nuh_layer_id are set to -1.
212 
214 
218  // bitmask of poc_lsb_not_present[layer_idx]
220 
221  struct {
222  unsigned max_dec_pic_buffering; // max_vps_dec_pic_buffering_minus1 + 1
223  unsigned max_num_reorder_pics; // max_vps_num_reorder_pics
224  unsigned max_latency_increase; // max_vps_latency_increase_plus1 - 1
225  } dpb_size;
226 
227  // ViewId[layer_idx]
229 
230  // NumOutputLayerSets
232  // Bitmasks specifying output layer sets. i-th bit set means layer with VPS
233  // index i is present in the layer set.
235 
236  // NumDirectRefLayers[layer_idx]
238 
240 
241  uint8_t *data;
243 } HEVCVPS;
244 
245 typedef struct ScalingList {
246  /* This is a little wasteful, since sizeID 0 only needs 8 coeffs,
247  * and size ID 3 only has 2 arrays, not 6. */
248  uint8_t sl[4][6][64];
249  uint8_t sl_dc[2][6];
250 } ScalingList;
251 
252 typedef struct HEVCSPS {
253  unsigned vps_id;
255 
257 
259 
261 
266 
267  unsigned int log2_max_poc_lsb;
268 
270  struct {
275 
279 
281 
282  unsigned int nb_st_rps;
284 
288 
289  struct {
290  uint8_t bit_depth;
292  unsigned int log2_min_pcm_cb_size;
293  unsigned int log2_max_pcm_cb_size;
294  } pcm;
295 
296  unsigned int log2_min_cb_size;
298  unsigned int log2_min_tb_size;
299  unsigned int log2_max_trafo_size;
300  unsigned int log2_ctb_size;
301  unsigned int log2_min_pu_size;
303 
306 
309  uint8_t pcm_enabled;
315  uint8_t amp_enabled;
316  uint8_t sao_enabled;
330 
333 
334  uint8_t scc_extension;
339 
345 
346  ///< coded frame dimension in various units
347  int width;
348  int height;
351  int ctb_size;
358  int tb_mask;
359 
360  int hshift[3];
361  int vshift[3];
362 
364 
365  uint8_t *data;
367 
368  const HEVCVPS *vps; ///< RefStruct reference
369 } HEVCSPS;
370 
371 typedef struct HEVCPPS {
372  unsigned int pps_id;
373  unsigned int sps_id; ///< seq_parameter_set_id
374 
376 
378 
379  int num_ref_idx_l0_default_active; ///< num_ref_idx_l0_default_active_minus1 + 1
380  int num_ref_idx_l1_default_active; ///< num_ref_idx_l1_default_active_minus1 + 1
382 
385 
388 
396 
400 
401  uint16_t num_tile_columns; ///< num_tile_columns_minus1 + 1
402  uint16_t num_tile_rows; ///< num_tile_rows_minus1 + 1
405 
407 
410  uint8_t disable_dbf;
411  int beta_offset; ///< beta_offset_div2 * 2
412  int tc_offset; ///< tc_offset_div2 * 2
413 
416 
418  int log2_parallel_merge_level; ///< log2_parallel_merge_level_minus2 + 2
431  int8_t cb_qp_offset_list[6];
432  int8_t cr_qp_offset_list[6];
435 
436  // Multilayer extension parameters
453  uint8_t phase_hor_luma[64];
454  uint8_t phase_ver_luma[64];
455  int8_t phase_hor_chroma[64];
456  int8_t phase_ver_chroma[64];
459  uint8_t cm_ref_layer_id[62];
470 
471  // 3D extension parameters
473 
474  // SCC extension parameters
478  int8_t pps_act_y_qp_offset; // _plus5
479  int8_t pps_act_cb_qp_offset; // _plus5
480  int8_t pps_act_cr_qp_offset; // _plus3
487 
488  // Inferred parameters
489  unsigned int *column_width; ///< ColumnWidth
490  unsigned int *row_height; ///< RowHeight
491  unsigned int *col_bd; ///< ColBd
492  unsigned int *row_bd; ///< RowBd
493  int *col_idxX;
494 
495  int *ctb_addr_rs_to_ts; ///< CtbAddrRSToTS
496  int *ctb_addr_ts_to_rs; ///< CtbAddrTSToRS
497  int *tile_id; ///< TileId
498  int *tile_pos_rs; ///< TilePosRS
499  int *min_tb_addr_zs; ///< MinTbAddrZS
500  int *min_tb_addr_zs_tab;///< MinTbAddrZS
501 
502  uint8_t *data;
504 
505  const HEVCSPS *sps; ///< RefStruct reference
506 } HEVCPPS;
507 
508 typedef struct HEVCParamSets {
509  const HEVCVPS *vps_list[HEVC_MAX_VPS_COUNT]; ///< RefStruct references
510  const HEVCSPS *sps_list[HEVC_MAX_SPS_COUNT]; ///< RefStruct references
511  const HEVCPPS *pps_list[HEVC_MAX_PPS_COUNT]; ///< RefStruct references
512 } HEVCParamSets;
513 
514 /**
515  * Parse the SPS from the bitstream into the provided HEVCSPS struct.
516  *
517  * @param sps_id the SPS id will be written here
518  * @param apply_defdispwin if set 1, the default display window from the VUI
519  * will be applied to the video dimensions
520  * @param vps_list if non-NULL, this function will validate that the SPS refers
521  * to an existing VPS
522  */
523 int ff_hevc_parse_sps(HEVCSPS *sps, GetBitContext *gb, unsigned int *sps_id,
524  unsigned nuh_layer_id, int apply_defdispwin,
525  const HEVCVPS * const *vps_list, AVCodecContext *avctx);
526 
528  HEVCParamSets *ps);
530  HEVCParamSets *ps, unsigned nuh_layer_id,
531  int apply_defdispwin);
533  HEVCParamSets *ps);
534 
536 
538  ShortTermRPS *rps, const HEVCSPS *sps, int is_slice_header);
539 
540 int ff_hevc_encode_nal_vps(HEVCVPS *vps, unsigned int id,
541  uint8_t *buf, int buf_size);
542 
543 /**
544  * Compute POC of the current frame and return it.
545  */
546 int ff_hevc_compute_poc(const HEVCSPS *sps, int pocTid0, int poc_lsb, int nal_unit_type);
547 
548 #endif /* AVCODEC_HEVC_PS_H */
HEVCVPS::vps_poc_proportional_to_timing_flag
uint8_t vps_poc_proportional_to_timing_flag
Definition: ps.h:188
HEVCSPS::vui
VUI vui
Definition: ps.h:277
HEVCPPS::cm_res_quant_bits
uint8_t cm_res_quant_bits
Definition: ps.h:466
ff_hevc_decode_nal_vps
int ff_hevc_decode_nal_vps(GetBitContext *gb, AVCodecContext *avctx, HEVCParamSets *ps)
Definition: ps.c:716
HEVCPPS::tiles_enabled_flag
uint8_t tiles_enabled_flag
Definition: ps.h:398
HEVCSPS::log2_min_cb_size
unsigned int log2_min_cb_size
Definition: ps.h:296
HEVCPPS::pps_infer_scaling_list_flag
uint8_t pps_infer_scaling_list_flag
Definition: ps.h:438
HEVCVPS::layer_idx
int8_t layer_idx[HEVC_MAX_NUH_LAYER_ID+1]
Definition: ps.h:211
AVPixelFormat
AVPixelFormat
Pixel format.
Definition: pixfmt.h:71
HEVCSPS::data_size
int data_size
Definition: ps.h:366
HEVCPPS::data_size
int data_size
Definition: ps.h:503
HEVCSPS::transform_skip_context_enabled
uint8_t transform_skip_context_enabled
Definition: ps.h:322
HEVCPPS::pps_range_extensions_flag
uint8_t pps_range_extensions_flag
Definition: ps.h:423
VUI::vui_time_scale
uint32_t vui_time_scale
Definition: ps.h:111
PTLCommon::max_10bit_constraint_flag
uint8_t max_10bit_constraint_flag
Definition: ps.h:137
RepFormat::conf_win_bottom_offset
uint16_t conf_win_bottom_offset
Definition: ps.h:168
HEVC_MAX_NUH_LAYER_ID
@ HEVC_MAX_NUH_LAYER_ID
Definition: hevc.h:110
HEVCSPS::pcm_enabled
uint8_t pcm_enabled
Definition: ps.h:309
HEVCSPS::lt_ref_pic_poc_lsb_sps
uint16_t lt_ref_pic_poc_lsb_sps[HEVC_MAX_LONG_TERM_REF_PICS]
Definition: ps.h:285
HEVC_MAX_SHORT_TERM_REF_PIC_SETS
@ HEVC_MAX_SHORT_TERM_REF_PIC_SETS
Definition: hevc.h:125
RepFormat::separate_colour_plane_flag
uint8_t separate_colour_plane_flag
Definition: ps.h:162
HEVCSPS::st_rps
ShortTermRPS st_rps[HEVC_MAX_SHORT_TERM_REF_PIC_SETS]
Definition: ps.h:283
HEVCVPS::poc_lsb_not_present
uint8_t poc_lsb_not_present
Definition: ps.h:219
HEVCWindow::bottom_offset
unsigned int bottom_offset
Definition: ps.h:95
HEVCPPS::column_width
unsigned int * column_width
ColumnWidth.
Definition: ps.h:489
HEVCPPS::monochrome_palette_flag
uint8_t monochrome_palette_flag
Definition: ps.h:483
HEVCParamSets::pps_list
const HEVCPPS * pps_list[HEVC_MAX_PPS_COUNT]
RefStruct references.
Definition: ps.h:511
ShortTermRPS::num_negative_pics
uint8_t num_negative_pics
Definition: ps.h:80
HEVC_VPS_MAX_LAYERS
#define HEVC_VPS_MAX_LAYERS
Definition: ps.h:35
ShortTermRPS::rps_idx_num_delta_pocs
uint8_t rps_idx_num_delta_pocs
Definition: ps.h:82
HEVCSPS::temporal_id_nesting
uint8_t temporal_id_nesting
Definition: ps.h:312
PTL::sub_layer_ptl
PTLCommon sub_layer_ptl[HEVC_MAX_SUB_LAYERS]
Definition: ps.h:152
HEVCSPS::bit_depth
int bit_depth
Definition: ps.h:262
HEVCVPS::view_id
uint16_t view_id[HEVC_VPS_MAX_LAYERS]
Definition: ps.h:228
rational.h
HEVCSublayerHdrParams::cbr_flag
uint32_t cbr_flag
Definition: ps.h:42
PTLCommon::intra_constraint_flag
uint8_t intra_constraint_flag
Definition: ps.h:142
HEVCPPS::slice_header_extension_present_flag
uint8_t slice_header_extension_present_flag
Definition: ps.h:420
HEVCPPS::output_flag_present_flag
uint8_t output_flag_present_flag
Definition: ps.h:394
HEVCVPS::vps_num_units_in_tick
uint32_t vps_num_units_in_tick
Definition: ps.h:186
HEVCSPS::log2_max_pcm_cb_size
unsigned int log2_max_pcm_cb_size
Definition: ps.h:293
HEVCPPS::lists_modification_present_flag
uint8_t lists_modification_present_flag
Definition: ps.h:417
HEVCPPS::cu_qp_delta_enabled_flag
uint8_t cu_qp_delta_enabled_flag
Definition: ps.h:386
HEVCHdrParams::dpb_output_delay_du_length_minus1
uint8_t dpb_output_delay_du_length_minus1
Definition: ps.h:61
HEVCHdrFlagParams::low_delay_hrd_flag
uint8_t low_delay_hrd_flag
Definition: ps.h:49
HEVCPPS::ref_region_top_offset
int16_t ref_region_top_offset[64]
Definition: ps.h:449
VUI::tiles_fixed_structure_flag
int tiles_fixed_structure_flag
Definition: ps.h:117
HEVC_MAX_CPB_CNT
@ HEVC_MAX_CPB_CNT
Definition: hevc.h:134
VUI::vui_num_ticks_poc_diff_one_minus1
int vui_num_ticks_poc_diff_one_minus1
Definition: ps.h:113
ScalingList::sl
uint8_t sl[4][6][64]
Definition: ps.h:248
HEVCSPS::max_latency_increase
int max_latency_increase
Definition: ps.h:273
VUI::field_seq_flag
int field_seq_flag
Definition: ps.h:103
HEVCVPS::max_dec_pic_buffering
unsigned max_dec_pic_buffering
Definition: ps.h:222
PTLCommon::profile_space
uint8_t profile_space
Definition: ps.h:128
VUI::bitstream_restriction_flag
int bitstream_restriction_flag
Definition: ps.h:116
HEVCSPS::max_dec_pic_buffering
int max_dec_pic_buffering
Definition: ps.h:271
HEVCSPS::palette_max_size
int palette_max_size
Definition: ps.h:340
HEVCPPS::deblocking_filter_control_present_flag
uint8_t deblocking_filter_control_present_flag
Definition: ps.h:408
HEVCPPS::num_tile_columns
uint16_t num_tile_columns
num_tile_columns_minus1 + 1
Definition: ps.h:401
HEVCHdrParams::elemental_duration_in_tc_minus1
uint16_t elemental_duration_in_tc_minus1[HEVC_MAX_SUB_LAYERS]
Definition: ps.h:69
HEVCSPS::min_tb_height
int min_tb_height
Definition: ps.h:355
HEVCSPS::min_cb_width
int min_cb_width
Definition: ps.h:352
HEVCHdrParams
Definition: ps.h:52
HEVCSPS::min_pu_width
int min_pu_width
Definition: ps.h:356
HEVCSPS::output_window
HEVCWindow output_window
Definition: ps.h:256
HEVCVPS::max_latency_increase
unsigned max_latency_increase
Definition: ps.h:224
HEVCPPS::phase_hor_chroma
int8_t phase_hor_chroma[64]
Definition: ps.h:455
HEVCHdrParams::vcl_hrd_parameters_present_flag
uint8_t vcl_hrd_parameters_present_flag
Definition: ps.h:55
HEVCSPS::vui_present
int vui_present
Definition: ps.h:276
HEVCSublayerHdrParams::bit_rate_value_minus1
uint32_t bit_rate_value_minus1[HEVC_MAX_CPB_CNT]
Definition: ps.h:38
PTLCommon::profile_compatibility_flag
uint8_t profile_compatibility_flag[32]
Definition: ps.h:131
HEVCPPS::min_tb_addr_zs_tab
int * min_tb_addr_zs_tab
MinTbAddrZS.
Definition: ps.h:500
PTLCommon::progressive_source_flag
uint8_t progressive_source_flag
Definition: ps.h:132
HEVCSPS::log2_diff_max_min_coding_block_size
unsigned int log2_diff_max_min_coding_block_size
Definition: ps.h:297
HEVCSPS::intra_boundary_filtering_disabled
uint8_t intra_boundary_filtering_disabled
Definition: ps.h:338
ff_hevc_decode_short_term_rps
int ff_hevc_decode_short_term_rps(GetBitContext *gb, AVCodecContext *avctx, ShortTermRPS *rps, const HEVCSPS *sps, int is_slice_header)
Definition: ps.c:89
HEVCVPS::vps_time_scale
uint32_t vps_time_scale
Definition: ps.h:187
PTLCommon::interlaced_source_flag
uint8_t interlaced_source_flag
Definition: ps.h:133
PTLCommon::max_8bit_constraint_flag
uint8_t max_8bit_constraint_flag
Definition: ps.h:138
HEVCVPS::max_num_reorder_pics
unsigned max_num_reorder_pics
Definition: ps.h:223
PTLCommon::one_picture_only_constraint_flag
uint8_t one_picture_only_constraint_flag
Definition: ps.h:143
HEVC_MAX_SUB_LAYERS
@ HEVC_MAX_SUB_LAYERS
Definition: hevc.h:105
ff_hevc_decode_nal_pps
int ff_hevc_decode_nal_pps(GetBitContext *gb, AVCodecContext *avctx, HEVCParamSets *ps)
Definition: ps.c:2112
HEVCSPS::pcm_loop_filter_disabled
uint8_t pcm_loop_filter_disabled
Definition: ps.h:310
HEVCSPS::max_transform_hierarchy_depth_intra
int max_transform_hierarchy_depth_intra
Definition: ps.h:305
HEVCSPS::pic_conf_win
HEVCWindow pic_conf_win
Definition: ps.h:258
HEVCVPS::default_ref_layers_active
uint8_t default_ref_layers_active
Definition: ps.h:215
HEVCWindow::left_offset
unsigned int left_offset
Definition: ps.h:92
ShortTermRPS::use_delta
unsigned use_delta
Definition: ps.h:88
GetBitContext
Definition: get_bits.h:108
RepFormat::pic_width_in_luma_samples
uint16_t pic_width_in_luma_samples
Definition: ps.h:159
HEVCPPS::cm_ref_layer_id
uint8_t cm_ref_layer_id[62]
Definition: ps.h:459
HEVC_MAX_PALETTE_PREDICTOR_SIZE
@ HEVC_MAX_PALETTE_PREDICTOR_SIZE
Definition: hevc.h:162
HEVCPPS::weighted_pred_flag
uint8_t weighted_pred_flag
Definition: ps.h:392
HEVCHdrParams::sub_pic_hrd_params_present_flag
uint8_t sub_pic_hrd_params_present_flag
Definition: ps.h:56
HEVCSublayerHdrParams::bit_rate_du_value_minus1
uint32_t bit_rate_du_value_minus1[HEVC_MAX_CPB_CNT]
Definition: ps.h:41
HEVCSPS::scc_extension
uint8_t scc_extension
Definition: ps.h:334
HEVCSPS::log2_min_pcm_cb_size
unsigned int log2_min_pcm_cb_size
Definition: ps.h:292
ff_hevc_compute_poc
int ff_hevc_compute_poc(const HEVCSPS *sps, int pocTid0, int poc_lsb, int nal_unit_type)
Compute POC of the current frame and return it.
Definition: ps.c:2396
HEVCPPS::luma_bit_depth_cm_output
uint8_t luma_bit_depth_cm_output
Definition: ps.h:464
HEVCSublayerHdrParams::cpb_size_du_value_minus1
uint32_t cpb_size_du_value_minus1[HEVC_MAX_CPB_CNT]
Definition: ps.h:40
HEVCSPS::log2_max_poc_lsb
unsigned int log2_max_poc_lsb
Definition: ps.h:267
HEVCParamSets::sps_list
const HEVCSPS * sps_list[HEVC_MAX_SPS_COUNT]
RefStruct references.
Definition: ps.h:510
HEVCSPS::conformance_window
uint8_t conformance_window
Definition: ps.h:308
HEVCPPS::cb_qp_offset
int cb_qp_offset
Definition: ps.h:389
HEVCSPS::data
uint8_t * data
Definition: ps.h:365
HEVCPPS::loop_filter_across_tiles_enabled_flag
uint8_t loop_filter_across_tiles_enabled_flag
Definition: ps.h:404
VUI::restricted_ref_pic_lists_flag
int restricted_ref_pic_lists_flag
Definition: ps.h:119
PTLCommon::frame_only_constraint_flag
uint8_t frame_only_constraint_flag
Definition: ps.h:135
PTLCommon::max_monochrome_constraint_flag
uint8_t max_monochrome_constraint_flag
Definition: ps.h:141
HEVCPPS::row_bd
unsigned int * row_bd
RowBd.
Definition: ps.h:492
HEVCSPS::sublayer_ordering_info
uint8_t sublayer_ordering_info
Definition: ps.h:311
HEVCSPS::curr_pic_ref_enabled
uint8_t curr_pic_ref_enabled
Definition: ps.h:335
HEVCHdrFlagParams
Definition: ps.h:46
HEVCPPS::num_extra_slice_header_bits
int num_extra_slice_header_bits
Definition: ps.h:419
PTL::sub_layer_level_present_flag
uint8_t sub_layer_level_present_flag[HEVC_MAX_SUB_LAYERS]
Definition: ps.h:155
HEVCHdrParams::nal_hrd_parameters_present_flag
uint8_t nal_hrd_parameters_present_flag
Definition: ps.h:54
HEVCPPS::col_bd
unsigned int * col_bd
ColBd.
Definition: ps.h:491
HEVCPPS::cm_adapt_threshold_u_delta
int8_t cm_adapt_threshold_u_delta
Definition: ps.h:468
HEVCHdrParams::cpb_size_scale
uint8_t cpb_size_scale
Definition: ps.h:63
HEVCPPS::pps_extension_present_flag
uint8_t pps_extension_present_flag
Definition: ps.h:422
HEVC_MAX_SPS_COUNT
@ HEVC_MAX_SPS_COUNT
Definition: hevc.h:115
HEVCPPS::diff_cu_qp_delta_depth
int diff_cu_qp_delta_depth
Definition: ps.h:387
HEVCVPS::vps_max_latency_increase
unsigned int vps_max_latency_increase[HEVC_MAX_SUB_LAYERS]
Definition: ps.h:182
PTLCommon
Definition: ps.h:127
HEVCSPS::height
int height
Definition: ps.h:348
HEVCSPS::log2_diff_max_min_transform_block_size
unsigned int log2_diff_max_min_transform_block_size
Definition: ps.h:302
HEVCHdrParams::vcl_params
HEVCSublayerHdrParams vcl_params[HEVC_MAX_SUB_LAYERS]
Definition: ps.h:72
HEVCSPS::palette_mode_enabled
uint8_t palette_mode_enabled
Definition: ps.h:336
RepFormat
Definition: ps.h:158
HEVCPPS::cm_octant_depth
uint8_t cm_octant_depth
Definition: ps.h:460
HEVCPPS::pps_num_palette_predictor_initializers
uint8_t pps_num_palette_predictor_initializers
Definition: ps.h:482
HEVCVPS::ols
uint64_t ols[HEVC_VPS_MAX_LAYERS]
Definition: ps.h:234
HEVCSPS::separate_colour_plane
uint8_t separate_colour_plane
Definition: ps.h:307
HEVCPPS::pps_act_cb_qp_offset
int8_t pps_act_cb_qp_offset
Definition: ps.h:479
hevc.h
get_bits.h
VUI::motion_vectors_over_pic_boundaries_flag
int motion_vectors_over_pic_boundaries_flag
Definition: ps.h:118
PTLCommon::non_packed_constraint_flag
uint8_t non_packed_constraint_flag
Definition: ps.h:134
HEVCPPS::ctb_addr_ts_to_rs
int * ctb_addr_ts_to_rs
CtbAddrTSToRS.
Definition: ps.h:496
HEVCPPS::deblocking_filter_override_enabled_flag
uint8_t deblocking_filter_override_enabled_flag
Definition: ps.h:409
HEVCPPS::log2_sao_offset_scale_luma
uint8_t log2_sao_offset_scale_luma
Definition: ps.h:433
ff_hevc_parse_sps
int ff_hevc_parse_sps(HEVCSPS *sps, GetBitContext *gb, unsigned int *sps_id, unsigned nuh_layer_id, int apply_defdispwin, const HEVCVPS *const *vps_list, AVCodecContext *avctx)
Parse the SPS from the bitstream into the provided HEVCSPS struct.
Definition: ps.c:1154
HEVCWindow::top_offset
unsigned int top_offset
Definition: ps.h:94
HEVCPPS::data
uint8_t * data
Definition: ps.h:502
PTLCommon::profile_idc
uint8_t profile_idc
Definition: ps.h:130
HEVCSPS::cabac_bypass_alignment_enabled
uint8_t cabac_bypass_alignment_enabled
Definition: ps.h:329
HEVCPPS::scaled_ref_layer_offset_present_flag
uint8_t scaled_ref_layer_offset_present_flag[64]
Definition: ps.h:442
ScalingList
Definition: ps.h:245
HEVCSPS::high_precision_offsets_enabled
uint8_t high_precision_offsets_enabled
Definition: ps.h:327
HEVCHdrParams::tick_divisor_minus2
uint8_t tick_divisor_minus2
Definition: ps.h:59
ShortTermRPS::num_delta_pocs
uint8_t num_delta_pocs
Definition: ps.h:81
PTL::general_ptl
PTLCommon general_ptl
Definition: ps.h:151
PTLCommon::tier_flag
uint8_t tier_flag
Definition: ps.h:129
HEVCPPS::scaled_ref_layer_right_offset
int16_t scaled_ref_layer_right_offset[64]
Definition: ps.h:445
HEVCPPS::scaling_list
ScalingList scaling_list
Definition: ps.h:415
HEVCSPS::sps_3d_extension
uint8_t sps_3d_extension
Definition: ps.h:332
HEVCPPS::pps_scc_extension_flag
uint8_t pps_scc_extension_flag
Definition: ps.h:426
HEVCSPS::long_term_ref_pics_present
uint8_t long_term_ref_pics_present
Definition: ps.h:317
HEVCVPS::vps_num_hrd_parameters
int vps_num_hrd_parameters
Definition: ps.h:190
HEVCSPS::num_long_term_ref_pics_sps
uint8_t num_long_term_ref_pics_sps
Definition: ps.h:287
HEVCSPS::extension_present
uint8_t extension_present
Definition: ps.h:313
ScalingList::sl_dc
uint8_t sl_dc[2][6]
Definition: ps.h:249
VUI::frame_field_info_present_flag
int frame_field_info_present_flag
Definition: ps.h:104
HEVCPPS::constrained_intra_pred_flag
uint8_t constrained_intra_pred_flag
Definition: ps.h:383
HEVCSPS::hdr
HEVCHdrParams hdr
Definition: ps.h:260
HEVCPPS::cm_adapt_threshold_v_delta
int8_t cm_adapt_threshold_v_delta
Definition: ps.h:469
HEVCPPS::pps_scaling_list_ref_layer_id
uint8_t pps_scaling_list_ref_layer_id
Definition: ps.h:439
VUI::vui_timing_info_present_flag
int vui_timing_info_present_flag
Definition: ps.h:109
HEVCPPS::tile_id
int * tile_id
TileId.
Definition: ps.h:497
HEVCPPS::pps_3d_extension_flag
uint8_t pps_3d_extension_flag
Definition: ps.h:425
HEVCPPS::cb_qp_offset_list
int8_t cb_qp_offset_list[6]
Definition: ps.h:431
HEVCSublayerHdrParams
Definition: ps.h:37
HEVCPPS::pps_palette_predictor_initializers_present_flag
uint8_t pps_palette_predictor_initializers_present_flag
Definition: ps.h:481
HEVCSPS::transform_skip_rotation_enabled
uint8_t transform_skip_rotation_enabled
Definition: ps.h:321
HEVCHdrFlagParams::fixed_pic_rate_general_flag
uint8_t fixed_pic_rate_general_flag
Definition: ps.h:47
HEVCPPS::dependent_slice_segments_enabled_flag
uint8_t dependent_slice_segments_enabled_flag
Definition: ps.h:397
H2645VUI
Definition: h2645_vui.h:27
VUI::log2_max_mv_length_horizontal
int log2_max_mv_length_horizontal
Definition: ps.h:123
PTL
Definition: ps.h:150
HEVCVPS::layer_id_in_nuh
uint8_t layer_id_in_nuh[HEVC_VPS_MAX_LAYERS]
Definition: ps.h:213
HEVCVPS::vps_num_ticks_poc_diff_one
int vps_num_ticks_poc_diff_one
vps_num_ticks_poc_diff_one_minus1 + 1
Definition: ps.h:189
vps
static int FUNC() vps(CodedBitstreamContext *ctx, RWContext *rw, H265RawVPS *current)
Definition: cbs_h265_syntax_template.c:423
PTL::sub_layer_profile_present_flag
uint8_t sub_layer_profile_present_flag[HEVC_MAX_SUB_LAYERS]
Definition: ps.h:154
VUI::max_bytes_per_pic_denom
int max_bytes_per_pic_denom
Definition: ps.h:121
HEVCSPS::bit_depth
uint8_t bit_depth
Definition: ps.h:290
HEVCSPS::scaling_list_enabled
uint8_t scaling_list_enabled
Definition: ps.h:314
RepFormat::bit_depth_chroma
uint8_t bit_depth_chroma
bit_depth_vps_chroma_minus8 + 8
Definition: ps.h:164
HEVCSublayerHdrParams::cpb_size_value_minus1
uint32_t cpb_size_value_minus1[HEVC_MAX_CPB_CNT]
Definition: ps.h:39
HEVCWindow
Definition: ps.h:91
ShortTermRPS::used
uint32_t used
Definition: ps.h:77
HEVCHdrParams::dpb_output_delay_length_minus1
uint8_t dpb_output_delay_length_minus1
Definition: ps.h:67
HEVCPPS::beta_offset
int beta_offset
beta_offset_div2 * 2
Definition: ps.h:411
HEVCPPS::cross_component_prediction_enabled_flag
uint8_t cross_component_prediction_enabled_flag
Definition: ps.h:427
HEVCPPS::num_cm_ref_layers
uint8_t num_cm_ref_layers
Definition: ps.h:458
HEVCPPS::pps_id
unsigned int pps_id
Definition: ps.h:372
HEVCSPS::temporal_mvp_enabled
uint8_t temporal_mvp_enabled
Definition: ps.h:318
HEVCSPS::extended_precision_processing
uint8_t extended_precision_processing
Definition: ps.h:325
HEVCPPS::chroma_bit_depth_cm_output
uint8_t chroma_bit_depth_cm_output
Definition: ps.h:465
HEVCSPS::pcm
struct HEVCSPS::@135 pcm
HEVCSPS::vps
const HEVCVPS * vps
RefStruct reference.
Definition: ps.h:368
HEVCPPS::scaled_ref_layer_left_offset
int16_t scaled_ref_layer_left_offset[64]
Definition: ps.h:443
HEVCPPS::colour_mapping_enabled_flag
uint8_t colour_mapping_enabled_flag
Definition: ps.h:457
HEVCPPS::entropy_coding_sync_enabled_flag
uint8_t entropy_coding_sync_enabled_flag
Definition: ps.h:399
RepFormat::conf_win_left_offset
uint16_t conf_win_left_offset
Definition: ps.h:165
RepFormat::pic_height_in_luma_samples
uint16_t pic_height_in_luma_samples
Definition: ps.h:160
HEVCSPS::chroma_format_idc
int chroma_format_idc
Definition: ps.h:254
HEVCPPS::row_height
unsigned int * row_height
RowHeight.
Definition: ps.h:490
HEVCSPS::log2_max_trafo_size
unsigned int log2_max_trafo_size
Definition: ps.h:299
HEVCPPS::scaled_ref_layer_bottom_offset
int16_t scaled_ref_layer_bottom_offset[64]
Definition: ps.h:446
HEVCPPS::ref_region_left_offset
int16_t ref_region_left_offset[64]
Definition: ps.h:448
HEVCPPS::chroma_bit_depth_entry
uint8_t chroma_bit_depth_entry
Definition: ps.h:485
VUI::common
H2645VUI common
Definition: ps.h:99
VUI::def_disp_win
HEVCWindow def_disp_win
Definition: ps.h:107
VUI::vui_poc_proportional_to_timing_flag
int vui_poc_proportional_to_timing_flag
Definition: ps.h:112
HEVCVPS::num_output_layer_sets
uint8_t num_output_layer_sets
Definition: ps.h:231
VUI
Definition: ps.h:98
HEVCSPS::tb_mask
int tb_mask
Definition: ps.h:358
HEVCVPS::nb_layers
int nb_layers
Definition: ps.h:206
VUI::vui_num_units_in_tick
uint32_t vui_num_units_in_tick
Definition: ps.h:110
HEVCSPS::max_transform_hierarchy_depth_inter
int max_transform_hierarchy_depth_inter
Definition: ps.h:304
HEVCSPS::explicit_rdpcm_enabled
uint8_t explicit_rdpcm_enabled
Definition: ps.h:324
HEVCSPS::sps_palette_predictor_initializer
int sps_palette_predictor_initializer[3][HEVC_MAX_PALETTE_PREDICTOR_SIZE]
Definition: ps.h:343
ff_hevc_ps_uninit
void ff_hevc_ps_uninit(HEVCParamSets *ps)
Definition: ps.c:2384
VUI::max_bits_per_min_cu_denom
int max_bits_per_min_cu_denom
Definition: ps.h:122
HEVCPPS::chroma_qp_offset_list_len_minus1
uint8_t chroma_qp_offset_list_len_minus1
Definition: ps.h:430
HEVCPPS::cr_qp_offset
int cr_qp_offset
Definition: ps.h:390
HEVCPPS::seq_loop_filter_across_slices_enabled_flag
uint8_t seq_loop_filter_across_slices_enabled_flag
Definition: ps.h:406
HEVCSPS::amp_enabled
uint8_t amp_enabled
Definition: ps.h:315
HEVCPPS::cabac_init_present_flag
uint8_t cabac_init_present_flag
Definition: ps.h:377
HEVCSPS::hshift
int hshift[3]
Definition: ps.h:360
VUI::log2_max_mv_length_vertical
int log2_max_mv_length_vertical
Definition: ps.h:124
HEVCSPS::delta_palette_max_predictor_size
int delta_palette_max_predictor_size
Definition: ps.h:341
HEVCVPS::num_direct_ref_layers
uint8_t num_direct_ref_layers[HEVC_VPS_MAX_LAYERS]
Definition: ps.h:237
HEVCVPS::vps_max_dec_pic_buffering
unsigned int vps_max_dec_pic_buffering[HEVC_MAX_SUB_LAYERS]
Definition: ps.h:180
HEVCSPS::max_sub_layers
int max_sub_layers
Definition: ps.h:269
HEVCSPS::log2_min_pu_size
unsigned int log2_min_pu_size
Definition: ps.h:301
HEVCPPS::tile_pos_rs
int * tile_pos_rs
TilePosRS.
Definition: ps.h:498
HEVCSPS::bit_depth_chroma
uint8_t bit_depth_chroma
Definition: ps.h:291
HEVCHdrParams::bit_rate_scale
uint8_t bit_rate_scale
Definition: ps.h:62
HEVCSPS::log2_ctb_size
unsigned int log2_ctb_size
Definition: ps.h:300
HEVCPPS::log2_parallel_merge_level
int log2_parallel_merge_level
log2_parallel_merge_level_minus2 + 2
Definition: ps.h:418
HEVCPPS::cm_y_part_num_log2
uint8_t cm_y_part_num_log2
Definition: ps.h:461
HEVCPPS::poc_reset_info_present_flag
uint8_t poc_reset_info_present_flag
Definition: ps.h:437
HEVCSPS::bit_depth_chroma
int bit_depth_chroma
Definition: ps.h:263
PTLCommon::max_422chroma_constraint_flag
uint8_t max_422chroma_constraint_flag
Definition: ps.h:139
VUI::default_display_window_flag
int default_display_window_flag
Definition: ps.h:106
ff_hevc_encode_nal_vps
int ff_hevc_encode_nal_vps(HEVCVPS *vps, unsigned int id, uint8_t *buf, int buf_size)
Definition: ps_enc.c:66
HEVCPPS::cm_delta_flc_bits
uint8_t cm_delta_flc_bits
Definition: ps.h:467
HEVCHdrParams::nal_params
HEVCSublayerHdrParams nal_params[HEVC_MAX_SUB_LAYERS]
Definition: ps.h:71
HEVCVPS::dpb_size
struct HEVCVPS::@133 dpb_size
HEVCPPS::pps_curr_pic_ref_enabled_flag
uint8_t pps_curr_pic_ref_enabled_flag
Definition: ps.h:475
HEVCSPS::implicit_rdpcm_enabled
uint8_t implicit_rdpcm_enabled
Definition: ps.h:323
HEVCSPS::used_by_curr_pic_lt
uint32_t used_by_curr_pic_lt
Definition: ps.h:286
VUI::neutra_chroma_indication_flag
int neutra_chroma_indication_flag
Definition: ps.h:101
HEVCVPS::vps_sub_layer_ordering_info_present_flag
int vps_sub_layer_ordering_info_present_flag
Definition: ps.h:179
PTLCommon::max_12bit_constraint_flag
uint8_t max_12bit_constraint_flag
Definition: ps.h:136
HEVCVPS::hdr
HEVCHdrParams * hdr
Definition: ps.h:192
HEVCPPS::num_ref_loc_offsets
uint8_t num_ref_loc_offsets
Definition: ps.h:440
PTLCommon::max_420chroma_constraint_flag
uint8_t max_420chroma_constraint_flag
Definition: ps.h:140
HEVCPPS::pic_init_qp_minus26
int pic_init_qp_minus26
Definition: ps.h:381
HEVCSPS::width
int width
Definition: ps.h:347
HEVCPPS::disable_dbf
uint8_t disable_dbf
Definition: ps.h:410
ShortTermRPS::abs_delta_rps
uint16_t abs_delta_rps
Definition: ps.h:84
RepFormat::bit_depth_luma
uint8_t bit_depth_luma
bit_depth_vps_luma_minus8 + 8
Definition: ps.h:163
HEVCSPS::min_pu_height
int min_pu_height
Definition: ps.h:357
HEVC_MAX_LONG_TERM_REF_PICS
@ HEVC_MAX_LONG_TERM_REF_PICS
Definition: hevc.h:127
PTLCommon::lower_bit_rate_constraint_flag
uint8_t lower_bit_rate_constraint_flag
Definition: ps.h:144
avcodec.h
HEVCPPS::ref_region_bottom_offset
int16_t ref_region_bottom_offset[64]
Definition: ps.h:451
HEVCVPS::rep_format
RepFormat rep_format
Definition: ps.h:239
HEVC_MAX_VPS_COUNT
@ HEVC_MAX_VPS_COUNT
Definition: hevc.h:113
HEVCHdrFlagParams::fixed_pic_rate_within_cvs_flag
uint8_t fixed_pic_rate_within_cvs_flag
Definition: ps.h:48
pixfmt.h
ff_hevc_decode_nal_sps
int ff_hevc_decode_nal_sps(GetBitContext *gb, AVCodecContext *avctx, HEVCParamSets *ps, unsigned nuh_layer_id, int apply_defdispwin)
Definition: ps.c:1650
HEVCVPS::data
uint8_t * data
Definition: ps.h:241
HEVCPPS::phase_ver_luma
uint8_t phase_ver_luma[64]
Definition: ps.h:454
HEVCPPS::ref_region_right_offset
int16_t ref_region_right_offset[64]
Definition: ps.h:450
h2645_vui.h
HEVCPPS::uniform_spacing_flag
uint8_t uniform_spacing_flag
Definition: ps.h:403
sps
static int FUNC() sps(CodedBitstreamContext *ctx, RWContext *rw, H264RawSPS *current)
Definition: cbs_h264_syntax_template.c:260
HEVCSPS::persistent_rice_adaptation_enabled
uint8_t persistent_rice_adaptation_enabled
Definition: ps.h:328
HEVCPPS::ref_region_offset_present_flag
uint8_t ref_region_offset_present_flag[64]
Definition: ps.h:447
ShortTermRPS::delta_idx
uint8_t delta_idx
Definition: ps.h:79
HEVCHdrParams::initial_cpb_removal_delay_length_minus1
uint8_t initial_cpb_removal_delay_length_minus1
Definition: ps.h:65
HEVCPPS::scaled_ref_layer_top_offset
int16_t scaled_ref_layer_top_offset[64]
Definition: ps.h:444
HEVCPPS::cr_qp_offset_list
int8_t cr_qp_offset_list[6]
Definition: ps.h:432
AVCodecContext
main external API structure.
Definition: avcodec.h:451
HEVCVPS::max_one_active_ref_layer
uint8_t max_one_active_ref_layer
Definition: ps.h:216
HEVCPPS::phase_ver_chroma
int8_t phase_ver_chroma[64]
Definition: ps.h:456
HEVCSPS::min_cb_height
int min_cb_height
Definition: ps.h:353
HEVCPPS::scaling_list_data_present_flag
uint8_t scaling_list_data_present_flag
Definition: ps.h:414
HEVCPPS::pps_act_cr_qp_offset
int8_t pps_act_cr_qp_offset
Definition: ps.h:480
HEVCPPS::resample_phase_set_present_flag
uint8_t resample_phase_set_present_flag[64]
Definition: ps.h:452
HEVCPPS::min_tb_addr_zs
int * min_tb_addr_zs
MinTbAddrZS.
Definition: ps.h:499
HEVCVPS::vps_max_layer_id
int vps_max_layer_id
Definition: ps.h:183
HEVCVPS::vps_temporal_id_nesting_flag
uint8_t vps_temporal_id_nesting_flag
Definition: ps.h:174
HEVCPPS::pps_bit_depth_for_depth_layers_minus8
uint8_t pps_bit_depth_for_depth_layers_minus8
Definition: ps.h:472
HEVCSPS::log2_min_tb_size
unsigned int log2_min_tb_size
Definition: ps.h:298
HEVCPPS::residual_adaptive_colour_transform_enabled_flag
uint8_t residual_adaptive_colour_transform_enabled_flag
Definition: ps.h:476
HEVCSPS::motion_vector_resolution_control_idc
int motion_vector_resolution_control_idc
coded frame dimension in various units
Definition: ps.h:344
HEVCPPS::pps_palette_predictor_initializer
uint16_t pps_palette_predictor_initializer[3][HEVC_MAX_PALETTE_PREDICTOR_SIZE]
Definition: ps.h:486
HEVCSPS::nb_st_rps
unsigned int nb_st_rps
Definition: ps.h:282
HEVCSPS::strong_intra_smoothing_enabled
uint8_t strong_intra_smoothing_enabled
Definition: ps.h:319
HEVCPPS::luma_bit_depth_cm_input
uint8_t luma_bit_depth_cm_input
Definition: ps.h:462
HEVCSPS::sps_num_palette_predictor_initializers
int sps_num_palette_predictor_initializers
Definition: ps.h:342
HEVCVPS::vps_max_sub_layers
int vps_max_sub_layers
vps_max_temporal_layers_minus1 + 1
Definition: ps.h:176
HEVCSPS::ctb_height
int ctb_height
Definition: ps.h:350
PTLCommon::level_idc
uint8_t level_idc
Definition: ps.h:147
HEVCPPS::sign_data_hiding_flag
uint8_t sign_data_hiding_flag
Definition: ps.h:375
HEVCPPS::log2_max_transform_skip_block_size
uint8_t log2_max_transform_skip_block_size
Definition: ps.h:421
HEVCPPS::pic_slice_level_chroma_qp_offsets_present_flag
uint8_t pic_slice_level_chroma_qp_offsets_present_flag
Definition: ps.h:391
HEVCWindow::right_offset
unsigned int right_offset
Definition: ps.h:93
ShortTermRPS
Definition: ps.h:75
HEVCPPS::weighted_bipred_flag
uint8_t weighted_bipred_flag
Definition: ps.h:393
PTLCommon::inbld_flag
uint8_t inbld_flag
Definition: ps.h:146
HEVCVPS::vps_timing_info_present_flag
uint8_t vps_timing_info_present_flag
Definition: ps.h:185
VUI::vui_hrd_parameters_present_flag
int vui_hrd_parameters_present_flag
Definition: ps.h:114
HEVC_MAX_PPS_COUNT
@ HEVC_MAX_PPS_COUNT
Definition: hevc.h:117
HEVCSPS::intra_smoothing_disabled
uint8_t intra_smoothing_disabled
Definition: ps.h:326
VUI::min_spatial_segmentation_idc
int min_spatial_segmentation_idc
Definition: ps.h:120
HEVCPPS::log2_sao_offset_scale_chroma
uint8_t log2_sao_offset_scale_chroma
Definition: ps.h:434
HEVCPPS::num_ref_idx_l1_default_active
int num_ref_idx_l1_default_active
num_ref_idx_l1_default_active_minus1 + 1
Definition: ps.h:380
HEVCPPS::phase_hor_luma
uint8_t phase_hor_luma[64]
Definition: ps.h:453
HEVCSPS::ctb_width
int ctb_width
Definition: ps.h:349
HEVCSPS::vshift
int vshift[3]
Definition: ps.h:361
HEVCVPS
Definition: ps.h:171
HEVCPPS::sps
const HEVCSPS * sps
RefStruct reference.
Definition: ps.h:505
HEVCSPS::qp_bd_offset
int qp_bd_offset
Definition: ps.h:363
HEVCSPS
Definition: ps.h:252
ShortTermRPS::rps_predict
unsigned rps_predict
Definition: ps.h:87
HEVCPPS::ref_loc_offset_layer_id
uint8_t ref_loc_offset_layer_id[64]
Definition: ps.h:441
HEVCSPS::pixel_shift
int pixel_shift
Definition: ps.h:264
HEVCPPS::chroma_bit_depth_cm_input
uint8_t chroma_bit_depth_cm_input
Definition: ps.h:463
HEVCPPS::num_ref_idx_l0_default_active
int num_ref_idx_l0_default_active
num_ref_idx_l0_default_active_minus1 + 1
Definition: ps.h:379
HEVCPPS
Definition: ps.h:371
HEVCSPS::multilayer_extension
uint8_t multilayer_extension
Definition: ps.h:331
HEVCPPS::sps_id
unsigned int sps_id
seq_parameter_set_id
Definition: ps.h:373
HEVCHdrParams::du_cpb_removal_delay_increment_length_minus1
uint8_t du_cpb_removal_delay_increment_length_minus1
Definition: ps.h:60
HEVCHdrParams::cpb_cnt_minus1
uint8_t cpb_cnt_minus1[HEVC_MAX_SUB_LAYERS]
Definition: ps.h:68
HEVCVPS::vps_max_layers
int vps_max_layers
Definition: ps.h:175
HEVCSPS::sao_enabled
uint8_t sao_enabled
Definition: ps.h:316
HEVCHdrParams::au_cpb_removal_delay_length_minus1
uint8_t au_cpb_removal_delay_length_minus1
Definition: ps.h:66
PTLCommon::max_14bit_constraint_flag
uint8_t max_14bit_constraint_flag
Definition: ps.h:145
HEVCSPS::vps_id
unsigned vps_id
Definition: ps.h:253
HEVCParamSets::vps_list
const HEVCVPS * vps_list[HEVC_MAX_VPS_COUNT]
RefStruct references.
Definition: ps.h:509
HEVCSPS::min_tb_width
int min_tb_width
Definition: ps.h:354
HEVCSPS::temporal_layer
struct HEVCSPS::@134 temporal_layer[HEVC_MAX_SUB_LAYERS]
int32_t
int32_t
Definition: audioconvert.c:56
HEVCHdrParams::sub_pic_cpb_params_in_pic_timing_sei_flag
uint8_t sub_pic_cpb_params_in_pic_timing_sei_flag
Definition: ps.h:57
HEVCPPS::diff_cu_chroma_qp_offset_depth
uint8_t diff_cu_chroma_qp_offset_depth
Definition: ps.h:429
HEVCVPS::data_size
int data_size
Definition: ps.h:242
HEVCPPS::col_idxX
int * col_idxX
Definition: ps.h:493
HEVCSPS::num_reorder_pics
int num_reorder_pics
Definition: ps.h:272
HEVCPPS::transquant_bypass_enable_flag
uint8_t transquant_bypass_enable_flag
Definition: ps.h:395
RepFormat::conf_win_top_offset
uint16_t conf_win_top_offset
Definition: ps.h:167
HEVCVPS::vps_num_layer_sets
int vps_num_layer_sets
vps_num_layer_sets_minus1 + 1
Definition: ps.h:184
HEVCPPS::chroma_qp_offset_list_enabled_flag
uint8_t chroma_qp_offset_list_enabled_flag
Definition: ps.h:428
HEVCPPS::pps_multilayer_extension_flag
uint8_t pps_multilayer_extension_flag
Definition: ps.h:424
ShortTermRPS::delta_poc
int32_t delta_poc[32]
Definition: ps.h:76
HEVCHdrParams::cpb_size_du_scale
uint8_t cpb_size_du_scale
Definition: ps.h:64
ShortTermRPS::delta_rps_sign
unsigned delta_rps_sign
Definition: ps.h:85
HEVCVPS::vps_num_reorder_pics
unsigned int vps_num_reorder_pics[HEVC_MAX_SUB_LAYERS]
Definition: ps.h:181
HEVCSPS::ctb_size
int ctb_size
Definition: ps.h:351
HEVCVPS::ptl
PTL ptl
Definition: ps.h:178
HEVCHdrParams::flags
HEVCHdrFlagParams flags
Definition: ps.h:53
HEVCPPS::num_tile_rows
uint16_t num_tile_rows
num_tile_rows_minus1 + 1
Definition: ps.h:402
HEVCSPS::pix_fmt
enum AVPixelFormat pix_fmt
Definition: ps.h:265
HEVCVPS::vps_id
unsigned int vps_id
Definition: ps.h:172
HEVCVPS::poc_lsb_aligned
uint8_t poc_lsb_aligned
Definition: ps.h:217
HEVCSPS::range_extension
uint8_t range_extension
Definition: ps.h:320
HEVCSPS::palette_predictor_initializers_present
uint8_t palette_predictor_initializers_present
Definition: ps.h:337
HEVCPPS::transform_skip_enabled_flag
uint8_t transform_skip_enabled_flag
Definition: ps.h:384
HEVCPPS::tc_offset
int tc_offset
tc_offset_div2 * 2
Definition: ps.h:412
HEVCPPS::luma_bit_depth_entry
uint8_t luma_bit_depth_entry
Definition: ps.h:484
RepFormat::chroma_format_idc
uint8_t chroma_format_idc
Definition: ps.h:161
HEVCPPS::ctb_addr_rs_to_ts
int * ctb_addr_rs_to_ts
CtbAddrRSToTS.
Definition: ps.h:495
HEVCParamSets
Definition: ps.h:508
HEVCPPS::pps_slice_act_qp_offsets_present_flag
uint8_t pps_slice_act_qp_offsets_present_flag
Definition: ps.h:477
HEVCSPS::scaling_list
ScalingList scaling_list
Definition: ps.h:280
RepFormat::conf_win_right_offset
uint16_t conf_win_right_offset
Definition: ps.h:166
HEVCSPS::ptl
PTL ptl
Definition: ps.h:278
HEVCPPS::pps_act_y_qp_offset
int8_t pps_act_y_qp_offset
Definition: ps.h:478