VA-API  2.19.0
Public Attributes | List of all members
VAEncSequenceParameterBufferHEVC Struct Reference

Sequence parameter for HEVC encoding in main & main 10 profiles. More...

#include <va_enc_hevc.h>

Public Attributes

uint8_t general_profile_idc
 Same as the HEVC bitstream syntax element. value range [1..2].
 
uint8_t general_level_idc
 Same as the HEVC bitstream syntax element. general_level_idc shall be set equal to a value of 30 times the level numbers allowed [1, 2, 2.1, 3, 3.1, 4, 4.1, 5, 5.1, 5.2, 6, 6.1, 6.2].
 
uint8_t general_tier_flag
 Same as the HEVC bitstream syntax element. Only value 0 is allowed for level value below 4, exclusive.
 
uint32_t intra_period
 Period between I frames.
 
uint32_t intra_idr_period
 Period between IDR frames.
 
uint32_t ip_period
 Period between I/P frames.
 
uint32_t bits_per_second
 Initial bitrate set for this sequence in CBR or VBR modes. More...
 
uint16_t pic_width_in_luma_samples
 Picture width in pixel samples. Its value must be multiple of min CU size.
 
uint16_t pic_height_in_luma_samples
 Picture height in pixel samples. Its value must be multiple of min CU size.
 
uint8_t log2_min_luma_coding_block_size_minus3
 Same as the HEVC bitstream syntax element. value range [0..3].
 
uint8_t log2_diff_max_min_luma_coding_block_size
 Same as the HEVC bitstream syntax element.
 
uint8_t log2_min_transform_block_size_minus2
 Same as the HEVC bitstream syntax element. value range [0..3].
 
uint8_t log2_diff_max_min_transform_block_size
 Same as the HEVC bitstream syntax element.
 
uint8_t max_transform_hierarchy_depth_inter
 Same as the HEVC bitstream syntax element. value range [2].
 
uint8_t max_transform_hierarchy_depth_intra
 Same as the HEVC bitstream syntax element. value range [2].
 
uint32_t pcm_sample_bit_depth_luma_minus1
 Same as the HEVC bitstream syntax element.
 
uint32_t pcm_sample_bit_depth_chroma_minus1
 Same as the HEVC bitstream syntax element.
 
uint32_t log2_min_pcm_luma_coding_block_size_minus3
 Same as the HEVC bitstream syntax element.
 
uint32_t log2_max_pcm_luma_coding_block_size_minus3
 Derived from the HEVC bitstream syntax element. log2_min_pcm_luma_coding_block_size_minus3 + log2_diff_max_min_pcm_luma_coding_block_size.
 
uint32_t chroma_format_idc: 2
 Same as the HEVC bitstream syntax element.
 
uint32_t separate_colour_plane_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t bit_depth_luma_minus8: 3
 Same as the HEVC bitstream syntax element.
 
uint32_t bit_depth_chroma_minus8: 3
 Same as the HEVC bitstream syntax element.
 
uint32_t scaling_list_enabled_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t strong_intra_smoothing_enabled_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t amp_enabled_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t sample_adaptive_offset_enabled_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t pcm_enabled_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t pcm_loop_filter_disabled_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t sps_temporal_mvp_enabled_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t low_delay_seq: 1
 Indicates whether or not the encoding is in low delay mode. 0 normal sequence 1 no random access B will be coded . and the coding type could be only I, P or LDB this flag only indicates the frame coding type of the sequence.
 
uint32_t hierachical_flag: 1
 Indicates whether or not the encoding is in dyadic hierarchical GOP structure the default value 0, BRC would treat is as flat structure. if HierachicalFlag == 1, application would enable Qp Modulation.
 
uint32_t reserved_bits: 14
 keep for future , should be set to 0
 
uint32_t aspect_ratio_info_present_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t neutral_chroma_indication_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t field_seq_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t vui_timing_info_present_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t bitstream_restriction_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t tiles_fixed_structure_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t motion_vectors_over_pic_boundaries_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t restricted_ref_pic_lists_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t log2_max_mv_length_horizontal: 5
 Range: 0 to 16, inclusive.
 
uint32_t log2_max_mv_length_vertical: 5
 Range: 0 to 16, inclusive.
 
uint32_t palette_mode_enabled_flag: 1
 Same as the HEVC bitstream syntax element.
 
uint32_t reserved: 31
 Reserved bits for future use, must be zero.
 
VUI parameters (optional)
uint8_t vui_parameters_present_flag
 Same as the HEVC bitstream syntax element.
 
union {
vui_fields
 
uint8_t aspect_ratio_idc
 Same as the HEVC bitstream syntax element.
 
uint32_t sar_width
 Same as the HEVC bitstream syntax element.
 
uint32_t sar_height
 Same as the HEVC bitstream syntax element.
 
uint32_t vui_num_units_in_tick
 Same as the HEVC bitstream syntax element.
 
uint32_t vui_time_scale
 Same as the HEVC bitstream syntax element.
 
uint16_t min_spatial_segmentation_idc
 Same as the HEVC bitstream syntax element.
 
uint8_t max_bytes_per_pic_denom
 Same as the HEVC bitstream syntax element.
 
uint8_t max_bits_per_min_cu_denom
 Same as the HEVC bitstream syntax element.
 
union {
scc_fields
 SCC flags to enable/disable features, including IBC and palette mode at present.
 
uint32_t va_reserved [VA_PADDING_MEDIUM - 1]
 Reserved bytes for future use, must be zero.
 

Detailed Description

Sequence parameter for HEVC encoding in main & main 10 profiles.

This structure holds information for seq_parameter_set_data() as defined by the HEVC specification.

If packed sequence headers mode is used, i.e. if the encoding pipeline was configured with the VA_ENC_PACKED_HEADER_SEQUENCE flag, then the driver expects two more buffers to be provided to the same vaRenderPicture() as this buffer:

If seq_scaling_matrix_present_flag is set to 1, then a VAQMatrixBufferHEVC buffer shall also be provided within the same vaRenderPicture() call as this sequence parameter buffer.

Member Data Documentation

◆ bits_per_second

uint32_t VAEncSequenceParameterBufferHEVC::bits_per_second

Initial bitrate set for this sequence in CBR or VBR modes.

This field represents the initial bitrate value for this sequence if CBR or VBR mode is used, i.e. if the encoder pipeline was created with a #VAConfigAttribRateControl attribute set to either VA_RC_CBR or VA_RC_VBR.

The bitrate can be modified later on through VAEncMiscParameterRateControl buffers.


The documentation for this struct was generated from the following file: