C Specification
The VkVideoDecodeInfoKHR
structure is defined as:
// Provided by VK_KHR_video_decode_queue
typedef struct VkVideoDecodeInfoKHR {
VkStructureType sType;
const void* pNext;
VkVideoDecodeFlagsKHR flags;
VkBuffer srcBuffer;
VkDeviceSize srcBufferOffset;
VkDeviceSize srcBufferRange;
VkVideoPictureResourceInfoKHR dstPictureResource;
const VkVideoReferenceSlotInfoKHR* pSetupReferenceSlot;
uint32_t referenceSlotCount;
const VkVideoReferenceSlotInfoKHR* pReferenceSlots;
} VkVideoDecodeInfoKHR;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
flags
is reserved for future use. -
srcBuffer
is the source video bitstream buffer to read the encoded bitstream from. -
srcBufferOffset
is the starting offset in bytes from the start ofsrcBuffer
to read the encoded bitstream from. -
srcBufferRange
is the size in bytes of the encoded bitstream to decode fromsrcBuffer
, starting fromsrcBufferOffset
. -
dstPictureResource
is the video picture resource to use as the decode output picture. -
pSetupReferenceSlot
isNULL
or a pointer to a VkVideoReferenceSlotInfoKHR structure describing the DPB slot to activate and the video picture resource to use as the reconstructed picture to activate the DPB slot with. -
referenceSlotCount
is the number of elements in thepReferenceSlots
array. -
pReferenceSlots
isNULL
or a pointer to an array of VkVideoReferenceSlotInfoKHR structures describing the DPB slots and corresponding reference picture resources to use in this video decode operation (the set of active reference pictures).
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.