Package org.lwjgl.vulkan.video
Class StdVideoH265LongTermRefPicsSps
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoH265LongTermRefPicsSps>
org.lwjgl.vulkan.video.StdVideoH265LongTermRefPicsSps
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoH265LongTermRefPicsSps
extends Struct<StdVideoH265LongTermRefPicsSps>
implements NativeResource
struct StdVideoH265LongTermRefPicsSps {
uint32_t used_by_curr_pic_lt_sps_flag;
uint32_t lt_ref_pic_poc_lsb_sps[STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS];
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofStdVideoH265LongTermRefPicsSps
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 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
ConstructorsConstructorDescriptionStdVideoH265LongTermRefPicsSps
(ByteBuffer container) Creates aStdVideoH265LongTermRefPicsSps
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newStdVideoH265LongTermRefPicsSps
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoH265LongTermRefPicsSps.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265LongTermRefPicsSps.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoH265LongTermRefPicsSps
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newStdVideoH265LongTermRefPicsSps
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoH265LongTermRefPicsSps.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoH265LongTermRefPicsSps
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoH265LongTermRefPicsSps.Buffer
instance at the specified memory.static @Nullable StdVideoH265LongTermRefPicsSps
createSafe
(long address) static @Nullable StdVideoH265LongTermRefPicsSps.Buffer
createSafe
(long address, int capacity) int
lt_ref_pic_poc_lsb_sps
(int index) lt_ref_pic_poc_lsb_sps
(int index, int value) Sets the specified value at the specified index of thelt_ref_pic_poc_lsb_sps
field.lt_ref_pic_poc_lsb_sps
(IntBuffer value) Copies the specifiedIntBuffer
to thelt_ref_pic_poc_lsb_sps
field.malloc()
Returns a newStdVideoH265LongTermRefPicsSps
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoH265LongTermRefPicsSps.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265LongTermRefPicsSps.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoH265LongTermRefPicsSps
instance allocated on the specifiedMemoryStack
.static IntBuffer
nlt_ref_pic_poc_lsb_sps
(long struct) Unsafe version oflt_ref_pic_poc_lsb_sps()
.static int
nlt_ref_pic_poc_lsb_sps
(long struct, int index) Unsafe version oflt_ref_pic_poc_lsb_sps
.static void
nlt_ref_pic_poc_lsb_sps
(long struct, int index, int value) Unsafe version oflt_ref_pic_poc_lsb_sps
.static void
nlt_ref_pic_poc_lsb_sps
(long struct, IntBuffer value) Unsafe version oflt_ref_pic_poc_lsb_sps
.static int
nused_by_curr_pic_lt_sps_flag
(long struct) Unsafe version ofused_by_curr_pic_lt_sps_flag()
.static void
nused_by_curr_pic_lt_sps_flag
(long struct, int value) Unsafe version ofused_by_curr_pic_lt_sps_flag
.Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.int
used_by_curr_pic_lt_sps_flag
(int value) Sets the specified value to theused_by_curr_pic_lt_sps_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. -
USED_BY_CURR_PIC_LT_SPS_FLAG
public static final int USED_BY_CURR_PIC_LT_SPS_FLAGThe struct member offsets. -
LT_REF_PIC_POC_LSB_SPS
public static final int LT_REF_PIC_POC_LSB_SPSThe struct member offsets.
-
-
Constructor Details
-
StdVideoH265LongTermRefPicsSps
Creates aStdVideoH265LongTermRefPicsSps
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<StdVideoH265LongTermRefPicsSps>
-
used_by_curr_pic_lt_sps_flag
public int used_by_curr_pic_lt_sps_flag()- Returns:
- the value of the
used_by_curr_pic_lt_sps_flag
field.
-
lt_ref_pic_poc_lsb_sps
- Returns:
- a
IntBuffer
view of thelt_ref_pic_poc_lsb_sps
field.
-
lt_ref_pic_poc_lsb_sps
public int lt_ref_pic_poc_lsb_sps(int index) - Returns:
- the value at the specified index of the
lt_ref_pic_poc_lsb_sps
field.
-
used_by_curr_pic_lt_sps_flag
Sets the specified value to theused_by_curr_pic_lt_sps_flag
field. -
lt_ref_pic_poc_lsb_sps
Copies the specifiedIntBuffer
to thelt_ref_pic_poc_lsb_sps
field. -
lt_ref_pic_poc_lsb_sps
Sets the specified value at the specified index of thelt_ref_pic_poc_lsb_sps
field. -
set
public StdVideoH265LongTermRefPicsSps set(int used_by_curr_pic_lt_sps_flag, IntBuffer lt_ref_pic_poc_lsb_sps) 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 newStdVideoH265LongTermRefPicsSps
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265LongTermRefPicsSps
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoH265LongTermRefPicsSps
instance allocated withBufferUtils
. -
create
Returns a newStdVideoH265LongTermRefPicsSps
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265LongTermRefPicsSps.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoH265LongTermRefPicsSps.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoH265LongTermRefPicsSps.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoH265LongTermRefPicsSps.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable StdVideoH265LongTermRefPicsSps.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoH265LongTermRefPicsSps
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265LongTermRefPicsSps
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoH265LongTermRefPicsSps.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265LongTermRefPicsSps.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nused_by_curr_pic_lt_sps_flag
public static int nused_by_curr_pic_lt_sps_flag(long struct) Unsafe version ofused_by_curr_pic_lt_sps_flag()
. -
nlt_ref_pic_poc_lsb_sps
Unsafe version oflt_ref_pic_poc_lsb_sps()
. -
nlt_ref_pic_poc_lsb_sps
public static int nlt_ref_pic_poc_lsb_sps(long struct, int index) Unsafe version oflt_ref_pic_poc_lsb_sps
. -
nused_by_curr_pic_lt_sps_flag
public static void nused_by_curr_pic_lt_sps_flag(long struct, int value) Unsafe version ofused_by_curr_pic_lt_sps_flag
. -
nlt_ref_pic_poc_lsb_sps
Unsafe version oflt_ref_pic_poc_lsb_sps
. -
nlt_ref_pic_poc_lsb_sps
public static void nlt_ref_pic_poc_lsb_sps(long struct, int index, int value) Unsafe version oflt_ref_pic_poc_lsb_sps
.
-