VA-API 2.22.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
VAEncSliceParameterBufferHEVC Struct Reference

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

#include <va_enc_hevc.h>

Public Attributes

uint32_t slice_segment_address
 Starting CTU address for this slice.
 
uint32_t num_ctu_in_slice
 Number of CTUs in this slice.
 
uint8_t slice_type
 Slice type. Corresponds to HEVC syntax element of the same name.
 
uint8_t slice_pic_parameter_set_id
 Same as the HEVC bitstream syntax element.
 
uint8_t num_ref_idx_l0_active_minus1
 Maximum reference index for reference picture list 0. Range: 0 to 14, inclusive.
 
uint8_t num_ref_idx_l1_active_minus1
 Maximum reference index for reference picture list 1. Range: 0 to 14, inclusive.
 
VAPictureHEVC ref_pic_list0 [15]
 Reference picture list 0 (for P slices).
 
VAPictureHEVC ref_pic_list1 [15]
 Reference picture list 1 (for B slices).
 
uint8_t max_num_merge_cand
 Corresponds to HEVC spec variable MaxNumMergeCand. Range: [1..5].
 
int8_t slice_qp_delta
 Same as the HEVC bitstream syntax element.
 
int8_t slice_cb_qp_offset
 Same as the HEVC bitstream syntax element.
 
int8_t slice_cr_qp_offset
 Same as the HEVC bitstream syntax element.
 
int8_t slice_beta_offset_div2
 Same as the HEVC bitstream syntax element.
 
int8_t slice_tc_offset_div2
 Same as the HEVC bitstream syntax element.
 
uint32_t pred_weight_table_bit_offset
 bit offset of syntax element pred_weight_table() in slice segment header. It aligns with the starting position of the current packed slice header. It is used when encoder prefers to override the weighted prediction parameters passed in from application. Please refer to enable_gpu_weighted_prediction in VAEncPictureParameterBufferHEVC.
 
uint32_t pred_weight_table_bit_length
 bit length of syntax element pred_weight_table() in slice segment header. It is used when encoder prefers to override the weighted prediction parameters passed in from application. Please refer to enable_gpu_weighted_prediction in VAEncPictureParameterBufferHEVC.
 
uint32_t va_reserved [VA_PADDING_MEDIUM - 2]
 Reserved bytes for future use, must be zero.
 
pred_weight_table()
uint8_t luma_log2_weight_denom
 Same as the HEVC bitstream syntax element.
 
int8_t delta_chroma_log2_weight_denom
 Same as the HEVC bitstream syntax element.
 
int8_t delta_luma_weight_l0 [15]
 Same as the HEVC bitstream syntax element.
 
int8_t luma_offset_l0 [15]
 Same as the HEVC bitstream syntax element.
 
int8_t delta_chroma_weight_l0 [15][2]
 Same as the HEVC bitstream syntax element.
 
int8_t chroma_offset_l0 [15][2]
 Same as the HEVC spec variable ChromaOffsetL0[].
 
int8_t delta_luma_weight_l1 [15]
 Same as the HEVC bitstream syntax element.
 
int8_t luma_offset_l1 [15]
 Same as the HEVC bitstream syntax element.
 
int8_t delta_chroma_weight_l1 [15][2]
 Same as the HEVC bitstream syntax element.
 
int8_t chroma_offset_l1 [15][2]
 Same as the HEVC spec variable ChromaOffsetL1[].
 

Detailed Description

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

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

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


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