Structures
VkVideoReferenceSlotInfoKHR
Structure specifying information about a reference picture slot
The VkVideoReferenceSlotInfoKHR structure is defined as:
typedef struct VkVideoReferenceSlotInfoKHR {
VkStructureType sType;
const void* pNext;
int32_t slotIndex;
const VkVideoPictureResourceInfoKHR* pPictureResource;
} VkVideoReferenceSlotInfoKHR;
pub struct VideoReferenceSlotInfoKHR {
s_type: vk::StructureType,
p_next: *const c_void,
slot_index: i32, // The reference slot index
p_picture_resource: *const vk::VideoPictureResourceInfoKHR, // The reference picture resource
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.slotIndexis the index of the DPB slot or a negative integer value.pPictureResourceisNULLor a pointer to a VkVideoPictureResourceInfoKHR structure describing the video picture resource associated with the DPB slot index specified byslotIndex.
Valid Usage (Implicit)
VUID-VkVideoReferenceSlotInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_INFO_KHR
VUID-VkVideoReferenceSlotInfoKHR-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 VkVideoDecodeAV1DpbSlotInfoKHR, VkVideoDecodeH264DpbSlotInfoKHR, VkVideoDecodeH265DpbSlotInfoKHR, VkVideoEncodeAV1DpbSlotInfoKHR, VkVideoEncodeH264DpbSlotInfoKHR, VkVideoEncodeH265DpbSlotInfoKHR, or VkVideoReferenceIntraRefreshInfoKHR
VUID-VkVideoReferenceSlotInfoKHR-sType-unique
The sType value of each structure in the pNext chain must be unique
VUID-VkVideoReferenceSlotInfoKHR-pPictureResource-parameter
If pPictureResource is not NULL, pPictureResource must be a valid pointer to a valid VkVideoPictureResourceInfoKHR structure