srcBuffer must have been created with BUFFER_USAGE_VIDEO_DECODE_SRC_BIT_KHR setsrcBufferOffset must be less than the size of srcBuffersrcBufferRange must be less than or equal to the size of srcBuffer minus srcBufferOffsetpSetupReferenceSlot is not NULL, then its slotIndex member must not be negativepSetupReferenceSlot is not NULL, then its pPictureResource must not be NULLslotIndex member of each element of pReferenceSlots must not be negativepPictureResource member of each element of pReferenceSlots must not be NULLsType must be STRUCTURE_TYPE_VIDEO_DECODE_INFO_KHRpNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkVideoDecodeH264PictureInfoKHR or VkVideoDecodeH265PictureInfoKHRsType value of each struct in the pNext chain must be uniqueflags must be 0srcBuffer must be a valid VkBuffer handledstPictureResource must be a valid VkVideoPictureResourceInfoKHR structurepSetupReferenceSlot is not NULL, pSetupReferenceSlot must be a valid pointer to a valid VkVideoReferenceSlotInfoKHR structurereferenceSlotCount is not 0, pReferenceSlots must be a valid pointer to an array of referenceSlotCount valid VkVideoReferenceSlotInfoKHR structuresVkVideoPictureResourceInfoKHR, VkVideoReferenceSlotInfoKHR, CmdDecodeVideoKHR
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;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkVideoDecodeInfoKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DSTPICTURERESOURCE
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PREFERENCESLOTS
The struct member offsets. |
| public static final int | PSETUPREFERENCESLOT
The struct member offsets. |
| public static final int | REFERENCESLOTCOUNT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SRCBUFFER
The struct member offsets. |
| public static final int | SRCBUFFEROFFSET
The struct member offsets. |
| public static final int | SRCBUFFERRANGE
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkVideoDecodeInfoKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkVideoDecodeInfoKHR | |
| public static VkVideoDecodeInfoKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkVideoDecodeInfoKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVideoDecodeInfoKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkVideoDecodeInfoKHR | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkVideoDecodeInfoKHR | |
| public static VkVideoDecodeInfoKHR | |
| public static VkVideoDecodeInfoKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkVideoDecodeInfoKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkVideoDecodeInfoKHR | |
| public static VkVideoDecodeInfoKHR. | |
| public VkVideoPictureResourceInfoKHR | |
| public VkVideoDecodeInfoKHR | dstPictureResource(VkVideoPictureResourceInfoKHR value)
Copies the specified |
| public VkVideoDecodeInfoKHR | dstPictureResource(Consumer<VkVideoPictureResourceInfoKHR> consumer)
Passes the |
| public int | |
| public VkVideoDecodeInfoKHR | |
| public static VkVideoDecodeInfoKHR | |
| public static VkVideoDecodeInfoKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkVideoDecodeInfoKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVideoDecodeInfoKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkVideoPictureResourceInfoKHR | |
| public static void | ndstPictureResource(long struct, VkVideoPictureResourceInfoKHR value)
Unsafe version of |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static VkVideoReferenceSlotInfoKHR. | |
| public static void | npReferenceSlots(long struct, VkVideoReferenceSlotInfoKHR.
Unsafe version of |
| public static VkVideoReferenceSlotInfoKHR | |
| public static void | npSetupReferenceSlot(long struct, VkVideoReferenceSlotInfoKHR value)
Unsafe version of |
| public static int | |
| public static void | nreferenceSlotCount(long struct, int value)
Sets the specified value to the |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkVideoDecodeInfoKHR | |
| public VkVideoDecodeInfoKHR | pNext(VkVideoDecodeH264PictureInfoKHR value)
Prepends the specified |
| public VkVideoDecodeInfoKHR | pNext(VkVideoDecodeH265PictureInfoKHR value)
Prepends the specified |
| public VkVideoReferenceSlotInfoKHR. | pReferenceSlots()
|
| public VkVideoDecodeInfoKHR | pReferenceSlots(VkVideoReferenceSlotInfoKHR.
Sets the address of the specified |
| public VkVideoReferenceSlotInfoKHR | pSetupReferenceSlot()
|
| public VkVideoDecodeInfoKHR | pSetupReferenceSlot(VkVideoReferenceSlotInfoKHR value)
Sets the address of the specified |
| public int | |
| public VkVideoDecodeInfoKHR | set(int sType, long pNext, int flags, long srcBuffer, long srcBufferOffset, long srcBufferRange, VkVideoPictureResourceInfoKHR dstPictureResource, VkVideoReferenceSlotInfoKHR pSetupReferenceSlot, VkVideoReferenceSlotInfoKHR.
Initializes this struct with the specified values. |
| public VkVideoDecodeInfoKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public VkVideoDecodeInfoKHR | |
| public long | srcBufferOffset()
the starting offset in bytes from the start of |
| public VkVideoDecodeInfoKHR | |
| public long | srcBufferRange()
the size in bytes of the encoded bitstream to decode from |
| public VkVideoDecodeInfoKHR | |
| public int | |
| public VkVideoDecodeInfoKHR | |
| public VkVideoDecodeInfoKHR | |
| public static void |