Structures

VkVideoCodingControlInfoKHR

Structure specifying video coding control parameters

The VkVideoCodingControlInfoKHR structure is defined as:

typedef struct VkVideoCodingControlInfoKHR {
    VkStructureType sType;
    const void* pNext;
    VkVideoCodingControlFlagsKHR flags;
} VkVideoCodingControlInfoKHR;

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