Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265ReferenceModifications
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoEncodeH265ReferenceModifications
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoEncodeH265ReferenceModifications extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoEncodeH265ReferenceModifications {StdVideoEncodeH265ReferenceModificationFlagsflags; uint8_treferenceList0ModificationsCount(); uint8_t *pReferenceList0Modifications(int); uint8_treferenceList1ModificationsCount(); uint8_t *pReferenceList1Modifications(int); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoEncodeH265ReferenceModifications.BufferAn array ofStdVideoEncodeH265ReferenceModificationsstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFLAGS
PREFERENCELIST0MODIFICATIONS
PREFERENCELIST1MODIFICATIONS
REFERENCELIST0MODIFICATIONSCOUNT
REFERENCELIST1MODIFICATIONSCOUNTThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description StdVideoEncodeH265ReferenceModifications(java.nio.ByteBuffer container)Creates aStdVideoEncodeH265ReferenceModificationsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoEncodeH265ReferenceModificationscalloc()Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated withmemCalloc.static StdVideoEncodeH265ReferenceModifications.Buffercalloc(int capacity)Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated withmemCalloc.static StdVideoEncodeH265ReferenceModifications.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH265ReferenceModificationscalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH265ReferenceModificationscreate()Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated withBufferUtils.static StdVideoEncodeH265ReferenceModifications.Buffercreate(int capacity)Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated withBufferUtils.static StdVideoEncodeH265ReferenceModificationscreate(long address)Returns a newStdVideoEncodeH265ReferenceModificationsinstance for the specified memory address.static StdVideoEncodeH265ReferenceModifications.Buffercreate(long address, int capacity)Create aStdVideoEncodeH265ReferenceModifications.Bufferinstance at the specified memory.static StdVideoEncodeH265ReferenceModificationscreateSafe(long address)static StdVideoEncodeH265ReferenceModifications.BuffercreateSafe(long address, int capacity)StdVideoEncodeH265ReferenceModificationFlagsflags()StdVideoEncodeH265ReferenceModificationsflags(java.util.function.Consumer<StdVideoEncodeH265ReferenceModificationFlags> consumer)Passes theflagsfield to the specifiedConsumer.StdVideoEncodeH265ReferenceModificationsflags(StdVideoEncodeH265ReferenceModificationFlags value)Copies the specifiedStdVideoEncodeH265ReferenceModificationFlagsto theflagsfield.static StdVideoEncodeH265ReferenceModificationsmalloc()Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated withmemAlloc.static StdVideoEncodeH265ReferenceModifications.Buffermalloc(int capacity)Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated withmemAlloc.static StdVideoEncodeH265ReferenceModifications.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH265ReferenceModificationsmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH265ReferenceModificationFlagsnflags(long struct)Unsafe version offlags().static voidnflags(long struct, StdVideoEncodeH265ReferenceModificationFlags value)Unsafe version offlags.static java.nio.ByteBuffernpReferenceList0Modifications(long struct, int capacity)Unsafe version ofpReferenceList0Modifications.static voidnpReferenceList0Modifications(long struct, java.nio.ByteBuffer value)Unsafe version ofpReferenceList0Modifications.static java.nio.ByteBuffernpReferenceList1Modifications(long struct, int capacity)Unsafe version ofpReferenceList1Modifications.static voidnpReferenceList1Modifications(long struct, java.nio.ByteBuffer value)Unsafe version ofpReferenceList1Modifications.static bytenreferenceList0ModificationsCount(long struct)Unsafe version ofreferenceList0ModificationsCount().static voidnreferenceList0ModificationsCount(long struct, byte value)Unsafe version ofreferenceList0ModificationsCount.static bytenreferenceList1ModificationsCount(long struct)Unsafe version ofreferenceList1ModificationsCount().static voidnreferenceList1ModificationsCount(long struct, byte value)Unsafe version ofreferenceList1ModificationsCount.java.nio.ByteBufferpReferenceList0Modifications(int capacity)StdVideoEncodeH265ReferenceModificationspReferenceList0Modifications(java.nio.ByteBuffer value)Sets the address of the specifiedByteBufferto thepReferenceList0Modifications(int)field.java.nio.ByteBufferpReferenceList1Modifications(int capacity)StdVideoEncodeH265ReferenceModificationspReferenceList1Modifications(java.nio.ByteBuffer value)Sets the address of the specifiedByteBufferto thepReferenceList1Modifications(int)field.bytereferenceList0ModificationsCount()num_ref_idx_l0_active_minus1StdVideoEncodeH265ReferenceModificationsreferenceList0ModificationsCount(byte value)Sets the specified value to thereferenceList0ModificationsCount()field.bytereferenceList1ModificationsCount()num_ref_idx_l1_active_minus1StdVideoEncodeH265ReferenceModificationsreferenceList1ModificationsCount(byte value)Sets the specified value to thereferenceList1ModificationsCount()field.StdVideoEncodeH265ReferenceModificationsset(StdVideoEncodeH265ReferenceModificationFlags flags, byte referenceList0ModificationsCount, java.nio.ByteBuffer pReferenceList0Modifications, byte referenceList1ModificationsCount, java.nio.ByteBuffer pReferenceList1Modifications)Initializes this struct with the specified values.StdVideoEncodeH265ReferenceModificationsset(StdVideoEncodeH265ReferenceModifications src)Copies the specified struct data to this struct.intsizeof()static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
StdVideoEncodeH265ReferenceModifications
public StdVideoEncodeH265ReferenceModifications(java.nio.ByteBuffer container)
Creates aStdVideoEncodeH265ReferenceModificationsinstance 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
-
flags
public StdVideoEncodeH265ReferenceModificationFlags flags()
- Returns:
- a
StdVideoEncodeH265ReferenceModificationFlagsview of theflagsfield.
-
referenceList0ModificationsCount
public byte referenceList0ModificationsCount()
num_ref_idx_l0_active_minus1
-
pReferenceList0Modifications
public java.nio.ByteBuffer pReferenceList0Modifications(int capacity)
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- list_entry_l0
-
referenceList1ModificationsCount
public byte referenceList1ModificationsCount()
num_ref_idx_l1_active_minus1
-
pReferenceList1Modifications
public java.nio.ByteBuffer pReferenceList1Modifications(int capacity)
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- list_entry_l1
-
flags
public StdVideoEncodeH265ReferenceModifications flags(StdVideoEncodeH265ReferenceModificationFlags value)
Copies the specifiedStdVideoEncodeH265ReferenceModificationFlagsto theflagsfield.
-
flags
public StdVideoEncodeH265ReferenceModifications flags(java.util.function.Consumer<StdVideoEncodeH265ReferenceModificationFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
referenceList0ModificationsCount
public StdVideoEncodeH265ReferenceModifications referenceList0ModificationsCount(byte value)
Sets the specified value to thereferenceList0ModificationsCount()field.
-
pReferenceList0Modifications
public StdVideoEncodeH265ReferenceModifications pReferenceList0Modifications(java.nio.ByteBuffer value)
Sets the address of the specifiedByteBufferto thepReferenceList0Modifications(int)field.
-
referenceList1ModificationsCount
public StdVideoEncodeH265ReferenceModifications referenceList1ModificationsCount(byte value)
Sets the specified value to thereferenceList1ModificationsCount()field.
-
pReferenceList1Modifications
public StdVideoEncodeH265ReferenceModifications pReferenceList1Modifications(java.nio.ByteBuffer value)
Sets the address of the specifiedByteBufferto thepReferenceList1Modifications(int)field.
-
set
public StdVideoEncodeH265ReferenceModifications set(StdVideoEncodeH265ReferenceModificationFlags flags, byte referenceList0ModificationsCount, java.nio.ByteBuffer pReferenceList0Modifications, byte referenceList1ModificationsCount, java.nio.ByteBuffer pReferenceList1Modifications)
Initializes this struct with the specified values.
-
set
public StdVideoEncodeH265ReferenceModifications set(StdVideoEncodeH265ReferenceModifications src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoEncodeH265ReferenceModifications malloc()
Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoEncodeH265ReferenceModifications calloc()
Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoEncodeH265ReferenceModifications create()
Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated withBufferUtils.
-
create
public static StdVideoEncodeH265ReferenceModifications create(long address)
Returns a newStdVideoEncodeH265ReferenceModificationsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoEncodeH265ReferenceModifications createSafe(long address)
-
malloc
public static StdVideoEncodeH265ReferenceModifications.Buffer malloc(int capacity)
Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoEncodeH265ReferenceModifications.Buffer calloc(int capacity)
Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH265ReferenceModifications.Buffer create(int capacity)
Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH265ReferenceModifications.Buffer create(long address, int capacity)
Create aStdVideoEncodeH265ReferenceModifications.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoEncodeH265ReferenceModifications.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoEncodeH265ReferenceModifications malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoEncodeH265ReferenceModifications calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoEncodeH265ReferenceModifications.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoEncodeH265ReferenceModifications.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nflags
public static StdVideoEncodeH265ReferenceModificationFlags nflags(long struct)
Unsafe version offlags().
-
nreferenceList0ModificationsCount
public static byte nreferenceList0ModificationsCount(long struct)
Unsafe version ofreferenceList0ModificationsCount().
-
npReferenceList0Modifications
public static java.nio.ByteBuffer npReferenceList0Modifications(long struct, int capacity)Unsafe version ofpReferenceList0Modifications.
-
nreferenceList1ModificationsCount
public static byte nreferenceList1ModificationsCount(long struct)
Unsafe version ofreferenceList1ModificationsCount().
-
npReferenceList1Modifications
public static java.nio.ByteBuffer npReferenceList1Modifications(long struct, int capacity)Unsafe version ofpReferenceList1Modifications.
-
nflags
public static void nflags(long struct, StdVideoEncodeH265ReferenceModificationFlags value)Unsafe version offlags.
-
nreferenceList0ModificationsCount
public static void nreferenceList0ModificationsCount(long struct, byte value)Unsafe version ofreferenceList0ModificationsCount.
-
npReferenceList0Modifications
public static void npReferenceList0Modifications(long struct, java.nio.ByteBuffer value)Unsafe version ofpReferenceList0Modifications.
-
nreferenceList1ModificationsCount
public static void nreferenceList1ModificationsCount(long struct, byte value)Unsafe version ofreferenceList1ModificationsCount.
-
npReferenceList1Modifications
public static void npReferenceList1Modifications(long struct, java.nio.ByteBuffer value)Unsafe version ofpReferenceList1Modifications.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-