Structures
VkVideoEncodeUsageInfoKHR
Structure specifying video encode usage information
Additional information about the video encode use case can be provided by
adding a VkVideoEncodeUsageInfoKHR
structure to the pNext
chain
of VkVideoProfileInfoKHR.
The VkVideoEncodeUsageInfoKHR
structure is defined as:
typedef struct VkVideoEncodeUsageInfoKHR {
VkStructureType sType;
const void* pNext;
VkVideoEncodeUsageFlagsKHR videoUsageHints;
VkVideoEncodeContentFlagsKHR videoContentHints;
VkVideoEncodeTuningModeKHR tuningMode;
} VkVideoEncodeUsageInfoKHR;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.videoUsageHints
is a bitmask of VkVideoEncodeUsageFlagBitsKHR specifying hints about the intended use of the video encode profile.videoContentHints
is a bitmask of VkVideoEncodeContentFlagBitsKHR specifying hints about the content to be encoded using the video encode profile.tuningMode
is a VkVideoEncodeTuningModeKHR value specifying the tuning mode to use when encoding with the video profile.
Valid Usage (Implicit)
VUID-VkVideoEncodeUsageInfoKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHR
VUID-VkVideoEncodeUsageInfoKHR-videoUsageHints-parameter
videoUsageHints
must be a valid combination of VkVideoEncodeUsageFlagBitsKHR values
VUID-VkVideoEncodeUsageInfoKHR-videoContentHints-parameter
videoContentHints
must be a valid combination of VkVideoEncodeContentFlagBitsKHR values
VUID-VkVideoEncodeUsageInfoKHR-tuningMode-parameter
If tuningMode
is not 0
, tuningMode
must be a valid VkVideoEncodeTuningModeKHR value