Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkVideoBeginCodingInfoKHR

extends Struct<VkVideoBeginCodingInfoKHR>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure specifying video coding scope begin information.
Description

Limiting values are defined below that are referenced by the relevant valid usage statements of this structure.

Valid Usage
Valid Usage (Implicit)
See Also

VkVideoReferenceSlotInfoKHR, CmdBeginVideoCodingKHR

Layout


struct VkVideoBeginCodingInfoKHR {
    VkStructureType sType;
    void const * pNext;
    VkVideoBeginCodingFlagsKHR flags;
    VkVideoSessionKHR videoSession;
    VkVideoSessionParametersKHR videoSessionParameters;
    uint32_t referenceSlotCount;
    VkVideoReferenceSlotInfoKHR const * pReferenceSlots;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

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
REFERENCESLOTCOUNT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

public static final int
VIDEOSESSION

The struct member offsets.

public static final int
VIDEOSESSIONPARAMETERS

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VkVideoBeginCodingInfoKHR(long address, ByteBuffer container)

public
VkVideoBeginCodingInfoKHR(ByteBuffer container)

Creates a VkVideoBeginCodingInfoKHR instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkVideoBeginCodingInfoKHR
calloc()

Returns a new VkVideoBeginCodingInfoKHR instance allocated with memCalloc.

public static VkVideoBeginCodingInfoKHR.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkVideoBeginCodingInfoKHR.Buffer instance allocated with memCalloc.

public static VkVideoBeginCodingInfoKHR
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoBeginCodingInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkVideoBeginCodingInfoKHR.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoBeginCodingInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected VkVideoBeginCodingInfoKHR
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkVideoBeginCodingInfoKHR
create()

Returns a new VkVideoBeginCodingInfoKHR instance allocated with BufferUtils.

public static VkVideoBeginCodingInfoKHR
create(long address)

Returns a new VkVideoBeginCodingInfoKHR instance for the specified memory address.

public static VkVideoBeginCodingInfoKHR.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkVideoBeginCodingInfoKHR.Buffer instance allocated with BufferUtils.

public static VkVideoBeginCodingInfoKHR.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkVideoBeginCodingInfoKHR.Buffer instance at the specified memory.

public static VkVideoBeginCodingInfoKHR
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkVideoBeginCodingInfoKHR.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int
flags()

reserved for future use.

public VkVideoBeginCodingInfoKHR
flags(int value)

Sets the specified value to the flags field.

public static VkVideoBeginCodingInfoKHR
malloc()

Returns a new VkVideoBeginCodingInfoKHR instance allocated with memAlloc.

public static VkVideoBeginCodingInfoKHR.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkVideoBeginCodingInfoKHR.Buffer instance allocated with memAlloc.

public static VkVideoBeginCodingInfoKHR
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoBeginCodingInfoKHR instance allocated on the specified MemoryStack.

public static VkVideoBeginCodingInfoKHR.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoBeginCodingInfoKHR.Buffer instance allocated on the specified MemoryStack.

public static int
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, int value)

Unsafe version of flags.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static VkVideoReferenceSlotInfoKHR.Buffer
npReferenceSlots(long struct)

Unsafe version of pReferenceSlots.

public static void
public static int
nreferenceSlotCount(long struct)

Unsafe version of referenceSlotCount.

public static void
nreferenceSlotCount(long struct, int value)

Sets the specified value to the referenceSlotCount field of the specified struct.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public static long
nvideoSession(long struct)

Unsafe version of videoSession.

public static void
nvideoSession(long struct, long value)

Unsafe version of videoSession.

public static long
nvideoSessionParameters(long struct)

Unsafe version of videoSessionParameters.

public static void
nvideoSessionParameters(long struct, long value)

Unsafe version of videoSessionParameters.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkVideoBeginCodingInfoKHR
pNext(long value)

Sets the specified value to the pNext field.

public VkVideoBeginCodingInfoKHR
pNext(VkVideoEncodeH264GopRemainingFrameInfoEXT value)

Prepends the specified VkVideoEncodeH264GopRemainingFrameInfoEXT value to the pNext chain.

public VkVideoBeginCodingInfoKHR
pNext(VkVideoEncodeH264RateControlInfoEXT value)

Prepends the specified VkVideoEncodeH264RateControlInfoEXT value to the pNext chain.

public VkVideoBeginCodingInfoKHR
pNext(VkVideoEncodeH265GopRemainingFrameInfoEXT value)

Prepends the specified VkVideoEncodeH265GopRemainingFrameInfoEXT value to the pNext chain.

public VkVideoBeginCodingInfoKHR
pNext(VkVideoEncodeH265RateControlInfoEXT value)

Prepends the specified VkVideoEncodeH265RateControlInfoEXT value to the pNext chain.

public VkVideoBeginCodingInfoKHR
pNext(VkVideoEncodeRateControlInfoKHR value)

Prepends the specified VkVideoEncodeRateControlInfoKHR value to the pNext chain.

public VkVideoReferenceSlotInfoKHR.Buffer
pReferenceSlots()

a pointer to an array of VkVideoReferenceSlotInfoKHR structures specifying the information used to determine the set of bound reference picture resources for the video coding scope and their initial association with DPB slot indices.

public VkVideoBeginCodingInfoKHR
public int
referenceSlotCount()

the number of elements in the pReferenceSlots array.

public VkVideoBeginCodingInfoKHR
set(int sType, long pNext, int flags, long videoSession, long videoSessionParameters, VkVideoReferenceSlotInfoKHR.Buffer pReferenceSlots)

Initializes this struct with the specified values.

public VkVideoBeginCodingInfoKHR

Returns:

this struct
set
(VkVideoBeginCodingInfoKHR
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkVideoBeginCodingInfoKHR
sType(int value)

Sets the specified value to the sType field.

public VkVideoBeginCodingInfoKHR
public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

public long
videoSession()

the video session object to be bound for the processing of the video commands.

public VkVideoBeginCodingInfoKHR
videoSession(long value)

Sets the specified value to the videoSession field.

public long
videoSessionParameters()

NULL_HANDLE or a handle of a VkVideoSessionParametersKHR object to be used for the processing of the video commands.

public VkVideoBeginCodingInfoKHR
videoSessionParameters(long value)

Sets the specified value to the videoSessionParameters field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate