_RocdecHevcPicParams Struct Reference

_RocdecHevcPicParams Struct Reference#

rocDecode: _RocdecHevcPicParams Struct Reference
_RocdecHevcPicParams Struct Reference

Data Fields

RocdecHevcPicture curr_pic
 
RocdecHevcPicture ref_frames [15]
 
uint16_t picture_width_in_luma_samples
 
uint16_t picture_height_in_luma_samples
 
union {
   struct {
      uint32_t   chroma_format_idc: 2
 
      uint32_t   separate_colour_plane_flag: 1
 
      uint32_t   pcm_enabled_flag: 1
 
      uint32_t   scaling_list_enabled_flag: 1
 
      uint32_t   transform_skip_enabled_flag: 1
 
      uint32_t   amp_enabled_flag: 1
 
      uint32_t   strong_intra_smoothing_enabled_flag: 1
 
      uint32_t   sign_data_hiding_enabled_flag: 1
 
      uint32_t   constrained_intra_pred_flag: 1
 
      uint32_t   cu_qp_delta_enabled_flag: 1
 
      uint32_t   weighted_pred_flag: 1
 
      uint32_t   weighted_bipred_flag: 1
 
      uint32_t   transquant_bypass_enabled_flag: 1
 
      uint32_t   tiles_enabled_flag: 1
 
      uint32_t   entropy_coding_sync_enabled_flag: 1
 
      uint32_t   pps_loop_filter_across_slices_enabled_flag: 1
 
      uint32_t   loop_filter_across_tiles_enabled_flag: 1
 
      uint32_t   pcm_loop_filter_disabled_flag: 1
 
      uint32_t   no_pic_reordering_flag: 1
 
      uint32_t   no_bi_pred_flag: 1
 
      uint32_t   reserved_bits: 11
 
   }   bits
 
   uint32_t   value
 
pic_fields
 
uint8_t sps_max_dec_pic_buffering_minus1
 
uint8_t bit_depth_luma_minus8
 
uint8_t bit_depth_chroma_minus8
 
uint8_t pcm_sample_bit_depth_luma_minus1
 
uint8_t pcm_sample_bit_depth_chroma_minus1
 
uint8_t log2_min_luma_coding_block_size_minus3
 
uint8_t log2_diff_max_min_luma_coding_block_size
 
uint8_t log2_min_transform_block_size_minus2
 
uint8_t log2_diff_max_min_transform_block_size
 
uint8_t log2_min_pcm_luma_coding_block_size_minus3
 
uint8_t log2_diff_max_min_pcm_luma_coding_block_size
 
uint8_t max_transform_hierarchy_depth_intra
 
uint8_t max_transform_hierarchy_depth_inter
 
int8_t init_qp_minus26
 
uint8_t diff_cu_qp_delta_depth
 
int8_t pps_cb_qp_offset
 
int8_t pps_cr_qp_offset
 
uint8_t log2_parallel_merge_level_minus2
 
uint8_t num_tile_columns_minus1
 
uint8_t num_tile_rows_minus1
 
uint16_t column_width_minus1 [19]
 
uint16_t row_height_minus1 [21]
 
union {
   struct {
      uint32_t   lists_modification_present_flag: 1
 
      uint32_t   long_term_ref_pics_present_flag: 1
 
      uint32_t   sps_temporal_mvp_enabled_flag: 1
 
      uint32_t   cabac_init_present_flag: 1
 
      uint32_t   output_flag_present_flag: 1
 
      uint32_t   dependent_slice_segments_enabled_flag: 1
 
      uint32_t   pps_slice_chroma_qp_offsets_present_flag: 1
 
      uint32_t   sample_adaptive_offset_enabled_flag: 1
 
      uint32_t   deblocking_filter_override_enabled_flag: 1
 
      uint32_t   pps_disable_deblocking_filter_flag: 1
 
      uint32_t   slice_segment_header_extension_present_flag: 1
 
      uint32_t   rap_pic_flag: 1
 
      uint32_t   idr_pic_flag: 1
 
      uint32_t   intra_pic_flag: 1
 
      uint32_t   reserved_bits: 18
 
   }   bits
 
   uint32_t   value
 
slice_parsing_fields
 
uint8_t log2_max_pic_order_cnt_lsb_minus4
 
uint8_t num_short_term_ref_pic_sets
 
uint8_t num_long_term_ref_pic_sps
 
uint8_t num_ref_idx_l0_default_active_minus1
 
uint8_t num_ref_idx_l1_default_active_minus1
 
int8_t pps_beta_offset_div2
 
int8_t pps_tc_offset_div2
 
uint8_t num_extra_slice_header_bits
 
uint32_t st_rps_bits
 number of bits that structure short_term_ref_pic_set( num_short_term_ref_pic_sets ) takes in slice segment header when short_term_ref_pic_set_sps_flag equals 0. if short_term_ref_pic_set_sps_flag equals 1, the value should be 0. the bit count is calculated after emulation prevention bytes are removed from bit streams. This variable is used for accelorater to skip parsing the short_term_ref_pic_set( num_short_term_ref_pic_sets ) structure.
 
uint32_t reserved [8]
 

Field Documentation

◆ chroma_format_idc

uint32_t _RocdecHevcPicParams::chroma_format_idc

following flags have same syntax and semantic as those in HEVC spec

◆ column_width_minus1

uint16_t _RocdecHevcPicParams::column_width_minus1[19]

when uniform_spacing_flag equals 1, application should populate column_width_minus[], and row_height_minus1[] with approperiate values.

◆ idr_pic_flag

uint32_t _RocdecHevcPicParams::idr_pic_flag

current picture with NUT between 19 and 20 inclusive

◆ intra_pic_flag

uint32_t _RocdecHevcPicParams::intra_pic_flag

current picture has only intra slices

◆ lists_modification_present_flag

uint32_t _RocdecHevcPicParams::lists_modification_present_flag

following parameters have same syntax with those in HEVC spec

◆ log2_max_pic_order_cnt_lsb_minus4

uint8_t _RocdecHevcPicParams::log2_max_pic_order_cnt_lsb_minus4

following parameters have same syntax with those in HEVC spec

◆ no_bi_pred_flag

uint32_t _RocdecHevcPicParams::no_bi_pred_flag

picture has no B slices

◆ no_pic_reordering_flag

uint32_t _RocdecHevcPicParams::no_pic_reordering_flag

set based on sps_max_num_reorder_pics of current temporal layer.

◆ rap_pic_flag

uint32_t _RocdecHevcPicParams::rap_pic_flag

current picture with NUT between 16 and 21 inclusive

◆ sps_max_dec_pic_buffering_minus1

uint8_t _RocdecHevcPicParams::sps_max_dec_pic_buffering_minus1

SPS fields: the following parameters have same syntax with those in HEVC spec IN: DPB size for current temporal layer


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocdecode/checkouts/docs-6.2.1/api/rocdecode.h