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;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.videoUsageHintsis a bitmask of VkVideoEncodeUsageFlagBitsKHR specifying hints about the intended use of the video encode profile.videoContentHintsis a bitmask of VkVideoEncodeContentFlagBitsKHR specifying hints about the content to be encoded using the video encode profile.tuningModeis 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