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
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
constantQp
is 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
. -
pStdSliceSegmentHeader
is a pointer to aStdVideoEncodeH265SliceSegmentHeader
structure specifying H.265 slice segment header parameters for the slice segment.
Description
- Std Slice Segment Header Parameters
-
The members of the
StdVideoEncodeH265SliceSegmentHeader
structure pointed to bypStdSliceSegmentHeader
are interpreted as follows:-
flags.reserved
andreserved1
are used only for padding purposes and are otherwise ignored; -
if
pWeightTable
is notNULL
, then it is a pointer to aStdVideoEncodeH265WeightTable
that is interpreted as follows:-
flags.luma_weight_l0_flag
,flags.chroma_weight_l0_flag
,flags.luma_weight_l1_flag
, andflags.chroma_weight_l1_flag
are 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
StdVideoEncodeH265WeightTable
are 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.