C Specification

The VkVideoReferenceSlotKHR structure is defined as:

// Provided by VK_KHR_video_queue
typedef struct VkVideoReferenceSlotKHR {
    VkStructureType                     sType;
    const void*                         pNext;
    int8_t                              slotIndex;
    const VkVideoPictureResourceKHR*    pPictureResource;
} VkVideoReferenceSlotKHR;


  • sType is the type of this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • slotIndex is the unique reference slot index used for the encode or decode operation.

  • pPictureResource is a pointer to a VkVideoPictureResourceKHR structure describing the picture resource bound to this slot index.


Valid Usage (Implicit)
  • VUID-VkVideoReferenceSlotKHR-sType-sType

  • VUID-VkVideoReferenceSlotKHR-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 VkVideoDecodeH264DpbSlotInfoEXT or VkVideoDecodeH265DpbSlotInfoEXT

  • VUID-VkVideoReferenceSlotKHR-sType-unique
    The sType value of each struct in the pNext chain must be unique

  • VUID-VkVideoReferenceSlotKHR-pPictureResource-parameter
    pPictureResource must be a valid pointer to a valid VkVideoPictureResourceKHR structure

See Also

Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2022 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0