C Specification
To query video decode or encode capabilities for a specific codec, call:
// Provided by VK_KHR_video_queue
VkResult vkGetPhysicalDeviceVideoCapabilitiesKHR(
VkPhysicalDevice physicalDevice,
const VkVideoProfileKHR* pVideoProfile,
VkVideoCapabilitiesKHR* pCapabilities);
Parameters
-
physicalDevice
is the physical device whose video decode or encode capabilities will be queried. -
pVideoProfile
is a pointer to a VkVideoProfileKHR structure with a chained codec-operation specific video profile structure. -
pCapabilities
is a pointer to a VkVideoCapabilitiesKHR structure in which the capabilities are returned.
Document Notes
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.