Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264ReferenceListsInfo
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoEncodeH264ReferenceListsInfo>
org.lwjgl.vulkan.video.StdVideoEncodeH264ReferenceListsInfo
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class StdVideoEncodeH264ReferenceListsInfo
extends Struct<StdVideoEncodeH264ReferenceListsInfo>
implements NativeResource
struct StdVideoEncodeH264ReferenceListsInfo {
StdVideoEncodeH264ReferenceListsInfoFlags flags;
uint8_t num_ref_idx_l0_active_minus1;
uint8_t num_ref_idx_l1_active_minus1;
uint8_t RefPicList0[STD_VIDEO_H264_MAX_NUM_LIST_REF];
uint8_t RefPicList1[STD_VIDEO_H264_MAX_NUM_LIST_REF];
uint8_t refList0ModOpCount;
uint8_t refList1ModOpCount;
uint8_t refPicMarkingOpCount;
uint8_t reserved1[7];
StdVideoEncodeH264RefListModEntry const * pRefList0ModOperations;
StdVideoEncodeH264RefListModEntry const * pRefList1ModOperations;
StdVideoEncodeH264RefPicMarkingEntry const * pRefPicMarkingOperations;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofStdVideoEncodeH264ReferenceListsInfostructs.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 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
ConstructorsConstructorDescriptionStdVideoEncodeH264ReferenceListsInfo(ByteBuffer container) Creates aStdVideoEncodeH264ReferenceListsInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newStdVideoEncodeH264ReferenceListsInfoinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoEncodeH264ReferenceListsInfo.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264ReferenceListsInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newStdVideoEncodeH264ReferenceListsInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newStdVideoEncodeH264ReferenceListsInfoinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoEncodeH264ReferenceListsInfo.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoEncodeH264ReferenceListsInfoinstance for the specified memory address.create(long address, int capacity) Create aStdVideoEncodeH264ReferenceListsInfo.Bufferinstance at the specified memory.static @Nullable StdVideoEncodeH264ReferenceListsInfocreateSafe(long address) static @Nullable StdVideoEncodeH264ReferenceListsInfo.BuffercreateSafe(long address, int capacity) flags()Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoEncodeH264ReferenceListsInfoFlagsto theflagsfield.malloc()Returns a newStdVideoEncodeH264ReferenceListsInfoinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoEncodeH264ReferenceListsInfo.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264ReferenceListsInfo.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newStdVideoEncodeH264ReferenceListsInfoinstance allocated on the specifiedMemoryStack.nflags(long struct) Unsafe version offlags().static voidnflags(long struct, StdVideoEncodeH264ReferenceListsInfoFlags value) Unsafe version offlags.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 @Nullable StdVideoEncodeH264RefListModEntry.BuffernpRefList0ModOperations(long struct) Unsafe version ofpRefList0ModOperations().static voidnpRefList0ModOperations(long struct, @Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Unsafe version ofpRefList0ModOperations.static @Nullable StdVideoEncodeH264RefListModEntry.BuffernpRefList1ModOperations(long struct) Unsafe version ofpRefList1ModOperations().static voidnpRefList1ModOperations(long struct, @Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Unsafe version ofpRefList1ModOperations.npRefPicMarkingOperations(long struct) Unsafe version ofpRefPicMarkingOperations().static voidnpRefPicMarkingOperations(long struct, StdVideoEncodeH264RefPicMarkingEntry.Buffer value) Unsafe version ofpRefPicMarkingOperations.static bytenrefList0ModOpCount(long struct) Unsafe version ofrefList0ModOpCount().static voidnrefList0ModOpCount(long struct, byte value) Sets the specified value to therefList0ModOpCountfield of the specifiedstruct.static bytenrefList1ModOpCount(long struct) Unsafe version ofrefList1ModOpCount().static voidnrefList1ModOpCount(long struct, byte value) Sets the specified value to therefList1ModOpCountfield of the specifiedstruct.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 bytenrefPicMarkingOpCount(long struct) Unsafe version ofrefPicMarkingOpCount().static voidnrefPicMarkingOpCount(long struct, byte value) Sets the specified value to therefPicMarkingOpCountfield of the specifiedstruct.static ByteBuffernreserved1(long struct) static bytenreserved1(long struct, int index) static voidnreserved1(long struct, int index, byte value) static voidnreserved1(long struct, ByteBuffer value) 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.byteCopies the specified struct data to this struct.set(StdVideoEncodeH264ReferenceListsInfoFlags flags, byte num_ref_idx_l0_active_minus1, byte num_ref_idx_l1_active_minus1, ByteBuffer RefPicList0, ByteBuffer RefPicList1, byte refList0ModOpCount, byte refList1ModOpCount, @Nullable StdVideoEncodeH264RefListModEntry.Buffer pRefList0ModOperations, @Nullable StdVideoEncodeH264RefListModEntry.Buffer pRefList1ModOperations, StdVideoEncodeH264RefPicMarkingEntry.Buffer pRefPicMarkingOperations) Initializes this struct with the specified values.intsizeof()Returnssizeof(struct).static voidvalidate(long struct) Validates pointer members that should not beNULL.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. -
REFPICLIST0
public static final int REFPICLIST0The struct member offsets. -
REFPICLIST1
public static final int REFPICLIST1The struct member offsets. -
REFLIST0MODOPCOUNT
public static final int REFLIST0MODOPCOUNTThe struct member offsets. -
REFLIST1MODOPCOUNT
public static final int REFLIST1MODOPCOUNTThe struct member offsets. -
REFPICMARKINGOPCOUNT
public static final int REFPICMARKINGOPCOUNTThe struct member offsets. -
RESERVED1
public static final int RESERVED1The struct member offsets. -
PREFLIST0MODOPERATIONS
public static final int PREFLIST0MODOPERATIONSThe struct member offsets. -
PREFLIST1MODOPERATIONS
public static final int PREFLIST1MODOPERATIONSThe struct member offsets. -
PREFPICMARKINGOPERATIONS
public static final int PREFPICMARKINGOPERATIONSThe struct member offsets.
-
-
Constructor Details
-
StdVideoEncodeH264ReferenceListsInfo
Creates aStdVideoEncodeH264ReferenceListsInfoinstance 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<StdVideoEncodeH264ReferenceListsInfo>
-
flags
- Returns:
- a
StdVideoEncodeH264ReferenceListsInfoFlagsview 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.
-
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.
-
refList0ModOpCount
public byte refList0ModOpCount()- Returns:
- the value of the
refList0ModOpCountfield.
-
refList1ModOpCount
public byte refList1ModOpCount()- Returns:
- the value of the
refList1ModOpCountfield.
-
refPicMarkingOpCount
public byte refPicMarkingOpCount()- Returns:
- the value of the
refPicMarkingOpCountfield.
-
pRefList0ModOperations
- Returns:
- a
StdVideoEncodeH264RefListModEntry.Bufferview of the struct array pointed to by thepRefList0ModOperationsfield.
-
pRefList1ModOperations
- Returns:
- a
StdVideoEncodeH264RefListModEntry.Bufferview of the struct array pointed to by thepRefList1ModOperationsfield.
-
pRefPicMarkingOperations
- Returns:
- a
StdVideoEncodeH264RefPicMarkingEntry.Bufferview of the struct array pointed to by thepRefPicMarkingOperationsfield.
-
flags
Copies the specifiedStdVideoEncodeH264ReferenceListsInfoFlagsto theflagsfield. -
flags
public StdVideoEncodeH264ReferenceListsInfo flags(Consumer<StdVideoEncodeH264ReferenceListsInfoFlags> 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. -
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. -
refList0ModOpCount
Sets the specified value to therefList0ModOpCountfield. -
refList1ModOpCount
Sets the specified value to therefList1ModOpCountfield. -
pRefList0ModOperations
public StdVideoEncodeH264ReferenceListsInfo pRefList0ModOperations(@Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefListModEntry.Bufferto thepRefList0ModOperationsfield. -
pRefList1ModOperations
public StdVideoEncodeH264ReferenceListsInfo pRefList1ModOperations(@Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefListModEntry.Bufferto thepRefList1ModOperationsfield. -
pRefPicMarkingOperations
public StdVideoEncodeH264ReferenceListsInfo pRefPicMarkingOperations(StdVideoEncodeH264RefPicMarkingEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefPicMarkingEntry.Bufferto thepRefPicMarkingOperationsfield. -
set
public StdVideoEncodeH264ReferenceListsInfo set(StdVideoEncodeH264ReferenceListsInfoFlags flags, byte num_ref_idx_l0_active_minus1, byte num_ref_idx_l1_active_minus1, ByteBuffer RefPicList0, ByteBuffer RefPicList1, byte refList0ModOpCount, byte refList1ModOpCount, @Nullable StdVideoEncodeH264RefListModEntry.Buffer pRefList0ModOperations, @Nullable StdVideoEncodeH264RefListModEntry.Buffer pRefList1ModOperations, StdVideoEncodeH264RefPicMarkingEntry.Buffer pRefPicMarkingOperations) 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 newStdVideoEncodeH264ReferenceListsInfoinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH264ReferenceListsInfoinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH264ReferenceListsInfoinstance allocated withBufferUtils. -
create
Returns a newStdVideoEncodeH264ReferenceListsInfoinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH264ReferenceListsInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH264ReferenceListsInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoEncodeH264ReferenceListsInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoEncodeH264ReferenceListsInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable StdVideoEncodeH264ReferenceListsInfo.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoEncodeH264ReferenceListsInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264ReferenceListsInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeH264ReferenceListsInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264ReferenceListsInfo.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(). -
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. -
nrefList0ModOpCount
public static byte nrefList0ModOpCount(long struct) Unsafe version ofrefList0ModOpCount(). -
nrefList1ModOpCount
public static byte nrefList1ModOpCount(long struct) Unsafe version ofrefList1ModOpCount(). -
nrefPicMarkingOpCount
public static byte nrefPicMarkingOpCount(long struct) Unsafe version ofrefPicMarkingOpCount(). -
nreserved1
-
nreserved1
public static byte nreserved1(long struct, int index) -
npRefList0ModOperations
public static @Nullable StdVideoEncodeH264RefListModEntry.Buffer npRefList0ModOperations(long struct) Unsafe version ofpRefList0ModOperations(). -
npRefList1ModOperations
public static @Nullable StdVideoEncodeH264RefListModEntry.Buffer npRefList1ModOperations(long struct) Unsafe version ofpRefList1ModOperations(). -
npRefPicMarkingOperations
Unsafe version ofpRefPicMarkingOperations(). -
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. -
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. -
nrefList0ModOpCount
public static void nrefList0ModOpCount(long struct, byte value) Sets the specified value to therefList0ModOpCountfield of the specifiedstruct. -
nrefList1ModOpCount
public static void nrefList1ModOpCount(long struct, byte value) Sets the specified value to therefList1ModOpCountfield of the specifiedstruct. -
nrefPicMarkingOpCount
public static void nrefPicMarkingOpCount(long struct, byte value) Sets the specified value to therefPicMarkingOpCountfield of the specifiedstruct. -
nreserved1
-
nreserved1
public static void nreserved1(long struct, int index, byte value) -
npRefList0ModOperations
public static void npRefList0ModOperations(long struct, @Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Unsafe version ofpRefList0ModOperations. -
npRefList1ModOperations
public static void npRefList1ModOperations(long struct, @Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Unsafe version ofpRefList1ModOperations. -
npRefPicMarkingOperations
public static void npRefPicMarkingOperations(long struct, StdVideoEncodeH264RefPicMarkingEntry.Buffer value) Unsafe version ofpRefPicMarkingOperations. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-