Structures
VkVideoEncodeQualityLevelInfoKHR
Structure specifying used video encode quality level
The VkVideoEncodeQualityLevelInfoKHR structure is defined as:
typedef struct VkVideoEncodeQualityLevelInfoKHR {
VkStructureType sType;
const void* pNext;
uint32_t qualityLevel;
} VkVideoEncodeQualityLevelInfoKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.qualityLevelis the used video encode quality level.
This structure can be specified in the following places:
- In the
pNextchain of VkVideoSessionParametersCreateInfoKHR to specify the video encode quality level to use for a video session parameters object created for a video encode session. If no instance of this structure is included in thepNextchain of VkVideoSessionParametersCreateInfoKHR, then the video session parameters object is created with a video encode quality level of zero. - In the
pNextchain of VkVideoCodingControlInfoKHR to change the video encode quality level state of the bound video session.
Valid Usage
VUID-VkVideoEncodeQualityLevelInfoKHR-qualityLevel-08311
qualityLevel must be less than
VkVideoEncodeCapabilitiesKHR::maxQualityLevels, as returned
by vkGetPhysicalDeviceVideoCapabilitiesKHR for the used video
profile
Valid Usage (Implicit)
VUID-VkVideoEncodeQualityLevelInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR