Class VkVideoEncodeInfoKHR

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

public class VkVideoEncodeInfoKHR extends org.lwjgl.system.Struct<VkVideoEncodeInfoKHR> implements org.lwjgl.system.NativeResource
Structure specifying video encode parameters.
Valid Usage
  • dstBuffer must have been created with BUFFER_USAGE_VIDEO_ENCODE_DST_BIT_KHR set
  • dstBufferOffset must be less than the size of dstBuffer
  • dstBufferRange must be less than or equal to the size of dstBuffer minus dstBufferOffset
  • 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, CmdEncodeVideoKHR

Layout


 struct VkVideoEncodeInfoKHR {
     VkStructureType sType();
     void const * pNext();
     VkVideoEncodeFlagsKHR flags();
     VkBuffer dstBuffer();
     VkDeviceSize dstBufferOffset();
     VkDeviceSize dstBufferRange();
     VkVideoPictureResourceInfoKHR srcPictureResource();
     VkVideoReferenceSlotInfoKHR const * pSetupReferenceSlot();
     uint32_t referenceSlotCount();
     VkVideoReferenceSlotInfoKHR const * pReferenceSlots();
     uint32_t precedingExternallyEncodedBytes();
 }