Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265ReferenceModifications
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoEncodeH265ReferenceModifications>
org.lwjgl.vulkan.video.StdVideoEncodeH265ReferenceModifications
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoEncodeH265ReferenceModifications
extends Struct<StdVideoEncodeH265ReferenceModifications>
implements NativeResource
struct StdVideoEncodeH265ReferenceModifications {
{@link StdVideoEncodeH265ReferenceModificationFlags StdVideoEncodeH265ReferenceModificationFlags} flags;
uint8_t num_ref_idx_l0_active_minus1;
uint8_t num_ref_idx_l1_active_minus1;
uint16_t reserved1;
uint8_t RefPicList0[STD_VIDEO_H265_MAX_NUM_LIST_REF];
uint8_t RefPicList1[STD_VIDEO_H265_MAX_NUM_LIST_REF];
uint8_t list_entry_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF];
uint8_t list_entry_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF];
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofStdVideoEncodeH265ReferenceModifications
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aStdVideoEncodeH265ReferenceModifications
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newStdVideoEncodeH265ReferenceModifications
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoEncodeH265ReferenceModifications.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265ReferenceModifications.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoEncodeH265ReferenceModifications
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newStdVideoEncodeH265ReferenceModifications
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoEncodeH265ReferenceModifications.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoEncodeH265ReferenceModifications
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoEncodeH265ReferenceModifications.Buffer
instance at the specified memory.static @Nullable StdVideoEncodeH265ReferenceModifications
createSafe
(long address) static @Nullable StdVideoEncodeH265ReferenceModifications.Buffer
createSafe
(long address, int capacity) flags()
Passes theflags
field to the specifiedConsumer
.Copies the specifiedStdVideoEncodeH265ReferenceModificationFlags
to theflags
field.byte
list_entry_l0
(int index) list_entry_l0
(int index, byte value) Sets the specified value at the specified index of thelist_entry_l0
field.list_entry_l0
(ByteBuffer value) Copies the specifiedByteBuffer
to thelist_entry_l0
field.byte
list_entry_l1
(int index) list_entry_l1
(int index, byte value) Sets the specified value at the specified index of thelist_entry_l1
field.list_entry_l1
(ByteBuffer value) Copies the specifiedByteBuffer
to thelist_entry_l1
field.malloc()
Returns a newStdVideoEncodeH265ReferenceModifications
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoEncodeH265ReferenceModifications.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265ReferenceModifications.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoEncodeH265ReferenceModifications
instance allocated on the specifiedMemoryStack
.nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, StdVideoEncodeH265ReferenceModificationFlags value) Unsafe version offlags
.static ByteBuffer
nlist_entry_l0
(long struct) Unsafe version oflist_entry_l0()
.static byte
nlist_entry_l0
(long struct, int index) Unsafe version oflist_entry_l0
.static void
nlist_entry_l0
(long struct, int index, byte value) Unsafe version oflist_entry_l0
.static void
nlist_entry_l0
(long struct, ByteBuffer value) Unsafe version oflist_entry_l0
.static ByteBuffer
nlist_entry_l1
(long struct) Unsafe version oflist_entry_l1()
.static byte
nlist_entry_l1
(long struct, int index) Unsafe version oflist_entry_l1
.static void
nlist_entry_l1
(long struct, int index, byte value) Unsafe version oflist_entry_l1
.static void
nlist_entry_l1
(long struct, ByteBuffer value) Unsafe version oflist_entry_l1
.static byte
nnum_ref_idx_l0_active_minus1
(long struct) Unsafe version ofnum_ref_idx_l0_active_minus1()
.static void
nnum_ref_idx_l0_active_minus1
(long struct, byte value) Unsafe version ofnum_ref_idx_l0_active_minus1
.static byte
nnum_ref_idx_l1_active_minus1
(long struct) Unsafe version ofnum_ref_idx_l1_active_minus1()
.static void
nnum_ref_idx_l1_active_minus1
(long struct, byte value) Unsafe version ofnum_ref_idx_l1_active_minus1
.static ByteBuffer
nRefPicList0
(long struct) Unsafe version ofRefPicList0()
.static byte
nRefPicList0
(long struct, int index) Unsafe version ofRefPicList0
.static void
nRefPicList0
(long struct, int index, byte value) Unsafe version ofRefPicList0
.static void
nRefPicList0
(long struct, ByteBuffer value) Unsafe version ofRefPicList0
.static ByteBuffer
nRefPicList1
(long struct) Unsafe version ofRefPicList1()
.static byte
nRefPicList1
(long struct, int index) Unsafe version ofRefPicList1
.static void
nRefPicList1
(long struct, int index, byte value) Unsafe version ofRefPicList1
.static void
nRefPicList1
(long struct, ByteBuffer value) Unsafe version ofRefPicList1
.static short
nreserved1
(long struct) Unsafe version ofreserved1()
.static void
nreserved1
(long struct, short value) Unsafe version ofreserved1
.byte
num_ref_idx_l0_active_minus1
(byte value) Sets the specified value to thenum_ref_idx_l0_active_minus1
field.byte
num_ref_idx_l1_active_minus1
(byte value) Sets the specified value to thenum_ref_idx_l1_active_minus1
field.byte
RefPicList0
(int index) RefPicList0
(int index, byte value) Sets the specified value at the specified index of theRefPicList0
field.RefPicList0
(ByteBuffer value) Copies the specifiedByteBuffer
to theRefPicList0
field.byte
RefPicList1
(int index) RefPicList1
(int index, byte value) Sets the specified value at the specified index of theRefPicList1
field.RefPicList1
(ByteBuffer value) Copies the specifiedByteBuffer
to theRefPicList1
field.short
reserved1
(short value) Sets the specified value to thereserved1
field.set
(StdVideoEncodeH265ReferenceModificationFlags flags, byte num_ref_idx_l0_active_minus1, byte num_ref_idx_l1_active_minus1, short reserved1, ByteBuffer RefPicList0, ByteBuffer RefPicList1, ByteBuffer list_entry_l0, ByteBuffer list_entry_l1) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
FLAGS
public static final int FLAGSThe struct member offsets. -
NUM_REF_IDX_L0_ACTIVE_MINUS1
public static final int NUM_REF_IDX_L0_ACTIVE_MINUS1The struct member offsets. -
NUM_REF_IDX_L1_ACTIVE_MINUS1
public static final int NUM_REF_IDX_L1_ACTIVE_MINUS1The struct member offsets. -
RESERVED1
public static final int RESERVED1The struct member offsets. -
REFPICLIST0
public static final int REFPICLIST0The struct member offsets. -
REFPICLIST1
public static final int REFPICLIST1The struct member offsets. -
LIST_ENTRY_L0
public static final int LIST_ENTRY_L0The struct member offsets. -
LIST_ENTRY_L1
public static final int LIST_ENTRY_L1The struct member offsets.
-
-
Constructor Details
-
StdVideoEncodeH265ReferenceModifications
Creates aStdVideoEncodeH265ReferenceModifications
instance at the current position of the specifiedByteBuffer
container. 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 Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<StdVideoEncodeH265ReferenceModifications>
-
flags
- Returns:
- a
StdVideoEncodeH265ReferenceModificationFlags
view of theflags
field.
-
num_ref_idx_l0_active_minus1
public byte num_ref_idx_l0_active_minus1()- Returns:
- the value of the
num_ref_idx_l0_active_minus1
field.
-
num_ref_idx_l1_active_minus1
public byte num_ref_idx_l1_active_minus1()- Returns:
- the value of the
num_ref_idx_l1_active_minus1
field.
-
reserved1
public short reserved1()- Returns:
- the value of the
reserved1
field.
-
RefPicList0
- Returns:
- a
ByteBuffer
view of theRefPicList0
field.
-
RefPicList0
public byte RefPicList0(int index) - Returns:
- the value at the specified index of the
RefPicList0
field.
-
RefPicList1
- Returns:
- a
ByteBuffer
view of theRefPicList1
field.
-
RefPicList1
public byte RefPicList1(int index) - Returns:
- the value at the specified index of the
RefPicList1
field.
-
list_entry_l0
- Returns:
- a
ByteBuffer
view of thelist_entry_l0
field.
-
list_entry_l0
public byte list_entry_l0(int index) - Returns:
- the value at the specified index of the
list_entry_l0
field.
-
list_entry_l1
- Returns:
- a
ByteBuffer
view of thelist_entry_l1
field.
-
list_entry_l1
public byte list_entry_l1(int index) - Returns:
- the value at the specified index of the
list_entry_l1
field.
-
flags
public StdVideoEncodeH265ReferenceModifications flags(StdVideoEncodeH265ReferenceModificationFlags value) Copies the specifiedStdVideoEncodeH265ReferenceModificationFlags
to theflags
field. -
flags
public StdVideoEncodeH265ReferenceModifications flags(Consumer<StdVideoEncodeH265ReferenceModificationFlags> consumer) Passes theflags
field to the specifiedConsumer
. -
num_ref_idx_l0_active_minus1
Sets the specified value to thenum_ref_idx_l0_active_minus1
field. -
num_ref_idx_l1_active_minus1
Sets the specified value to thenum_ref_idx_l1_active_minus1
field. -
reserved1
Sets the specified value to thereserved1
field. -
RefPicList0
Copies the specifiedByteBuffer
to theRefPicList0
field. -
RefPicList0
Sets the specified value at the specified index of theRefPicList0
field. -
RefPicList1
Copies the specifiedByteBuffer
to theRefPicList1
field. -
RefPicList1
Sets the specified value at the specified index of theRefPicList1
field. -
list_entry_l0
Copies the specifiedByteBuffer
to thelist_entry_l0
field. -
list_entry_l0
Sets the specified value at the specified index of thelist_entry_l0
field. -
list_entry_l1
Copies the specifiedByteBuffer
to thelist_entry_l1
field. -
list_entry_l1
Sets the specified value at the specified index of thelist_entry_l1
field. -
set
public StdVideoEncodeH265ReferenceModifications set(StdVideoEncodeH265ReferenceModificationFlags flags, byte num_ref_idx_l0_active_minus1, byte num_ref_idx_l1_active_minus1, short reserved1, ByteBuffer RefPicList0, ByteBuffer RefPicList1, ByteBuffer list_entry_l0, ByteBuffer list_entry_l1) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newStdVideoEncodeH265ReferenceModifications
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH265ReferenceModifications
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH265ReferenceModifications
instance allocated withBufferUtils
. -
create
Returns a newStdVideoEncodeH265ReferenceModifications
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH265ReferenceModifications.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH265ReferenceModifications.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoEncodeH265ReferenceModifications.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoEncodeH265ReferenceModifications.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable StdVideoEncodeH265ReferenceModifications.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoEncodeH265ReferenceModifications
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH265ReferenceModifications
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
public static StdVideoEncodeH265ReferenceModifications.Buffer malloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265ReferenceModifications.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
public static StdVideoEncodeH265ReferenceModifications.Buffer calloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265ReferenceModifications.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nflags
Unsafe version offlags()
. -
nnum_ref_idx_l0_active_minus1
public static byte nnum_ref_idx_l0_active_minus1(long struct) Unsafe version ofnum_ref_idx_l0_active_minus1()
. -
nnum_ref_idx_l1_active_minus1
public static byte nnum_ref_idx_l1_active_minus1(long struct) Unsafe version ofnum_ref_idx_l1_active_minus1()
. -
nreserved1
public static short nreserved1(long struct) Unsafe version ofreserved1()
. -
nRefPicList0
Unsafe version ofRefPicList0()
. -
nRefPicList0
public static byte nRefPicList0(long struct, int index) Unsafe version ofRefPicList0
. -
nRefPicList1
Unsafe version ofRefPicList1()
. -
nRefPicList1
public static byte nRefPicList1(long struct, int index) Unsafe version ofRefPicList1
. -
nlist_entry_l0
Unsafe version oflist_entry_l0()
. -
nlist_entry_l0
public static byte nlist_entry_l0(long struct, int index) Unsafe version oflist_entry_l0
. -
nlist_entry_l1
Unsafe version oflist_entry_l1()
. -
nlist_entry_l1
public static byte nlist_entry_l1(long struct, int index) Unsafe version oflist_entry_l1
. -
nflags
Unsafe version offlags
. -
nnum_ref_idx_l0_active_minus1
public static void nnum_ref_idx_l0_active_minus1(long struct, byte value) Unsafe version ofnum_ref_idx_l0_active_minus1
. -
nnum_ref_idx_l1_active_minus1
public static void nnum_ref_idx_l1_active_minus1(long struct, byte value) Unsafe version ofnum_ref_idx_l1_active_minus1
. -
nreserved1
public static void nreserved1(long struct, short value) Unsafe version ofreserved1
. -
nRefPicList0
Unsafe version ofRefPicList0
. -
nRefPicList0
public static void nRefPicList0(long struct, int index, byte value) Unsafe version ofRefPicList0
. -
nRefPicList1
Unsafe version ofRefPicList1
. -
nRefPicList1
public static void nRefPicList1(long struct, int index, byte value) Unsafe version ofRefPicList1
. -
nlist_entry_l0
Unsafe version oflist_entry_l0
. -
nlist_entry_l0
public static void nlist_entry_l0(long struct, int index, byte value) Unsafe version oflist_entry_l0
. -
nlist_entry_l1
Unsafe version oflist_entry_l1
. -
nlist_entry_l1
public static void nlist_entry_l1(long struct, int index, byte value) Unsafe version oflist_entry_l1
.
-