VkVideoCodingControlInfoKHR
The VkVideoCodingControlInfoKHR
structure is defined as:
typedef struct VkVideoCodingControlInfoKHR {
VkStructureType sType;
const void* pNext;
VkVideoCodingControlFlagsKHR flags;
} VkVideoCodingControlInfoKHR;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.flags
is a bitmask of VkVideoCodingControlFlagsKHR specifying control flags.
Valid Usage
VUID-VkVideoCodingControlInfoKHR-flags-07018
If flags
includes
VK_VIDEO_CODING_CONTROL_ENCODE_RATE_CONTROL_BIT_KHR
, then the
pNext
chain must include a VkVideoEncodeRateControlInfoKHR
structure
VUID-VkVideoCodingControlInfoKHR-flags-08349
If flags
includes
VK_VIDEO_CODING_CONTROL_ENCODE_QUALITY_LEVEL_BIT_KHR
, then the
pNext
chain must include a VkVideoEncodeQualityLevelInfoKHR
structure
Valid Usage (Implicit)
VUID-VkVideoCodingControlInfoKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_VIDEO_CODING_CONTROL_INFO_KHR
VUID-VkVideoCodingControlInfoKHR-pNext-pNext
Each pNext
member of any structure (including this one) in the pNext
chain must be either NULL
or a pointer to a valid instance of VkVideoEncodeH264RateControlInfoKHR, VkVideoEncodeH265RateControlInfoKHR, VkVideoEncodeQualityLevelInfoKHR, or VkVideoEncodeRateControlInfoKHR
VUID-VkVideoCodingControlInfoKHR-sType-unique
The sType
value of each struct in the pNext
chain must be unique
VUID-VkVideoCodingControlInfoKHR-flags-parameter
flags
must be a valid combination of VkVideoCodingControlFlagBitsKHR values
VUID-VkVideoCodingControlInfoKHR-flags-requiredbitmask
flags
must not be 0