Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264RefListModEntry
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoEncodeH264RefListModEntry>
org.lwjgl.vulkan.video.StdVideoEncodeH264RefListModEntry
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoEncodeH264RefListModEntry
extends Struct<StdVideoEncodeH264RefListModEntry>
implements NativeResource
struct StdVideoEncodeH264RefListModEntry {
StdVideoH264ModificationOfPicNumsIdc modification_of_pic_nums_idc;
uint16_t abs_diff_pic_num_minus1;
uint16_t long_term_pic_num;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofStdVideoEncodeH264RefListModEntry
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 member offsets.static 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 size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH264RefListModEntry
(ByteBuffer container) Creates aStdVideoEncodeH264RefListModEntry
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionshort
abs_diff_pic_num_minus1
(short value) Sets the specified value to theabs_diff_pic_num_minus1
field.calloc()
Returns a newStdVideoEncodeH264RefListModEntry
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoEncodeH264RefListModEntry.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264RefListModEntry.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoEncodeH264RefListModEntry
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newStdVideoEncodeH264RefListModEntry
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoEncodeH264RefListModEntry.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoEncodeH264RefListModEntry
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoEncodeH264RefListModEntry.Buffer
instance at the specified memory.static @Nullable StdVideoEncodeH264RefListModEntry
createSafe
(long address) static @Nullable StdVideoEncodeH264RefListModEntry.Buffer
createSafe
(long address, int capacity) short
long_term_pic_num
(short value) Sets the specified value to thelong_term_pic_num
field.malloc()
Returns a newStdVideoEncodeH264RefListModEntry
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoEncodeH264RefListModEntry.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264RefListModEntry.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoEncodeH264RefListModEntry
instance allocated on the specifiedMemoryStack
.int
modification_of_pic_nums_idc
(int value) Sets the specified value to themodification_of_pic_nums_idc
field.static short
nabs_diff_pic_num_minus1
(long struct) Unsafe version ofabs_diff_pic_num_minus1()
.static void
nabs_diff_pic_num_minus1
(long struct, short value) Unsafe version ofabs_diff_pic_num_minus1
.static short
nlong_term_pic_num
(long struct) Unsafe version oflong_term_pic_num()
.static void
nlong_term_pic_num
(long struct, short value) Unsafe version oflong_term_pic_num
.static int
nmodification_of_pic_nums_idc
(long struct) Unsafe version ofmodification_of_pic_nums_idc()
.static void
nmodification_of_pic_nums_idc
(long struct, int value) Unsafe version ofmodification_of_pic_nums_idc
.set
(int modification_of_pic_nums_idc, short abs_diff_pic_num_minus1, short long_term_pic_num) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.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. -
MODIFICATION_OF_PIC_NUMS_IDC
public static final int MODIFICATION_OF_PIC_NUMS_IDCThe struct member offsets. -
ABS_DIFF_PIC_NUM_MINUS1
public static final int ABS_DIFF_PIC_NUM_MINUS1The struct member offsets. -
LONG_TERM_PIC_NUM
public static final int LONG_TERM_PIC_NUMThe struct member offsets.
-
-
Constructor Details
-
StdVideoEncodeH264RefListModEntry
Creates aStdVideoEncodeH264RefListModEntry
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<StdVideoEncodeH264RefListModEntry>
-
modification_of_pic_nums_idc
public int modification_of_pic_nums_idc()- Returns:
- the value of the
modification_of_pic_nums_idc
field.
-
abs_diff_pic_num_minus1
public short abs_diff_pic_num_minus1()- Returns:
- the value of the
abs_diff_pic_num_minus1
field.
-
long_term_pic_num
public short long_term_pic_num()- Returns:
- the value of the
long_term_pic_num
field.
-
modification_of_pic_nums_idc
Sets the specified value to themodification_of_pic_nums_idc
field. -
abs_diff_pic_num_minus1
Sets the specified value to theabs_diff_pic_num_minus1
field. -
long_term_pic_num
Sets the specified value to thelong_term_pic_num
field. -
set
public StdVideoEncodeH264RefListModEntry set(int modification_of_pic_nums_idc, short abs_diff_pic_num_minus1, short long_term_pic_num) 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 newStdVideoEncodeH264RefListModEntry
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH264RefListModEntry
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH264RefListModEntry
instance allocated withBufferUtils
. -
create
Returns a newStdVideoEncodeH264RefListModEntry
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH264RefListModEntry.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH264RefListModEntry.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoEncodeH264RefListModEntry.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoEncodeH264RefListModEntry.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable StdVideoEncodeH264RefListModEntry.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoEncodeH264RefListModEntry
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264RefListModEntry
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeH264RefListModEntry.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264RefListModEntry.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nmodification_of_pic_nums_idc
public static int nmodification_of_pic_nums_idc(long struct) Unsafe version ofmodification_of_pic_nums_idc()
. -
nabs_diff_pic_num_minus1
public static short nabs_diff_pic_num_minus1(long struct) Unsafe version ofabs_diff_pic_num_minus1()
. -
nlong_term_pic_num
public static short nlong_term_pic_num(long struct) Unsafe version oflong_term_pic_num()
. -
nmodification_of_pic_nums_idc
public static void nmodification_of_pic_nums_idc(long struct, int value) Unsafe version ofmodification_of_pic_nums_idc
. -
nabs_diff_pic_num_minus1
public static void nabs_diff_pic_num_minus1(long struct, short value) Unsafe version ofabs_diff_pic_num_minus1
. -
nlong_term_pic_num
public static void nlong_term_pic_num(long struct, short value) Unsafe version oflong_term_pic_num
.
-