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 {
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 classAn array ofStdVideoEncodeH265ReferenceModificationsstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe 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 aStdVideoEncodeH265ReferenceModificationsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoEncodeH265ReferenceModificationsinstance for the specified memory address.create(long address, int capacity) Create aStdVideoEncodeH265ReferenceModifications.Bufferinstance at the specified memory.static @Nullable StdVideoEncodeH265ReferenceModificationscreateSafe(long address) static @Nullable StdVideoEncodeH265ReferenceModifications.BuffercreateSafe(long address, int capacity) flags()Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoEncodeH265ReferenceModificationFlagsto theflagsfield.bytelist_entry_l0(int index) list_entry_l0(int index, byte value) Sets the specified value at the specified index of thelist_entry_l0field.list_entry_l0(ByteBuffer value) Copies the specifiedByteBufferto thelist_entry_l0field.bytelist_entry_l1(int index) list_entry_l1(int index, byte value) Sets the specified value at the specified index of thelist_entry_l1field.list_entry_l1(ByteBuffer value) Copies the specifiedByteBufferto thelist_entry_l1field.malloc()Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated on the specifiedMemoryStack.nflags(long struct) Unsafe version offlags().static voidnflags(long struct, StdVideoEncodeH265ReferenceModificationFlags value) Unsafe version offlags.static ByteBuffernlist_entry_l0(long struct) Unsafe version oflist_entry_l0().static bytenlist_entry_l0(long struct, int index) Unsafe version oflist_entry_l0.static voidnlist_entry_l0(long struct, int index, byte value) Unsafe version oflist_entry_l0.static voidnlist_entry_l0(long struct, ByteBuffer value) Unsafe version oflist_entry_l0.static ByteBuffernlist_entry_l1(long struct) Unsafe version oflist_entry_l1().static bytenlist_entry_l1(long struct, int index) Unsafe version oflist_entry_l1.static voidnlist_entry_l1(long struct, int index, byte value) Unsafe version oflist_entry_l1.static voidnlist_entry_l1(long struct, ByteBuffer value) Unsafe version oflist_entry_l1.static bytennum_ref_idx_l0_active_minus1(long struct) Unsafe version ofnum_ref_idx_l0_active_minus1().static voidnnum_ref_idx_l0_active_minus1(long struct, byte value) Unsafe version ofnum_ref_idx_l0_active_minus1.static bytennum_ref_idx_l1_active_minus1(long struct) Unsafe version ofnum_ref_idx_l1_active_minus1().static voidnnum_ref_idx_l1_active_minus1(long struct, byte value) Unsafe version ofnum_ref_idx_l1_active_minus1.static ByteBuffernRefPicList0(long struct) Unsafe version ofRefPicList0().static bytenRefPicList0(long struct, int index) Unsafe version ofRefPicList0.static voidnRefPicList0(long struct, int index, byte value) Unsafe version ofRefPicList0.static voidnRefPicList0(long struct, ByteBuffer value) Unsafe version ofRefPicList0.static ByteBuffernRefPicList1(long struct) Unsafe version ofRefPicList1().static bytenRefPicList1(long struct, int index) Unsafe version ofRefPicList1.static voidnRefPicList1(long struct, int index, byte value) Unsafe version ofRefPicList1.static voidnRefPicList1(long struct, ByteBuffer value) Unsafe version ofRefPicList1.static shortnreserved1(long struct) Unsafe version ofreserved1().static voidnreserved1(long struct, short value) Unsafe version ofreserved1.bytenum_ref_idx_l0_active_minus1(byte value) Sets the specified value to thenum_ref_idx_l0_active_minus1field.bytenum_ref_idx_l1_active_minus1(byte value) Sets the specified value to thenum_ref_idx_l1_active_minus1field.byteRefPicList0(int index) RefPicList0(int index, byte value) Sets the specified value at the specified index of theRefPicList0field.RefPicList0(ByteBuffer value) Copies the specifiedByteBufferto theRefPicList0field.byteRefPicList1(int index) RefPicList1(int index, byte value) Sets the specified value at the specified index of theRefPicList1field.RefPicList1(ByteBuffer value) Copies the specifiedByteBufferto theRefPicList1field.shortreserved1(short value) Sets the specified value to thereserved1field.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.intsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<StdVideoEncodeH265ReferenceModifications>
-
flags
- Returns:
- a
StdVideoEncodeH265ReferenceModificationFlagsview of theflagsfield.
-
num_ref_idx_l0_active_minus1
public byte num_ref_idx_l0_active_minus1()- Returns:
- the value of the
num_ref_idx_l0_active_minus1field.
-
num_ref_idx_l1_active_minus1
public byte num_ref_idx_l1_active_minus1()- Returns:
- the value of the
num_ref_idx_l1_active_minus1field.
-
reserved1
public short reserved1()- Returns:
- the value of the
reserved1field.
-
RefPicList0
- Returns:
- a
ByteBufferview of theRefPicList0field.
-
RefPicList0
public byte RefPicList0(int index) - Returns:
- the value at the specified index of the
RefPicList0field.
-
RefPicList1
- Returns:
- a
ByteBufferview of theRefPicList1field.
-
RefPicList1
public byte RefPicList1(int index) - Returns:
- the value at the specified index of the
RefPicList1field.
-
list_entry_l0
- Returns:
- a
ByteBufferview of thelist_entry_l0field.
-
list_entry_l0
public byte list_entry_l0(int index) - Returns:
- the value at the specified index of the
list_entry_l0field.
-
list_entry_l1
- Returns:
- a
ByteBufferview of thelist_entry_l1field.
-
list_entry_l1
public byte list_entry_l1(int index) - Returns:
- the value at the specified index of the
list_entry_l1field.
-
flags
public StdVideoEncodeH265ReferenceModifications flags(StdVideoEncodeH265ReferenceModificationFlags value) Copies the specifiedStdVideoEncodeH265ReferenceModificationFlagsto theflagsfield. -
flags
public StdVideoEncodeH265ReferenceModifications flags(Consumer<StdVideoEncodeH265ReferenceModificationFlags> consumer) Passes theflagsfield to the specifiedConsumer. -
num_ref_idx_l0_active_minus1
Sets the specified value to thenum_ref_idx_l0_active_minus1field. -
num_ref_idx_l1_active_minus1
Sets the specified value to thenum_ref_idx_l1_active_minus1field. -
reserved1
Sets the specified value to thereserved1field. -
RefPicList0
Copies the specifiedByteBufferto theRefPicList0field. -
RefPicList0
Sets the specified value at the specified index of theRefPicList0field. -
RefPicList1
Copies the specifiedByteBufferto theRefPicList1field. -
RefPicList1
Sets the specified value at the specified index of theRefPicList1field. -
list_entry_l0
Copies the specifiedByteBufferto thelist_entry_l0field. -
list_entry_l0
Sets the specified value at the specified index of thelist_entry_l0field. -
list_entry_l1
Copies the specifiedByteBufferto thelist_entry_l1field. -
list_entry_l1
Sets the specified value at the specified index of thelist_entry_l1field. -
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 newStdVideoEncodeH265ReferenceModificationsinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH265ReferenceModificationsinstance allocated withBufferUtils. -
create
Returns a newStdVideoEncodeH265ReferenceModificationsinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoEncodeH265ReferenceModifications.Bufferinstance 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 newStdVideoEncodeH265ReferenceModificationsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
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, MemoryStack stack) Returns a newStdVideoEncodeH265ReferenceModifications.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand 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.
-