VkVideoProfileListInfoKHR
The VkVideoProfileListInfoKHR
structure is defined as:
typedef struct VkVideoProfileListInfoKHR {
VkStructureType sType;
const void* pNext;
uint32_t profileCount;
const VkVideoProfileInfoKHR* pProfiles;
} VkVideoProfileListInfoKHR;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.profileCount
is the number of elements in thepProfiles
array.pProfiles
is a pointer to an array of VkVideoProfileInfoKHR structures.
Video transcoding is an example of a use case that necessitates the specification of multiple profiles in various contexts.
When the application provides a video decode profile and one or more video encode profiles in the profile list, the implementation ensures that any capabilitities returned or resources created are suitable for the video transcoding use cases without the need for manual data transformations.
Valid Usage
VUID-VkVideoProfileListInfoKHR-pProfiles-06813
pProfiles
must not contain more than one element whose
videoCodecOperation
member specifies a decode operation
Valid Usage (Implicit)
VUID-VkVideoProfileListInfoKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR
VUID-VkVideoProfileListInfoKHR-pProfiles-parameter
If profileCount
is not 0
, pProfiles
must be a valid pointer to an array of profileCount
valid VkVideoProfileInfoKHR structures