Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264ReferenceListsInfo.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoEncodeH264ReferenceListsInfo.Buffer>
org.lwjgl.system.StructBuffer<StdVideoEncodeH264ReferenceListsInfo,StdVideoEncodeH264ReferenceListsInfo.Buffer>
org.lwjgl.vulkan.video.StdVideoEncodeH264ReferenceListsInfo.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<StdVideoEncodeH264ReferenceListsInfo>
,NativeResource
,Pointer
- Enclosing class:
StdVideoEncodeH264ReferenceListsInfo
public static class StdVideoEncodeH264ReferenceListsInfo.Buffer
extends StructBuffer<StdVideoEncodeH264ReferenceListsInfo,StdVideoEncodeH264ReferenceListsInfo.Buffer>
implements NativeResource
An array of
StdVideoEncodeH264ReferenceListsInfo
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 newStdVideoEncodeH264ReferenceListsInfo.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionflags()
Passes theflags
field to the specifiedConsumer
.Copies the specifiedStdVideoEncodeH264ReferenceListsInfoFlags
to theflags
field.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.@Nullable StdVideoEncodeH264RefListModEntry.Buffer
pRefList0ModOperations
(@Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefListModEntry.Buffer
to thepRefList0ModOperations
field.@Nullable StdVideoEncodeH264RefListModEntry.Buffer
pRefList1ModOperations
(@Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefListModEntry.Buffer
to thepRefList1ModOperations
field.Sets the address of the specifiedStdVideoEncodeH264RefPicMarkingEntry.Buffer
to thepRefPicMarkingOperations
field.byte
refList0ModOpCount
(byte value) Sets the specified value to therefList0ModOpCount
field.byte
refList1ModOpCount
(byte value) Sets the specified value to therefList1ModOpCount
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.byte
Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods 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, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoEncodeH264ReferenceListsInfo.Buffer
instance 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
StdVideoEncodeH264ReferenceListsInfo.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
StdVideoEncodeH264ReferenceListsInfoFlags
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.
-
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.
-
refList0ModOpCount
public byte refList0ModOpCount()- Returns:
- the value of the
refList0ModOpCount
field.
-
refList1ModOpCount
public byte refList1ModOpCount()- Returns:
- the value of the
refList1ModOpCount
field.
-
refPicMarkingOpCount
public byte refPicMarkingOpCount()- Returns:
- the value of the
refPicMarkingOpCount
field.
-
pRefList0ModOperations
- Returns:
- a
StdVideoEncodeH264RefListModEntry.Buffer
view of the struct array pointed to by thepRefList0ModOperations
field.
-
pRefList1ModOperations
- Returns:
- a
StdVideoEncodeH264RefListModEntry.Buffer
view of the struct array pointed to by thepRefList1ModOperations
field.
-
pRefPicMarkingOperations
- Returns:
- a
StdVideoEncodeH264RefPicMarkingEntry.Buffer
view of the struct array pointed to by thepRefPicMarkingOperations
field.
-
flags
public StdVideoEncodeH264ReferenceListsInfo.Buffer flags(StdVideoEncodeH264ReferenceListsInfoFlags value) Copies the specifiedStdVideoEncodeH264ReferenceListsInfoFlags
to theflags
field. -
flags
public StdVideoEncodeH264ReferenceListsInfo.Buffer flags(Consumer<StdVideoEncodeH264ReferenceListsInfoFlags> 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. -
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. -
refList0ModOpCount
Sets the specified value to therefList0ModOpCount
field. -
refList1ModOpCount
Sets the specified value to therefList1ModOpCount
field. -
pRefList0ModOperations
public StdVideoEncodeH264ReferenceListsInfo.Buffer pRefList0ModOperations(@Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefListModEntry.Buffer
to thepRefList0ModOperations
field. -
pRefList1ModOperations
public StdVideoEncodeH264ReferenceListsInfo.Buffer pRefList1ModOperations(@Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefListModEntry.Buffer
to thepRefList1ModOperations
field. -
pRefPicMarkingOperations
public StdVideoEncodeH264ReferenceListsInfo.Buffer pRefPicMarkingOperations(StdVideoEncodeH264RefPicMarkingEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefPicMarkingEntry.Buffer
to thepRefPicMarkingOperations
field.
-