Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265LongTermRefPics
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoEncodeH265LongTermRefPics>
org.lwjgl.vulkan.video.StdVideoEncodeH265LongTermRefPics
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoEncodeH265LongTermRefPics
extends Struct<StdVideoEncodeH265LongTermRefPics>
implements NativeResource
struct StdVideoEncodeH265LongTermRefPics {
uint8_t num_long_term_sps;
uint8_t num_long_term_pics;
uint8_t lt_idx_sps[STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS];
uint8_t poc_lsb_lt[STD_VIDEO_H265_MAX_LONG_TERM_PICS];
uint16_t used_by_curr_pic_lt_flag;
uint8_t delta_poc_msb_present_flag[STD_VIDEO_H265_MAX_DELTA_POC];
uint8_t delta_poc_msb_cycle_lt[STD_VIDEO_H265_MAX_DELTA_POC];
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofStdVideoEncodeH265LongTermRefPics
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 size in bytes.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH265LongTermRefPics
(ByteBuffer container) Creates aStdVideoEncodeH265LongTermRefPics
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newStdVideoEncodeH265LongTermRefPics
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoEncodeH265LongTermRefPics.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265LongTermRefPics.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoEncodeH265LongTermRefPics
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newStdVideoEncodeH265LongTermRefPics
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoEncodeH265LongTermRefPics.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoEncodeH265LongTermRefPics
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoEncodeH265LongTermRefPics.Buffer
instance at the specified memory.static @Nullable StdVideoEncodeH265LongTermRefPics
createSafe
(long address) static @Nullable StdVideoEncodeH265LongTermRefPics.Buffer
createSafe
(long address, int capacity) byte
delta_poc_msb_cycle_lt
(int index) delta_poc_msb_cycle_lt
(int index, byte value) Sets the specified value at the specified index of thedelta_poc_msb_cycle_lt
field.delta_poc_msb_cycle_lt
(ByteBuffer value) Copies the specifiedByteBuffer
to thedelta_poc_msb_cycle_lt
field.byte
delta_poc_msb_present_flag
(int index) delta_poc_msb_present_flag
(int index, byte value) Sets the specified value at the specified index of thedelta_poc_msb_present_flag
field.Copies the specifiedByteBuffer
to thedelta_poc_msb_present_flag
field.byte
lt_idx_sps
(int index) lt_idx_sps
(int index, byte value) Sets the specified value at the specified index of thelt_idx_sps
field.lt_idx_sps
(ByteBuffer value) Copies the specifiedByteBuffer
to thelt_idx_sps
field.malloc()
Returns a newStdVideoEncodeH265LongTermRefPics
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoEncodeH265LongTermRefPics.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265LongTermRefPics.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoEncodeH265LongTermRefPics
instance allocated on the specifiedMemoryStack
.static ByteBuffer
ndelta_poc_msb_cycle_lt
(long struct) Unsafe version ofdelta_poc_msb_cycle_lt()
.static byte
ndelta_poc_msb_cycle_lt
(long struct, int index) Unsafe version ofdelta_poc_msb_cycle_lt
.static void
ndelta_poc_msb_cycle_lt
(long struct, int index, byte value) Unsafe version ofdelta_poc_msb_cycle_lt
.static void
ndelta_poc_msb_cycle_lt
(long struct, ByteBuffer value) Unsafe version ofdelta_poc_msb_cycle_lt
.static ByteBuffer
ndelta_poc_msb_present_flag
(long struct) Unsafe version ofdelta_poc_msb_present_flag()
.static byte
ndelta_poc_msb_present_flag
(long struct, int index) Unsafe version ofdelta_poc_msb_present_flag
.static void
ndelta_poc_msb_present_flag
(long struct, int index, byte value) Unsafe version ofdelta_poc_msb_present_flag
.static void
ndelta_poc_msb_present_flag
(long struct, ByteBuffer value) Unsafe version ofdelta_poc_msb_present_flag
.static ByteBuffer
nlt_idx_sps
(long struct) Unsafe version oflt_idx_sps()
.static byte
nlt_idx_sps
(long struct, int index) Unsafe version oflt_idx_sps
.static void
nlt_idx_sps
(long struct, int index, byte value) Unsafe version oflt_idx_sps
.static void
nlt_idx_sps
(long struct, ByteBuffer value) Unsafe version oflt_idx_sps
.static byte
nnum_long_term_pics
(long struct) Unsafe version ofnum_long_term_pics()
.static void
nnum_long_term_pics
(long struct, byte value) Unsafe version ofnum_long_term_pics
.static byte
nnum_long_term_sps
(long struct) Unsafe version ofnum_long_term_sps()
.static void
nnum_long_term_sps
(long struct, byte value) Unsafe version ofnum_long_term_sps
.static ByteBuffer
npoc_lsb_lt
(long struct) Unsafe version ofpoc_lsb_lt()
.static byte
npoc_lsb_lt
(long struct, int index) Unsafe version ofpoc_lsb_lt
.static void
npoc_lsb_lt
(long struct, int index, byte value) Unsafe version ofpoc_lsb_lt
.static void
npoc_lsb_lt
(long struct, ByteBuffer value) Unsafe version ofpoc_lsb_lt
.byte
num_long_term_pics
(byte value) Sets the specified value to thenum_long_term_pics
field.byte
num_long_term_sps
(byte value) Sets the specified value to thenum_long_term_sps
field.static short
nused_by_curr_pic_lt_flag
(long struct) Unsafe version ofused_by_curr_pic_lt_flag()
.static void
nused_by_curr_pic_lt_flag
(long struct, short value) Unsafe version ofused_by_curr_pic_lt_flag
.byte
poc_lsb_lt
(int index) poc_lsb_lt
(int index, byte value) Sets the specified value at the specified index of thepoc_lsb_lt
field.poc_lsb_lt
(ByteBuffer value) Copies the specifiedByteBuffer
to thepoc_lsb_lt
field.set
(byte num_long_term_sps, byte num_long_term_pics, ByteBuffer lt_idx_sps, ByteBuffer poc_lsb_lt, short used_by_curr_pic_lt_flag, ByteBuffer delta_poc_msb_present_flag, ByteBuffer delta_poc_msb_cycle_lt) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.short
used_by_curr_pic_lt_flag
(short value) Sets the specified value to theused_by_curr_pic_lt_flag
field.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. -
NUM_LONG_TERM_SPS
public static final int NUM_LONG_TERM_SPSThe struct member offsets. -
NUM_LONG_TERM_PICS
public static final int NUM_LONG_TERM_PICSThe struct member offsets. -
LT_IDX_SPS
public static final int LT_IDX_SPSThe struct member offsets. -
POC_LSB_LT
public static final int POC_LSB_LTThe struct member offsets. -
USED_BY_CURR_PIC_LT_FLAG
public static final int USED_BY_CURR_PIC_LT_FLAGThe struct member offsets. -
DELTA_POC_MSB_PRESENT_FLAG
public static final int DELTA_POC_MSB_PRESENT_FLAGThe struct member offsets. -
DELTA_POC_MSB_CYCLE_LT
public static final int DELTA_POC_MSB_CYCLE_LTThe struct member offsets.
-
-
Constructor Details
-
StdVideoEncodeH265LongTermRefPics
Creates aStdVideoEncodeH265LongTermRefPics
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<StdVideoEncodeH265LongTermRefPics>
-
num_long_term_sps
public byte num_long_term_sps()- Returns:
- the value of the
num_long_term_sps
field.
-
num_long_term_pics
public byte num_long_term_pics()- Returns:
- the value of the
num_long_term_pics
field.
-
lt_idx_sps
- Returns:
- a
ByteBuffer
view of thelt_idx_sps
field.
-
lt_idx_sps
public byte lt_idx_sps(int index) - Returns:
- the value at the specified index of the
lt_idx_sps
field.
-
poc_lsb_lt
- Returns:
- a
ByteBuffer
view of thepoc_lsb_lt
field.
-
poc_lsb_lt
public byte poc_lsb_lt(int index) - Returns:
- the value at the specified index of the
poc_lsb_lt
field.
-
used_by_curr_pic_lt_flag
public short used_by_curr_pic_lt_flag()- Returns:
- the value of the
used_by_curr_pic_lt_flag
field.
-
delta_poc_msb_present_flag
- Returns:
- a
ByteBuffer
view of thedelta_poc_msb_present_flag
field.
-
delta_poc_msb_present_flag
public byte delta_poc_msb_present_flag(int index) - Returns:
- the value at the specified index of the
delta_poc_msb_present_flag
field.
-
delta_poc_msb_cycle_lt
- Returns:
- a
ByteBuffer
view of thedelta_poc_msb_cycle_lt
field.
-
delta_poc_msb_cycle_lt
public byte delta_poc_msb_cycle_lt(int index) - Returns:
- the value at the specified index of the
delta_poc_msb_cycle_lt
field.
-
num_long_term_sps
Sets the specified value to thenum_long_term_sps
field. -
num_long_term_pics
Sets the specified value to thenum_long_term_pics
field. -
lt_idx_sps
Copies the specifiedByteBuffer
to thelt_idx_sps
field. -
lt_idx_sps
Sets the specified value at the specified index of thelt_idx_sps
field. -
poc_lsb_lt
Copies the specifiedByteBuffer
to thepoc_lsb_lt
field. -
poc_lsb_lt
Sets the specified value at the specified index of thepoc_lsb_lt
field. -
used_by_curr_pic_lt_flag
Sets the specified value to theused_by_curr_pic_lt_flag
field. -
delta_poc_msb_present_flag
Copies the specifiedByteBuffer
to thedelta_poc_msb_present_flag
field. -
delta_poc_msb_present_flag
Sets the specified value at the specified index of thedelta_poc_msb_present_flag
field. -
delta_poc_msb_cycle_lt
Copies the specifiedByteBuffer
to thedelta_poc_msb_cycle_lt
field. -
delta_poc_msb_cycle_lt
Sets the specified value at the specified index of thedelta_poc_msb_cycle_lt
field. -
set
public StdVideoEncodeH265LongTermRefPics set(byte num_long_term_sps, byte num_long_term_pics, ByteBuffer lt_idx_sps, ByteBuffer poc_lsb_lt, short used_by_curr_pic_lt_flag, ByteBuffer delta_poc_msb_present_flag, ByteBuffer delta_poc_msb_cycle_lt) 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 newStdVideoEncodeH265LongTermRefPics
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH265LongTermRefPics
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH265LongTermRefPics
instance allocated withBufferUtils
. -
create
Returns a newStdVideoEncodeH265LongTermRefPics
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH265LongTermRefPics.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH265LongTermRefPics.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoEncodeH265LongTermRefPics.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoEncodeH265LongTermRefPics.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable StdVideoEncodeH265LongTermRefPics.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoEncodeH265LongTermRefPics
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH265LongTermRefPics
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeH265LongTermRefPics.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH265LongTermRefPics.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nnum_long_term_sps
public static byte nnum_long_term_sps(long struct) Unsafe version ofnum_long_term_sps()
. -
nnum_long_term_pics
public static byte nnum_long_term_pics(long struct) Unsafe version ofnum_long_term_pics()
. -
nlt_idx_sps
Unsafe version oflt_idx_sps()
. -
nlt_idx_sps
public static byte nlt_idx_sps(long struct, int index) Unsafe version oflt_idx_sps
. -
npoc_lsb_lt
Unsafe version ofpoc_lsb_lt()
. -
npoc_lsb_lt
public static byte npoc_lsb_lt(long struct, int index) Unsafe version ofpoc_lsb_lt
. -
nused_by_curr_pic_lt_flag
public static short nused_by_curr_pic_lt_flag(long struct) Unsafe version ofused_by_curr_pic_lt_flag()
. -
ndelta_poc_msb_present_flag
Unsafe version ofdelta_poc_msb_present_flag()
. -
ndelta_poc_msb_present_flag
public static byte ndelta_poc_msb_present_flag(long struct, int index) Unsafe version ofdelta_poc_msb_present_flag
. -
ndelta_poc_msb_cycle_lt
Unsafe version ofdelta_poc_msb_cycle_lt()
. -
ndelta_poc_msb_cycle_lt
public static byte ndelta_poc_msb_cycle_lt(long struct, int index) Unsafe version ofdelta_poc_msb_cycle_lt
. -
nnum_long_term_sps
public static void nnum_long_term_sps(long struct, byte value) Unsafe version ofnum_long_term_sps
. -
nnum_long_term_pics
public static void nnum_long_term_pics(long struct, byte value) Unsafe version ofnum_long_term_pics
. -
nlt_idx_sps
Unsafe version oflt_idx_sps
. -
nlt_idx_sps
public static void nlt_idx_sps(long struct, int index, byte value) Unsafe version oflt_idx_sps
. -
npoc_lsb_lt
Unsafe version ofpoc_lsb_lt
. -
npoc_lsb_lt
public static void npoc_lsb_lt(long struct, int index, byte value) Unsafe version ofpoc_lsb_lt
. -
nused_by_curr_pic_lt_flag
public static void nused_by_curr_pic_lt_flag(long struct, short value) Unsafe version ofused_by_curr_pic_lt_flag
. -
ndelta_poc_msb_present_flag
Unsafe version ofdelta_poc_msb_present_flag
. -
ndelta_poc_msb_present_flag
public static void ndelta_poc_msb_present_flag(long struct, int index, byte value) Unsafe version ofdelta_poc_msb_present_flag
. -
ndelta_poc_msb_cycle_lt
Unsafe version ofdelta_poc_msb_cycle_lt
. -
ndelta_poc_msb_cycle_lt
public static void ndelta_poc_msb_cycle_lt(long struct, int index, byte value) Unsafe version ofdelta_poc_msb_cycle_lt
.
-