Structures
VkVideoEncodeH265NaluSliceSegmentInfoKHR
Structure specifies H.265 encode slice segment NALU parameters
The VkVideoEncodeH265NaluSliceSegmentInfoKHR structure is defined as:
typedef struct VkVideoEncodeH265NaluSliceSegmentInfoKHR {
VkStructureType sType;
const void* pNext;
int32_t constantQp;
const StdVideoEncodeH265SliceSegmentHeader* pStdSliceSegmentHeader;
} VkVideoEncodeH265NaluSliceSegmentInfoKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.constantQpis the QP to use for the slice segment if the current rate control mode configured for the video session isVK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR.pStdSliceSegmentHeaderis a pointer to aStdVideoEncodeH265SliceSegmentHeaderstructure specifying H.265 slice segment header parameters for the slice segment.
Std Slice Segment Header Parameters
The members of the StdVideoEncodeH265SliceSegmentHeader structure
pointed to by pStdSliceSegmentHeader are interpreted as follows:
flags.reservedandreserved1are used only for padding purposes and are otherwise ignored;- if
pWeightTableis notNULL, then it is a pointer to aStdVideoEncodeH265WeightTablethat is interpreted as follows:flags.luma_weight_l0_flag,flags.chroma_weight_l0_flag,flags.luma_weight_l1_flag, andflags.chroma_weight_l1_flagare bitmasks where bit index i corresponds toluma_weight_l0_flag[i],chroma_weight_l0_flag[i],luma_weight_l1_flag[i], andchroma_weight_l1_flag[i], respectively, as defined in section 7.4.7.3 of the ITU-T H.265 Specification;- all other members of
StdVideoEncodeH265WeightTableare interpreted as defined in section 7.4.7.3 of the ITU-T H.265 Specification;
- all other members are interpreted as defined in section 7.4.7.1 of the ITU-T H.265 Specification.
Valid Usage (Implicit)
VUID-VkVideoEncodeH265NaluSliceSegmentInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_NALU_SLICE_SEGMENT_INFO_KHR
VUID-VkVideoEncodeH265NaluSliceSegmentInfoKHR-pNext-pNext
pNext must be NULL
VUID-VkVideoEncodeH265NaluSliceSegmentInfoKHR-pStdSliceSegmentHeader-parameter
pStdSliceSegmentHeader must be a valid pointer to a valid StdVideoEncodeH265SliceSegmentHeader value