Structures
VkVideoEncodeH264NaluSliceInfoKHR
Structure specifies H.264 encode slice NALU parameters
The VkVideoEncodeH264NaluSliceInfoKHR structure is defined as:
typedef struct VkVideoEncodeH264NaluSliceInfoKHR {
VkStructureType sType;
const void* pNext;
int32_t constantQp;
const StdVideoEncodeH264SliceHeader* pStdSliceHeader;
} VkVideoEncodeH264NaluSliceInfoKHR;
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 if the current rate control mode configured for the video session isVK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR
.pStdSliceHeader
is a pointer to aStdVideoEncodeH264SliceHeader
structure specifying H.264 slice header parameters for the slice.
Std Slice Header Parameters
The members of the StdVideoEncodeH264SliceHeader
structure pointed to
by pStdSliceHeader
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 aStdVideoEncodeH264WeightTable
that is interpreted as follows:flags.reserved
is used only for padding purposes and is otherwise ignored;- all other members of
StdVideoEncodeH264WeightTable
are interpreted as defined in section 7.4.3.2 of the ITU-T H.264 Specification;
- all other members are interpreted as defined in section 7.4.3 of the ITU-T H.264 Specification.
Valid Usage (Implicit)
VUID-VkVideoEncodeH264NaluSliceInfoKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_NALU_SLICE_INFO_KHR
VUID-VkVideoEncodeH264NaluSliceInfoKHR-pNext-pNext
pNext
must be NULL
VUID-VkVideoEncodeH264NaluSliceInfoKHR-pStdSliceHeader-parameter
pStdSliceHeader
must be a valid pointer to a valid StdVideoEncodeH264SliceHeader
value