C Specification
To query video coding capabilities for a specific video profile, call:
// Provided by VK_KHR_video_queue
VkResult vkGetPhysicalDeviceVideoCapabilitiesKHR(
VkPhysicalDevice physicalDevice,
const VkVideoProfileInfoKHR* pVideoProfile,
VkVideoCapabilitiesKHR* pCapabilities);
Parameters
-
physicalDeviceis the physical device from which to query the video decode or encode capabilities. -
pVideoProfileis a pointer to a VkVideoProfileInfoKHR structure. -
pCapabilitiesis a pointer to a VkVideoCapabilitiesKHR structure in which the capabilities are returned.
Description
If the video profile described by pVideoProfile is
supported by the implementation, then this command returns VK_SUCCESS
and pCapabilities is filled with the capabilities supported with the
specified video profile.
Otherwise, one of the video-profile-specific
error codes 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.