Structures
VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR
Structure describing the video encode profile and quality level to query properties for
The VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR
structure is
defined as:
typedef struct VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR {
VkStructureType sType;
const void* pNext;
const VkVideoProfileInfoKHR* pVideoProfile;
uint32_t qualityLevel;
} VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.pVideoProfile
is a pointer to a VkVideoProfileInfoKHR structure specifying the video profile to query the video encode quality level properties for.qualityLevel
is the video encode quality level to query properties for.
Valid Usage
VUID-VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR-pVideoProfile-08259
pVideoProfile
must be a supported video
profile
VUID-VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR-pVideoProfile-08260
pVideoProfile→videoCodecOperation
must specify an encode
operation
VUID-VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR-qualityLevel-08261
qualityLevel
must be less than
VkVideoEncodeCapabilitiesKHR::maxQualityLevels
, as returned
by vkGetPhysicalDeviceVideoCapabilitiesKHR for the video profile
specified in pVideoProfile
Valid Usage (Implicit)
VUID-VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR
VUID-VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR-pNext-pNext
pNext
must be NULL
VUID-VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR-pVideoProfile-parameter
pVideoProfile
must be a valid pointer to a valid VkVideoProfileInfoKHR structure