To query video decode or encode capabilities for a specific codec, call:
// Provided by VK_KHR_video_queue VkResult vkGetPhysicalDeviceVideoCapabilitiesKHR( VkPhysicalDevice physicalDevice, const VkVideoProfileInfoKHR* pVideoProfile, VkVideoCapabilitiesKHR* pCapabilities);
physicalDeviceis the physical device whose video decode or encode capabilities will be queried.
pVideoProfileis a pointer to a VkVideoProfileInfoKHR structure with a chained codec-operation specific video profile structure.
pCapabilitiesis a pointer to a VkVideoCapabilitiesKHR structure in which the capabilities are returned.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.