vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR
To query properties for a specific video encode quality level supported by a video encode profile, call:
VkResult vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR(
VkPhysicalDevice physicalDevice,
const VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR* pQualityLevelInfo,
VkVideoEncodeQualityLevelPropertiesKHR* pQualityLevelProperties);
physicalDevice
is the physical device to query the video encode quality level properties for.pQualityLevelInfo
is a pointer to a VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR structure specifying the video encode profile and quality level to query properties for.pQualityLevelProperties
is a pointer to a VkVideoEncodeQualityLevelPropertiesKHR structure in which the properties are returned.
Valid Usage
VUID-vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR-pQualityLevelInfo-08257
If pQualityLevelInfo→pVideoProfile→videoCodecOperation
is
VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_KHR
, then the pNext
chain of pQualityLevelProperties
must include a
VkVideoEncodeH264QualityLevelPropertiesKHR structure
VUID-vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR-pQualityLevelInfo-08258
If pQualityLevelInfo→pVideoProfile→videoCodecOperation
is
VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_KHR
, then the pNext
chain of pQualityLevelProperties
must include a
VkVideoEncodeH265QualityLevelPropertiesKHR structure
Valid Usage (Implicit)
VUID-vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR-physicalDevice-parameter
physicalDevice
must be a valid VkPhysicalDevice handle
VUID-vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR-pQualityLevelInfo-parameter
pQualityLevelInfo
must be a valid pointer to a valid VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR structure
VUID-vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR-pQualityLevelProperties-parameter
pQualityLevelProperties
must be a valid pointer to a VkVideoEncodeQualityLevelPropertiesKHR structure