Structures
VkVideoEncodeH264QualityLevelPropertiesKHR
Structure describing the H.264 encode quality level properties
When calling vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR
with pVideoProfile→videoCodecOperation specified as
VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_KHR, the
VkVideoEncodeH264QualityLevelPropertiesKHR structure must be included
in the pNext chain of the VkVideoEncodeQualityLevelPropertiesKHR
structure to retrieve additional video encode quality level properties
specific to H.264 encoding.
The VkVideoEncodeH264QualityLevelPropertiesKHR structure is defined as:
typedef struct VkVideoEncodeH264QualityLevelPropertiesKHR {
VkStructureType sType;
void* pNext;
VkVideoEncodeH264RateControlFlagsKHR preferredRateControlFlags;
uint32_t preferredGopFrameCount;
uint32_t preferredIdrPeriod;
uint32_t preferredConsecutiveBFrameCount;
uint32_t preferredTemporalLayerCount;
VkVideoEncodeH264QpKHR preferredConstantQp;
uint32_t preferredMaxL0ReferenceCount;
uint32_t preferredMaxL1ReferenceCount;
VkBool32 preferredStdEntropyCodingModeFlag;
} VkVideoEncodeH264QualityLevelPropertiesKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.preferredRateControlFlagsis a bitmask of VkVideoEncodeH264RateControlFlagBitsKHR values indicating the preferred flags to use for VkVideoEncodeH264RateControlInfoKHR::flags.preferredGopFrameCountindicates the preferred value to use for VkVideoEncodeH264RateControlInfoKHR::gopFrameCount.preferredIdrPeriodindicates the preferred value to use for VkVideoEncodeH264RateControlInfoKHR::idrPeriod.preferredConsecutiveBFrameCountindicates the preferred value to use for VkVideoEncodeH264RateControlInfoKHR::consecutiveBFrameCount.preferredTemporalLayerCountindicates the preferred value to use for VkVideoEncodeH264RateControlInfoKHR::temporalLayerCount.preferredConstantQpindicates the preferred values to use for VkVideoEncodeH264NaluSliceInfoKHR::constantQpfor each picture type when using rate control modeVK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR.preferredMaxL0ReferenceCountindicates the preferred maximum number of reference pictures to use in the reference list L0.preferredMaxL1ReferenceCountindicates the preferred maximum number of reference pictures to use in the reference list L1.preferredStdEntropyCodingModeFlagindicates the preferred value to use forentropy_coding_mode_flaginStdVideoH264PpsFlags.
Valid Usage (Implicit)
VUID-VkVideoEncodeH264QualityLevelPropertiesKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_QUALITY_LEVEL_PROPERTIES_KHR