Class VkVideoDecodeInfoKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoDecodeInfoKHR>
org.lwjgl.vulkan.VkVideoDecodeInfoKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkVideoDecodeInfoKHR extends org.lwjgl.system.Struct<VkVideoDecodeInfoKHR> implements org.lwjgl.system.NativeResource
Structure specifying video decode parameters.
Valid Usage
  • srcBuffer must have been created with BUFFER_USAGE_VIDEO_DECODE_SRC_BIT_KHR set
  • srcBufferOffset must be less than the size of srcBuffer
  • srcBufferRange must be less than or equal to the size of srcBuffer minus srcBufferOffset
  • If pSetupReferenceSlot is not NULL, then its slotIndex member must not be negative
  • If pSetupReferenceSlot is not NULL, then its pPictureResource must not be NULL
  • The slotIndex member of each element of pReferenceSlots must not be negative
  • The pPictureResource member of each element of pReferenceSlots must not be NULL
Valid Usage (Implicit)
See Also

VkVideoPictureResourceInfoKHR, VkVideoReferenceSlotInfoKHR, CmdDecodeVideoKHR

Layout


 struct VkVideoDecodeInfoKHR {
     VkStructureType sType();
     void const * pNext();
     VkVideoDecodeFlagsKHR flags();
     VkBuffer srcBuffer();
     VkDeviceSize srcBufferOffset();
     VkDeviceSize srcBufferRange();
     VkVideoPictureResourceInfoKHR dstPictureResource();
     VkVideoReferenceSlotInfoKHR const * pSetupReferenceSlot();
     uint32_t referenceSlotCount();
     VkVideoReferenceSlotInfoKHR const * pReferenceSlots();
 }