C Specification
A video profile is defined by VkVideoProfileInfoKHR structure as:
// Provided by VK_KHR_video_queue
typedef struct VkVideoProfileInfoKHR {
VkStructureType sType;
const void* pNext;
VkVideoCodecOperationFlagBitsKHR videoCodecOperation;
VkVideoChromaSubsamplingFlagsKHR chromaSubsampling;
VkVideoComponentBitDepthFlagsKHR lumaBitDepth;
VkVideoComponentBitDepthFlagsKHR chromaBitDepth;
} VkVideoProfileInfoKHR;
Members
-
sTypeis the type of this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
videoCodecOperationis a VkVideoCodecOperationFlagBitsKHR value specifying a video codec operation. -
chromaSubsamplingis a bitmask of VkVideoChromaSubsamplingFlagBitsKHR specifying video chroma subsampling information. -
lumaBitDepthis a bitmask of VkVideoComponentBitDepthFlagBitsKHR specifying video luma bit depth information. -
chromaBitDepthis a bitmask of VkVideoComponentBitDepthFlagBitsKHR specifying video chroma bit depth information.
Description
When a VkVideoProfileInfoKHR structure is specified through the
pProfiles member of an VkVideoProfileListInfoKHR structure in
the pNext chain of the input parameter of a query command such as
vkGetPhysicalDeviceVideoCapabilitiesKHR,
vkGetPhysicalDeviceVideoFormatPropertiesKHR, or
vkGetPhysicalDeviceImageFormatProperties2, the following error codes
indicate specific causes of the failure of the query operation:
-
VK_ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHRThe requested video picture layout (e.g. through thepictureLayoutmember of a VkVideoDecodeH264ProfileInfoEXT structure included in thepNextchain ofVkVideoProfileInfoKHR) is not supported. -
VK_ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHRA video profile operation specified byvideoCodecOperationis not supported. -
VK_ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHRFormat parameters specified bychromaSubsampling,lumaBitDepth, orchromaBitDepthare not supported. -
VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHRCodec-specific parameters corresponding to thevideoCodecOperationare not provided through thepNextchain ofVkVideoProfileInfoKHR, or the specified parameters are not supported.
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.