Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265ReferenceModifications.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoEncodeH265ReferenceModifications.Buffer>
org.lwjgl.system.StructBuffer<StdVideoEncodeH265ReferenceModifications,StdVideoEncodeH265ReferenceModifications.Buffer>
org.lwjgl.vulkan.video.StdVideoEncodeH265ReferenceModifications.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<StdVideoEncodeH265ReferenceModifications>,NativeResource,Pointer
- Enclosing class:
StdVideoEncodeH265ReferenceModifications
public static class StdVideoEncodeH265ReferenceModifications.Buffer
extends StructBuffer<StdVideoEncodeH265ReferenceModifications,StdVideoEncodeH265ReferenceModifications.Buffer>
implements NativeResource
An array of
StdVideoEncodeH265ReferenceModifications structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newStdVideoEncodeH265ReferenceModifications.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionflags()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.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.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoEncodeH265ReferenceModifications.Bufferinstance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
StdVideoEncodeH265ReferenceModifications.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
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.Buffer flags(StdVideoEncodeH265ReferenceModificationFlags value) Copies the specifiedStdVideoEncodeH265ReferenceModificationFlagsto theflagsfield. -
flags
public StdVideoEncodeH265ReferenceModifications.Buffer 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.
-