Package org.lwjgl.vulkan
Class VkVideoEncodeH264ReferenceListsEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEncodeH264ReferenceListsEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH264ReferenceListsEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.264 reference frame lists.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_ENCODE_H264_REFERENCE_LISTS_EXTpNextmust beNULL- If
referenceList0EntryCountis not 0,pReferenceList0Entriesmust be a valid pointer to an array ofreferenceList0EntryCountvalidVkVideoEncodeH264DpbSlotInfoEXTstructures - If
referenceList1EntryCountis not 0,pReferenceList1Entriesmust be a valid pointer to an array ofreferenceList1EntryCountvalidVkVideoEncodeH264DpbSlotInfoEXTstructures pMemMgmtCtrlOperationsmust be a valid pointer to a validStdVideoEncodeH264RefMemMgmtCtrlOperationsvalue
See Also
VkVideoEncodeH264DpbSlotInfoEXT,VkVideoEncodeH264NaluSliceEXT,VkVideoEncodeH264VclFrameInfoEXTLayout
struct VkVideoEncodeH264ReferenceListsEXT { VkStructureTypesType(); void const *pNext(); uint8_treferenceList0EntryCount();VkVideoEncodeH264DpbSlotInfoEXTconst *pReferenceList0Entries(); uint8_treferenceList1EntryCount();VkVideoEncodeH264DpbSlotInfoEXTconst *pReferenceList1Entries();StdVideoEncodeH264RefMemMgmtCtrlOperationsconst *pMemMgmtCtrlOperations(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEncodeH264ReferenceListsEXT.BufferAn array ofVkVideoEncodeH264ReferenceListsEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPMEMMGMTCTRLOPERATIONS
PNEXT
PREFERENCELIST0ENTRIES
PREFERENCELIST1ENTRIES
REFERENCELIST0ENTRYCOUNT
REFERENCELIST1ENTRYCOUNTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoEncodeH264ReferenceListsEXT(java.nio.ByteBuffer container)Creates aVkVideoEncodeH264ReferenceListsEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEncodeH264ReferenceListsEXTcalloc()Returns a newVkVideoEncodeH264ReferenceListsEXTinstance allocated withmemCalloc.static VkVideoEncodeH264ReferenceListsEXT.Buffercalloc(int capacity)Returns a newVkVideoEncodeH264ReferenceListsEXT.Bufferinstance allocated withmemCalloc.static VkVideoEncodeH264ReferenceListsEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264ReferenceListsEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH264ReferenceListsEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264ReferenceListsEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH264ReferenceListsEXTcreate()Returns a newVkVideoEncodeH264ReferenceListsEXTinstance allocated withBufferUtils.static VkVideoEncodeH264ReferenceListsEXT.Buffercreate(int capacity)Returns a newVkVideoEncodeH264ReferenceListsEXT.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH264ReferenceListsEXTcreate(long address)Returns a newVkVideoEncodeH264ReferenceListsEXTinstance for the specified memory address.static VkVideoEncodeH264ReferenceListsEXT.Buffercreate(long address, int capacity)Create aVkVideoEncodeH264ReferenceListsEXT.Bufferinstance at the specified memory.static VkVideoEncodeH264ReferenceListsEXTcreateSafe(long address)static VkVideoEncodeH264ReferenceListsEXT.BuffercreateSafe(long address, int capacity)static VkVideoEncodeH264ReferenceListsEXTmalloc()Returns a newVkVideoEncodeH264ReferenceListsEXTinstance allocated withmemAlloc.static VkVideoEncodeH264ReferenceListsEXT.Buffermalloc(int capacity)Returns a newVkVideoEncodeH264ReferenceListsEXT.Bufferinstance allocated withmemAlloc.static VkVideoEncodeH264ReferenceListsEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264ReferenceListsEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH264ReferenceListsEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264ReferenceListsEXTinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH264RefMemMgmtCtrlOperationsnpMemMgmtCtrlOperations(long struct)Unsafe version ofpMemMgmtCtrlOperations().static voidnpMemMgmtCtrlOperations(long struct, StdVideoEncodeH264RefMemMgmtCtrlOperations value)Unsafe version ofpMemMgmtCtrlOperations.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static VkVideoEncodeH264DpbSlotInfoEXT.BuffernpReferenceList0Entries(long struct)Unsafe version ofpReferenceList0Entries().static voidnpReferenceList0Entries(long struct, VkVideoEncodeH264DpbSlotInfoEXT.Buffer value)Unsafe version ofpReferenceList0Entries.static VkVideoEncodeH264DpbSlotInfoEXT.BuffernpReferenceList1Entries(long struct)Unsafe version ofpReferenceList1Entries().static voidnpReferenceList1Entries(long struct, VkVideoEncodeH264DpbSlotInfoEXT.Buffer value)Unsafe version ofpReferenceList1Entries.static bytenreferenceList0EntryCount(long struct)Unsafe version ofreferenceList0EntryCount().static voidnreferenceList0EntryCount(long struct, byte value)Sets the specified value to thereferenceList0EntryCountfield of the specifiedstruct.static bytenreferenceList1EntryCount(long struct)Unsafe version ofreferenceList1EntryCount().static voidnreferenceList1EntryCount(long struct, byte value)Sets the specified value to thereferenceList1EntryCountfield of the specifiedstruct.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.StdVideoEncodeH264RefMemMgmtCtrlOperationspMemMgmtCtrlOperations()a pointer to aStdVideoEncodeH264RefMemMgmtCtrlOperationsstructure specifying reference lists modifications and decoded picture marking operations.VkVideoEncodeH264ReferenceListsEXTpMemMgmtCtrlOperations(StdVideoEncodeH264RefMemMgmtCtrlOperations value)Sets the address of the specifiedStdVideoEncodeH264RefMemMgmtCtrlOperationsto thepMemMgmtCtrlOperations()field.longpNext()NULLor a pointer to a structure extending this structure.VkVideoEncodeH264ReferenceListsEXTpNext(long value)Sets the specified value to thepNext()field.VkVideoEncodeH264DpbSlotInfoEXT.BufferpReferenceList0Entries()a pointer to an array ofreferenceList0EntryCountVkVideoEncodeH264DpbSlotInfoEXTstructures specifying the reference list L0 entries for the current picture.VkVideoEncodeH264ReferenceListsEXTpReferenceList0Entries(VkVideoEncodeH264DpbSlotInfoEXT.Buffer value)Sets the address of the specifiedVkVideoEncodeH264DpbSlotInfoEXT.Bufferto thepReferenceList0Entries()field.VkVideoEncodeH264DpbSlotInfoEXT.BufferpReferenceList1Entries()a pointer to an array ofreferenceList1EntryCountVkVideoEncodeH264DpbSlotInfoEXTstructures specifying the reference list L1 entries for the current picture.VkVideoEncodeH264ReferenceListsEXTpReferenceList1Entries(VkVideoEncodeH264DpbSlotInfoEXT.Buffer value)Sets the address of the specifiedVkVideoEncodeH264DpbSlotInfoEXT.Bufferto thepReferenceList1Entries()field.bytereferenceList0EntryCount()the number of reference pictures in reference list L0 and is identical toStdVideoEncodeH264SliceHeader::num_ref_idx_l0_active_minus1+ 1.bytereferenceList1EntryCount()the number of reference pictures in reference list L1 and is identical toStdVideoEncodeH264SliceHeader::num_ref_idx_l1_active_minus1+ 1.VkVideoEncodeH264ReferenceListsEXTset(int sType, long pNext, VkVideoEncodeH264DpbSlotInfoEXT.Buffer pReferenceList0Entries, VkVideoEncodeH264DpbSlotInfoEXT.Buffer pReferenceList1Entries, StdVideoEncodeH264RefMemMgmtCtrlOperations pMemMgmtCtrlOperations)Initializes this struct with the specified values.VkVideoEncodeH264ReferenceListsEXTset(VkVideoEncodeH264ReferenceListsEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoEncodeH264ReferenceListsEXTsType(int value)Sets the specified value to thesType()field.VkVideoEncodeH264ReferenceListsEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H264_REFERENCE_LISTS_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkVideoEncodeH264ReferenceListsEXT
public VkVideoEncodeH264ReferenceListsEXT(java.nio.ByteBuffer container)
Creates aVkVideoEncodeH264ReferenceListsEXTinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
referenceList0EntryCount
public byte referenceList0EntryCount()
the number of reference pictures in reference list L0 and is identical toStdVideoEncodeH264SliceHeader::num_ref_idx_l0_active_minus1+ 1.
-
pReferenceList0Entries
@Nullable public VkVideoEncodeH264DpbSlotInfoEXT.Buffer pReferenceList0Entries()
a pointer to an array ofreferenceList0EntryCountVkVideoEncodeH264DpbSlotInfoEXTstructures specifying the reference list L0 entries for the current picture. The entries provided must be ordered after all reference list L0 modification operations are applied (i.e. final list order). The entries provided must not reflect decoded picture marking operations in this frame that are applicable to references; the impact of such operations must be reflected in future frame encode commands. The slot index in each entry must match one of the slot indexes provided in thepReferenceSlotsof the parentVkVideoEncodeInfoKHRstructure.
-
referenceList1EntryCount
public byte referenceList1EntryCount()
the number of reference pictures in reference list L1 and is identical toStdVideoEncodeH264SliceHeader::num_ref_idx_l1_active_minus1+ 1.
-
pReferenceList1Entries
@Nullable public VkVideoEncodeH264DpbSlotInfoEXT.Buffer pReferenceList1Entries()
a pointer to an array ofreferenceList1EntryCountVkVideoEncodeH264DpbSlotInfoEXTstructures specifying the reference list L1 entries for the current picture. The entries provided must be ordered after all reference list L1 modification operations are applied (i.e. final list order). The entries provided must not reflect decoded picture marking operations in this frame that are applicable to references; the impact of such operations must be reflected in future frame encode commands. The slot index in each entry must match one of the slot indexes provided in thepReferenceSlotsof the parentVkVideoEncodeInfoKHRstructure.
-
pMemMgmtCtrlOperations
public StdVideoEncodeH264RefMemMgmtCtrlOperations pMemMgmtCtrlOperations()
a pointer to aStdVideoEncodeH264RefMemMgmtCtrlOperationsstructure specifying reference lists modifications and decoded picture marking operations.
-
sType
public VkVideoEncodeH264ReferenceListsEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoEncodeH264ReferenceListsEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H264_REFERENCE_LISTS_EXTvalue to thesType()field.
-
pNext
public VkVideoEncodeH264ReferenceListsEXT pNext(long value)
Sets the specified value to thepNext()field.
-
pReferenceList0Entries
public VkVideoEncodeH264ReferenceListsEXT pReferenceList0Entries(@Nullable VkVideoEncodeH264DpbSlotInfoEXT.Buffer value)
Sets the address of the specifiedVkVideoEncodeH264DpbSlotInfoEXT.Bufferto thepReferenceList0Entries()field.
-
pReferenceList1Entries
public VkVideoEncodeH264ReferenceListsEXT pReferenceList1Entries(@Nullable VkVideoEncodeH264DpbSlotInfoEXT.Buffer value)
Sets the address of the specifiedVkVideoEncodeH264DpbSlotInfoEXT.Bufferto thepReferenceList1Entries()field.
-
pMemMgmtCtrlOperations
public VkVideoEncodeH264ReferenceListsEXT pMemMgmtCtrlOperations(StdVideoEncodeH264RefMemMgmtCtrlOperations value)
Sets the address of the specifiedStdVideoEncodeH264RefMemMgmtCtrlOperationsto thepMemMgmtCtrlOperations()field.
-
set
public VkVideoEncodeH264ReferenceListsEXT set(int sType, long pNext, @Nullable VkVideoEncodeH264DpbSlotInfoEXT.Buffer pReferenceList0Entries, @Nullable VkVideoEncodeH264DpbSlotInfoEXT.Buffer pReferenceList1Entries, StdVideoEncodeH264RefMemMgmtCtrlOperations pMemMgmtCtrlOperations)
Initializes this struct with the specified values.
-
set
public VkVideoEncodeH264ReferenceListsEXT set(VkVideoEncodeH264ReferenceListsEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEncodeH264ReferenceListsEXT malloc()
Returns a newVkVideoEncodeH264ReferenceListsEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEncodeH264ReferenceListsEXT calloc()
Returns a newVkVideoEncodeH264ReferenceListsEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEncodeH264ReferenceListsEXT create()
Returns a newVkVideoEncodeH264ReferenceListsEXTinstance allocated withBufferUtils.
-
create
public static VkVideoEncodeH264ReferenceListsEXT create(long address)
Returns a newVkVideoEncodeH264ReferenceListsEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEncodeH264ReferenceListsEXT createSafe(long address)
-
malloc
public static VkVideoEncodeH264ReferenceListsEXT.Buffer malloc(int capacity)
Returns a newVkVideoEncodeH264ReferenceListsEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEncodeH264ReferenceListsEXT.Buffer calloc(int capacity)
Returns a newVkVideoEncodeH264ReferenceListsEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH264ReferenceListsEXT.Buffer create(int capacity)
Returns a newVkVideoEncodeH264ReferenceListsEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH264ReferenceListsEXT.Buffer create(long address, int capacity)
Create aVkVideoEncodeH264ReferenceListsEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEncodeH264ReferenceListsEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEncodeH264ReferenceListsEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264ReferenceListsEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH264ReferenceListsEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264ReferenceListsEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH264ReferenceListsEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264ReferenceListsEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEncodeH264ReferenceListsEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264ReferenceListsEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nreferenceList0EntryCount
public static byte nreferenceList0EntryCount(long struct)
Unsafe version ofreferenceList0EntryCount().
-
npReferenceList0Entries
@Nullable public static VkVideoEncodeH264DpbSlotInfoEXT.Buffer npReferenceList0Entries(long struct)
Unsafe version ofpReferenceList0Entries().
-
nreferenceList1EntryCount
public static byte nreferenceList1EntryCount(long struct)
Unsafe version ofreferenceList1EntryCount().
-
npReferenceList1Entries
@Nullable public static VkVideoEncodeH264DpbSlotInfoEXT.Buffer npReferenceList1Entries(long struct)
Unsafe version ofpReferenceList1Entries().
-
npMemMgmtCtrlOperations
public static StdVideoEncodeH264RefMemMgmtCtrlOperations npMemMgmtCtrlOperations(long struct)
Unsafe version ofpMemMgmtCtrlOperations().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nreferenceList0EntryCount
public static void nreferenceList0EntryCount(long struct, byte value)Sets the specified value to thereferenceList0EntryCountfield of the specifiedstruct.
-
npReferenceList0Entries
public static void npReferenceList0Entries(long struct, @Nullable VkVideoEncodeH264DpbSlotInfoEXT.Buffer value)Unsafe version ofpReferenceList0Entries.
-
nreferenceList1EntryCount
public static void nreferenceList1EntryCount(long struct, byte value)Sets the specified value to thereferenceList1EntryCountfield of the specifiedstruct.
-
npReferenceList1Entries
public static void npReferenceList1Entries(long struct, @Nullable VkVideoEncodeH264DpbSlotInfoEXT.Buffer value)Unsafe version ofpReferenceList1Entries.
-
npMemMgmtCtrlOperations
public static void npMemMgmtCtrlOperations(long struct, StdVideoEncodeH264RefMemMgmtCtrlOperations value)Unsafe version ofpMemMgmtCtrlOperations.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-