C Specification
The VkVideoEncodeH265NaluSliceSegmentInfoKHR structure is defined as:
// Provided by VK_KHR_video_encode_h265
typedef struct VkVideoEncodeH265NaluSliceSegmentInfoKHR {
VkStructureType sType;
const void* pNext;
int32_t constantQp;
const StdVideoEncodeH265SliceSegmentHeader* pStdSliceSegmentHeader;
} VkVideoEncodeH265NaluSliceSegmentInfoKHR;
Members
-
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.
Description
- Std Slice Segment Header Parameters
-
The members of the
StdVideoEncodeH265SliceSegmentHeaderstructure pointed to bypStdSliceSegmentHeaderare 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.
-
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.