Package org.lwjgl.vulkan
Class VkVideoEncodeH265ReferenceListsEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEncodeH265ReferenceListsEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH265ReferenceListsEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.265 reference frame lists.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_ENCODE_H265_REFERENCE_LISTS_EXTpNextmust beNULL- If
referenceList0EntryCountis not 0,pReferenceList0Entriesmust be a valid pointer to an array ofreferenceList0EntryCountvalidVkVideoEncodeH265DpbSlotInfoEXTstructures - If
referenceList1EntryCountis not 0,pReferenceList1Entriesmust be a valid pointer to an array ofreferenceList1EntryCountvalidVkVideoEncodeH265DpbSlotInfoEXTstructures pReferenceModificationsmust be a valid pointer to a validStdVideoEncodeH265ReferenceModificationsvalue
See Also
VkVideoEncodeH265DpbSlotInfoEXT,VkVideoEncodeH265NaluSliceSegmentEXT,VkVideoEncodeH265VclFrameInfoEXTLayout
struct VkVideoEncodeH265ReferenceListsEXT { VkStructureTypesType(); void const *pNext(); uint8_treferenceList0EntryCount();VkVideoEncodeH265DpbSlotInfoEXTconst *pReferenceList0Entries(); uint8_treferenceList1EntryCount();VkVideoEncodeH265DpbSlotInfoEXTconst *pReferenceList1Entries();StdVideoEncodeH265ReferenceModificationsconst *pReferenceModifications(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEncodeH265ReferenceListsEXT.BufferAn array ofVkVideoEncodeH265ReferenceListsEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXT
PREFERENCELIST0ENTRIES
PREFERENCELIST1ENTRIES
PREFERENCEMODIFICATIONS
REFERENCELIST0ENTRYCOUNT
REFERENCELIST1ENTRYCOUNTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoEncodeH265ReferenceListsEXT(java.nio.ByteBuffer container)Creates aVkVideoEncodeH265ReferenceListsEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEncodeH265ReferenceListsEXTcalloc()Returns a newVkVideoEncodeH265ReferenceListsEXTinstance allocated withmemCalloc.static VkVideoEncodeH265ReferenceListsEXT.Buffercalloc(int capacity)Returns a newVkVideoEncodeH265ReferenceListsEXT.Bufferinstance allocated withmemCalloc.static VkVideoEncodeH265ReferenceListsEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265ReferenceListsEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265ReferenceListsEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265ReferenceListsEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265ReferenceListsEXTcreate()Returns a newVkVideoEncodeH265ReferenceListsEXTinstance allocated withBufferUtils.static VkVideoEncodeH265ReferenceListsEXT.Buffercreate(int capacity)Returns a newVkVideoEncodeH265ReferenceListsEXT.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH265ReferenceListsEXTcreate(long address)Returns a newVkVideoEncodeH265ReferenceListsEXTinstance for the specified memory address.static VkVideoEncodeH265ReferenceListsEXT.Buffercreate(long address, int capacity)Create aVkVideoEncodeH265ReferenceListsEXT.Bufferinstance at the specified memory.static VkVideoEncodeH265ReferenceListsEXTcreateSafe(long address)static VkVideoEncodeH265ReferenceListsEXT.BuffercreateSafe(long address, int capacity)static VkVideoEncodeH265ReferenceListsEXTmalloc()Returns a newVkVideoEncodeH265ReferenceListsEXTinstance allocated withmemAlloc.static VkVideoEncodeH265ReferenceListsEXT.Buffermalloc(int capacity)Returns a newVkVideoEncodeH265ReferenceListsEXT.Bufferinstance allocated withmemAlloc.static VkVideoEncodeH265ReferenceListsEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265ReferenceListsEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH265ReferenceListsEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265ReferenceListsEXTinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static VkVideoEncodeH265DpbSlotInfoEXT.BuffernpReferenceList0Entries(long struct)Unsafe version ofpReferenceList0Entries().static voidnpReferenceList0Entries(long struct, VkVideoEncodeH265DpbSlotInfoEXT.Buffer value)Unsafe version ofpReferenceList0Entries.static VkVideoEncodeH265DpbSlotInfoEXT.BuffernpReferenceList1Entries(long struct)Unsafe version ofpReferenceList1Entries().static voidnpReferenceList1Entries(long struct, VkVideoEncodeH265DpbSlotInfoEXT.Buffer value)Unsafe version ofpReferenceList1Entries.static StdVideoEncodeH265ReferenceModificationsnpReferenceModifications(long struct)Unsafe version ofpReferenceModifications().static voidnpReferenceModifications(long struct, StdVideoEncodeH265ReferenceModifications value)Unsafe version ofpReferenceModifications.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.longpNext()NULLor a pointer to a structure extending this structure.VkVideoEncodeH265ReferenceListsEXTpNext(long value)Sets the specified value to thepNext()field.VkVideoEncodeH265DpbSlotInfoEXT.BufferpReferenceList0Entries()a pointer to an array ofreferenceList0EntryCountVkVideoEncodeH265DpbSlotInfoEXTstructures specifying the reference list L0 entries for the current picture.VkVideoEncodeH265ReferenceListsEXTpReferenceList0Entries(VkVideoEncodeH265DpbSlotInfoEXT.Buffer value)Sets the address of the specifiedVkVideoEncodeH265DpbSlotInfoEXT.Bufferto thepReferenceList0Entries()field.VkVideoEncodeH265DpbSlotInfoEXT.BufferpReferenceList1Entries()a pointer to an array ofreferenceList1EntryCountVkVideoEncodeH265DpbSlotInfoEXTstructures specifying the reference list L1 entries for the current picture.VkVideoEncodeH265ReferenceListsEXTpReferenceList1Entries(VkVideoEncodeH265DpbSlotInfoEXT.Buffer value)Sets the address of the specifiedVkVideoEncodeH265DpbSlotInfoEXT.Bufferto thepReferenceList1Entries()field.StdVideoEncodeH265ReferenceModificationspReferenceModifications()a pointer to aStdVideoEncodeH265ReferenceModificationsstructure specifying reference list modifications.VkVideoEncodeH265ReferenceListsEXTpReferenceModifications(StdVideoEncodeH265ReferenceModifications value)Sets the address of the specifiedStdVideoEncodeH265ReferenceModificationsto thepReferenceModifications()field.bytereferenceList0EntryCount()the number of reference pictures in reference list L0 and is identical toStdVideoEncodeH265SliceSegmentHeader::num_ref_idx_l0_active_minus1+ 1.bytereferenceList1EntryCount()the number of reference pictures in reference list L1 and is identical toStdVideoEncodeH265SliceSegmentHeader::num_ref_idx_l1_active_minus1+ 1.VkVideoEncodeH265ReferenceListsEXTset(int sType, long pNext, VkVideoEncodeH265DpbSlotInfoEXT.Buffer pReferenceList0Entries, VkVideoEncodeH265DpbSlotInfoEXT.Buffer pReferenceList1Entries, StdVideoEncodeH265ReferenceModifications pReferenceModifications)Initializes this struct with the specified values.VkVideoEncodeH265ReferenceListsEXTset(VkVideoEncodeH265ReferenceListsEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoEncodeH265ReferenceListsEXTsType(int value)Sets the specified value to thesType()field.VkVideoEncodeH265ReferenceListsEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_REFERENCE_LISTS_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkVideoEncodeH265ReferenceListsEXT
public VkVideoEncodeH265ReferenceListsEXT(java.nio.ByteBuffer container)
Creates aVkVideoEncodeH265ReferenceListsEXTinstance 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 toStdVideoEncodeH265SliceSegmentHeader::num_ref_idx_l0_active_minus1+ 1.
-
pReferenceList0Entries
@Nullable public VkVideoEncodeH265DpbSlotInfoEXT.Buffer pReferenceList0Entries()
a pointer to an array ofreferenceList0EntryCountVkVideoEncodeH265DpbSlotInfoEXTstructures specifying the reference list L0 entries for the current picture.
-
referenceList1EntryCount
public byte referenceList1EntryCount()
the number of reference pictures in reference list L1 and is identical toStdVideoEncodeH265SliceSegmentHeader::num_ref_idx_l1_active_minus1+ 1.
-
pReferenceList1Entries
@Nullable public VkVideoEncodeH265DpbSlotInfoEXT.Buffer pReferenceList1Entries()
a pointer to an array ofreferenceList1EntryCountVkVideoEncodeH265DpbSlotInfoEXTstructures specifying the reference list L1 entries for the current picture.
-
pReferenceModifications
public StdVideoEncodeH265ReferenceModifications pReferenceModifications()
a pointer to aStdVideoEncodeH265ReferenceModificationsstructure specifying reference list modifications.
-
sType
public VkVideoEncodeH265ReferenceListsEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoEncodeH265ReferenceListsEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_REFERENCE_LISTS_EXTvalue to thesType()field.
-
pNext
public VkVideoEncodeH265ReferenceListsEXT pNext(long value)
Sets the specified value to thepNext()field.
-
pReferenceList0Entries
public VkVideoEncodeH265ReferenceListsEXT pReferenceList0Entries(@Nullable VkVideoEncodeH265DpbSlotInfoEXT.Buffer value)
Sets the address of the specifiedVkVideoEncodeH265DpbSlotInfoEXT.Bufferto thepReferenceList0Entries()field.
-
pReferenceList1Entries
public VkVideoEncodeH265ReferenceListsEXT pReferenceList1Entries(@Nullable VkVideoEncodeH265DpbSlotInfoEXT.Buffer value)
Sets the address of the specifiedVkVideoEncodeH265DpbSlotInfoEXT.Bufferto thepReferenceList1Entries()field.
-
pReferenceModifications
public VkVideoEncodeH265ReferenceListsEXT pReferenceModifications(StdVideoEncodeH265ReferenceModifications value)
Sets the address of the specifiedStdVideoEncodeH265ReferenceModificationsto thepReferenceModifications()field.
-
set
public VkVideoEncodeH265ReferenceListsEXT set(int sType, long pNext, @Nullable VkVideoEncodeH265DpbSlotInfoEXT.Buffer pReferenceList0Entries, @Nullable VkVideoEncodeH265DpbSlotInfoEXT.Buffer pReferenceList1Entries, StdVideoEncodeH265ReferenceModifications pReferenceModifications)
Initializes this struct with the specified values.
-
set
public VkVideoEncodeH265ReferenceListsEXT set(VkVideoEncodeH265ReferenceListsEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEncodeH265ReferenceListsEXT malloc()
Returns a newVkVideoEncodeH265ReferenceListsEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEncodeH265ReferenceListsEXT calloc()
Returns a newVkVideoEncodeH265ReferenceListsEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEncodeH265ReferenceListsEXT create()
Returns a newVkVideoEncodeH265ReferenceListsEXTinstance allocated withBufferUtils.
-
create
public static VkVideoEncodeH265ReferenceListsEXT create(long address)
Returns a newVkVideoEncodeH265ReferenceListsEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEncodeH265ReferenceListsEXT createSafe(long address)
-
malloc
public static VkVideoEncodeH265ReferenceListsEXT.Buffer malloc(int capacity)
Returns a newVkVideoEncodeH265ReferenceListsEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265ReferenceListsEXT.Buffer calloc(int capacity)
Returns a newVkVideoEncodeH265ReferenceListsEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265ReferenceListsEXT.Buffer create(int capacity)
Returns a newVkVideoEncodeH265ReferenceListsEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265ReferenceListsEXT.Buffer create(long address, int capacity)
Create aVkVideoEncodeH265ReferenceListsEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEncodeH265ReferenceListsEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEncodeH265ReferenceListsEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265ReferenceListsEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH265ReferenceListsEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265ReferenceListsEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH265ReferenceListsEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265ReferenceListsEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265ReferenceListsEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265ReferenceListsEXT.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 VkVideoEncodeH265DpbSlotInfoEXT.Buffer npReferenceList0Entries(long struct)
Unsafe version ofpReferenceList0Entries().
-
nreferenceList1EntryCount
public static byte nreferenceList1EntryCount(long struct)
Unsafe version ofreferenceList1EntryCount().
-
npReferenceList1Entries
@Nullable public static VkVideoEncodeH265DpbSlotInfoEXT.Buffer npReferenceList1Entries(long struct)
Unsafe version ofpReferenceList1Entries().
-
npReferenceModifications
public static StdVideoEncodeH265ReferenceModifications npReferenceModifications(long struct)
Unsafe version ofpReferenceModifications().
-
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 VkVideoEncodeH265DpbSlotInfoEXT.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 VkVideoEncodeH265DpbSlotInfoEXT.Buffer value)Unsafe version ofpReferenceList1Entries.
-
npReferenceModifications
public static void npReferenceModifications(long struct, StdVideoEncodeH265ReferenceModifications value)Unsafe version ofpReferenceModifications.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-