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;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • slotIndex is the index of the DPB slot or a negative integer value.
  • pPictureResource is NULL or a pointer to a VkVideoPictureResourceInfoKHR structure describing the video picture resource associated with the DPB slot index specified by slotIndex.

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, VkVideoEncodeH264DpbSlotInfoKHR, or VkVideoEncodeH265DpbSlotInfoKHR

VUID-VkVideoReferenceSlotInfoKHR-sType-unique

The sType value of each struct 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