VA-API 2.22.0
|
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. | ||
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. | ||
VUI parameters (optional) | ||
uint8_t | vui_parameters_present_flag | |
Same as the HEVC bitstream syntax element. | ||
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. | ||
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.
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.