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 {
{@link StdVideoEncodeH264ReferenceListsInfoFlags 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];
{@link StdVideoEncodeH264RefListModEntry StdVideoEncodeH264RefListModEntry} const * pRefList0ModOperations;
{@link StdVideoEncodeH264RefListModEntry StdVideoEncodeH264RefListModEntry} const * pRefList1ModOperations;
{@link StdVideoEncodeH264RefPicMarkingEntry StdVideoEncodeH264RefPicMarkingEntry} const * pRefPicMarkingOperations;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofStdVideoEncodeH264ReferenceListsInfo
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The 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 aStdVideoEncodeH264ReferenceListsInfo
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newStdVideoEncodeH264ReferenceListsInfo
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoEncodeH264ReferenceListsInfo.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264ReferenceListsInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoEncodeH264ReferenceListsInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newStdVideoEncodeH264ReferenceListsInfo
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoEncodeH264ReferenceListsInfo.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoEncodeH264ReferenceListsInfo
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoEncodeH264ReferenceListsInfo.Buffer
instance at the specified memory.static @Nullable StdVideoEncodeH264ReferenceListsInfo
createSafe
(long address) static @Nullable StdVideoEncodeH264ReferenceListsInfo.Buffer
createSafe
(long address, int capacity) flags()
Passes theflags
field to the specifiedConsumer
.Copies the specifiedStdVideoEncodeH264ReferenceListsInfoFlags
to theflags
field.malloc()
Returns a newStdVideoEncodeH264ReferenceListsInfo
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoEncodeH264ReferenceListsInfo.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264ReferenceListsInfo.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoEncodeH264ReferenceListsInfo
instance allocated on the specifiedMemoryStack
.nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, StdVideoEncodeH264ReferenceListsInfoFlags value) Unsafe version offlags
.static byte
nnum_ref_idx_l0_active_minus1
(long struct) Unsafe version ofnum_ref_idx_l0_active_minus1()
.static void
nnum_ref_idx_l0_active_minus1
(long struct, byte value) Unsafe version ofnum_ref_idx_l0_active_minus1
.static byte
nnum_ref_idx_l1_active_minus1
(long struct) Unsafe version ofnum_ref_idx_l1_active_minus1()
.static void
nnum_ref_idx_l1_active_minus1
(long struct, byte value) Unsafe version ofnum_ref_idx_l1_active_minus1
.static @Nullable StdVideoEncodeH264RefListModEntry.Buffer
npRefList0ModOperations
(long struct) Unsafe version ofpRefList0ModOperations()
.static void
npRefList0ModOperations
(long struct, @Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Unsafe version ofpRefList0ModOperations
.static @Nullable StdVideoEncodeH264RefListModEntry.Buffer
npRefList1ModOperations
(long struct) Unsafe version ofpRefList1ModOperations()
.static void
npRefList1ModOperations
(long struct, @Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Unsafe version ofpRefList1ModOperations
.npRefPicMarkingOperations
(long struct) Unsafe version ofpRefPicMarkingOperations()
.static void
npRefPicMarkingOperations
(long struct, StdVideoEncodeH264RefPicMarkingEntry.Buffer value) Unsafe version ofpRefPicMarkingOperations
.static byte
nrefList0ModOpCount
(long struct) Unsafe version ofrefList0ModOpCount()
.static void
nrefList0ModOpCount
(long struct, byte value) Sets the specified value to therefList0ModOpCount
field of the specifiedstruct
.static byte
nrefList1ModOpCount
(long struct) Unsafe version ofrefList1ModOpCount()
.static void
nrefList1ModOpCount
(long struct, byte value) Sets the specified value to therefList1ModOpCount
field of the specifiedstruct
.static ByteBuffer
nRefPicList0
(long struct) Unsafe version ofRefPicList0()
.static byte
nRefPicList0
(long struct, int index) Unsafe version ofRefPicList0
.static void
nRefPicList0
(long struct, int index, byte value) Unsafe version ofRefPicList0
.static void
nRefPicList0
(long struct, ByteBuffer value) Unsafe version ofRefPicList0
.static ByteBuffer
nRefPicList1
(long struct) Unsafe version ofRefPicList1()
.static byte
nRefPicList1
(long struct, int index) Unsafe version ofRefPicList1
.static void
nRefPicList1
(long struct, int index, byte value) Unsafe version ofRefPicList1
.static void
nRefPicList1
(long struct, ByteBuffer value) Unsafe version ofRefPicList1
.static byte
nrefPicMarkingOpCount
(long struct) Unsafe version ofrefPicMarkingOpCount()
.static void
nrefPicMarkingOpCount
(long struct, byte value) Sets the specified value to therefPicMarkingOpCount
field of the specifiedstruct
.static ByteBuffer
nreserved1
(long struct) static byte
nreserved1
(long struct, int index) static void
nreserved1
(long struct, int index, byte value) static void
nreserved1
(long struct, ByteBuffer value) 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
Copies 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.int
sizeof()
Returnssizeof(struct)
.static void
validate
(long struct) Validates pointer members that should not beNULL
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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 aStdVideoEncodeH264ReferenceListsInfo
instance at the current position of the specifiedByteBuffer
container. 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:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<StdVideoEncodeH264ReferenceListsInfo>
-
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
Copies the specifiedStdVideoEncodeH264ReferenceListsInfoFlags
to theflags
field. -
flags
public StdVideoEncodeH264ReferenceListsInfo 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 pRefList0ModOperations(@Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefListModEntry.Buffer
to thepRefList0ModOperations
field. -
pRefList1ModOperations
public StdVideoEncodeH264ReferenceListsInfo pRefList1ModOperations(@Nullable StdVideoEncodeH264RefListModEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefListModEntry.Buffer
to thepRefList1ModOperations
field. -
pRefPicMarkingOperations
public StdVideoEncodeH264ReferenceListsInfo pRefPicMarkingOperations(StdVideoEncodeH264RefPicMarkingEntry.Buffer value) Sets the address of the specifiedStdVideoEncodeH264RefPicMarkingEntry.Buffer
to thepRefPicMarkingOperations
field. -
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 newStdVideoEncodeH264ReferenceListsInfo
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH264ReferenceListsInfo
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH264ReferenceListsInfo
instance allocated withBufferUtils
. -
create
Returns a newStdVideoEncodeH264ReferenceListsInfo
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH264ReferenceListsInfo.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH264ReferenceListsInfo.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoEncodeH264ReferenceListsInfo.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoEncodeH264ReferenceListsInfo.Buffer
instance 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 newStdVideoEncodeH264ReferenceListsInfo
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264ReferenceListsInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeH264ReferenceListsInfo.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264ReferenceListsInfo.Buffer
instance allocated on the specifiedMemoryStack
and 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 therefList0ModOpCount
field of the specifiedstruct
. -
nrefList1ModOpCount
public static void nrefList1ModOpCount(long struct, byte value) Sets the specified value to therefList1ModOpCount
field of the specifiedstruct
. -
nrefPicMarkingOpCount
public static void nrefPicMarkingOpCount(long struct, byte value) Sets the specified value to therefPicMarkingOpCount
field 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
-