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 Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newStdVideoEncodeH264ReferenceListsInfo.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionflags()Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoEncodeH264ReferenceListsInfoFlagsto theflagsfield.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.@Nullable StdVideoEncodeH264RefListModEntry.BufferpRefList0ModOperations(@Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefListModEntry.Bufferto thepRefList0ModOperationsfield.@Nullable StdVideoEncodeH264RefListModEntry.BufferpRefList1ModOperations(@Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefListModEntry.Bufferto thepRefList1ModOperationsfield.Sets the address of the specifiedStdVideoEncodeH264RefPicMarkingEntry.Bufferto thepRefPicMarkingOperationsfield.byterefList0ModOpCount(byte value) Sets the specified value to therefList0ModOpCountfield.byterefList1ModOpCount(byte value) Sets the specified value to therefList1ModOpCountfield.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.byteMethods inherited from class StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class 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 Pointer.Default
equals, hashCodeMethods inherited from interface NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoEncodeH264ReferenceListsInfo.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
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
StdVideoEncodeH264ReferenceListsInfoFlagsview of theflagsfield.
-
num_ref_idx_l0_active_minus1
- Returns:
- the value of the
num_ref_idx_l0_active_minus1field.
-
num_ref_idx_l1_active_minus1
- Returns:
- the value of the
num_ref_idx_l1_active_minus1field.
-
RefPicList0
- Returns:
- a
ByteBufferview of theRefPicList0field.
-
RefPicList0
- Returns:
- the value at the specified index of the
RefPicList0field.
-
RefPicList1
- Returns:
- a
ByteBufferview of theRefPicList1field.
-
RefPicList1
- Returns:
- the value at the specified index of the
RefPicList1field.
-
refList0ModOpCount
- Returns:
- the value of the
refList0ModOpCountfield.
-
refList1ModOpCount
- Returns:
- the value of the
refList1ModOpCountfield.
-
refPicMarkingOpCount
- Returns:
- the value of the
refPicMarkingOpCountfield.
-
pRefList0ModOperations
@NativeType("StdVideoEncodeH264RefListModEntry const *") public @Nullable StdVideoEncodeH264RefListModEntry.Buffer pRefList0ModOperations()- Returns:
- a
StdVideoEncodeH264RefListModEntry.Bufferview of the struct array pointed to by thepRefList0ModOperationsfield.
-
pRefList1ModOperations
@NativeType("StdVideoEncodeH264RefListModEntry const *") public @Nullable StdVideoEncodeH264RefListModEntry.Buffer pRefList1ModOperations()- Returns:
- a
StdVideoEncodeH264RefListModEntry.Bufferview of the struct array pointed to by thepRefList1ModOperationsfield.
-
pRefPicMarkingOperations
@NativeType("StdVideoEncodeH264RefPicMarkingEntry const *") public StdVideoEncodeH264RefPicMarkingEntry.Buffer pRefPicMarkingOperations()- Returns:
- a
StdVideoEncodeH264RefPicMarkingEntry.Bufferview of the struct array pointed to by thepRefPicMarkingOperationsfield.
-
flags
public StdVideoEncodeH264ReferenceListsInfo.Buffer flags(StdVideoEncodeH264ReferenceListsInfoFlags value) Copies the specifiedStdVideoEncodeH264ReferenceListsInfoFlagsto theflagsfield. -
flags
public StdVideoEncodeH264ReferenceListsInfo.Buffer flags(Consumer<StdVideoEncodeH264ReferenceListsInfoFlags> consumer) Passes theflagsfield to the specifiedConsumer. -
num_ref_idx_l0_active_minus1
public StdVideoEncodeH264ReferenceListsInfo.Buffer num_ref_idx_l0_active_minus1(@NativeType("uint8_t") byte value) Sets the specified value to thenum_ref_idx_l0_active_minus1field. -
num_ref_idx_l1_active_minus1
public StdVideoEncodeH264ReferenceListsInfo.Buffer num_ref_idx_l1_active_minus1(@NativeType("uint8_t") byte value) Sets the specified value to thenum_ref_idx_l1_active_minus1field. -
RefPicList0
public StdVideoEncodeH264ReferenceListsInfo.Buffer RefPicList0(@NativeType("uint8_t[STD_VIDEO_H264_MAX_NUM_LIST_REF]") ByteBuffer value) Copies the specifiedByteBufferto theRefPicList0field. -
RefPicList0
public StdVideoEncodeH264ReferenceListsInfo.Buffer RefPicList0(int index, @NativeType("uint8_t") byte value) Sets the specified value at the specified index of theRefPicList0field. -
RefPicList1
public StdVideoEncodeH264ReferenceListsInfo.Buffer RefPicList1(@NativeType("uint8_t[STD_VIDEO_H264_MAX_NUM_LIST_REF]") ByteBuffer value) Copies the specifiedByteBufferto theRefPicList1field. -
RefPicList1
public StdVideoEncodeH264ReferenceListsInfo.Buffer RefPicList1(int index, @NativeType("uint8_t") byte value) Sets the specified value at the specified index of theRefPicList1field. -
refList0ModOpCount
public StdVideoEncodeH264ReferenceListsInfo.Buffer refList0ModOpCount(@NativeType("uint8_t") byte value) Sets the specified value to therefList0ModOpCountfield. -
refList1ModOpCount
public StdVideoEncodeH264ReferenceListsInfo.Buffer refList1ModOpCount(@NativeType("uint8_t") byte value) Sets the specified value to therefList1ModOpCountfield. -
pRefList0ModOperations
public StdVideoEncodeH264ReferenceListsInfo.Buffer pRefList0ModOperations(@NativeType("StdVideoEncodeH264RefListModEntry const *") @Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefListModEntry.Bufferto thepRefList0ModOperationsfield. -
pRefList1ModOperations
public StdVideoEncodeH264ReferenceListsInfo.Buffer pRefList1ModOperations(@NativeType("StdVideoEncodeH264RefListModEntry const *") @Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefListModEntry.Bufferto thepRefList1ModOperationsfield. -
pRefPicMarkingOperations
public StdVideoEncodeH264ReferenceListsInfo.Buffer pRefPicMarkingOperations(@NativeType("StdVideoEncodeH264RefPicMarkingEntry const *") StdVideoEncodeH264RefPicMarkingEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefPicMarkingEntry.Bufferto thepRefPicMarkingOperationsfield.
-