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 classAn array ofStdVideoH265LongTermRefPicsSpsstructs.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 size in bytes.static final intThe 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 aStdVideoH265LongTermRefPicsSpsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newStdVideoH265LongTermRefPicsSpsinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoH265LongTermRefPicsSps.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoH265LongTermRefPicsSps.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newStdVideoH265LongTermRefPicsSpsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newStdVideoH265LongTermRefPicsSpsinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoH265LongTermRefPicsSps.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoH265LongTermRefPicsSpsinstance for the specified memory address.create(long address, int capacity) Create aStdVideoH265LongTermRefPicsSps.Bufferinstance at the specified memory.static @Nullable StdVideoH265LongTermRefPicsSpscreateSafe(long address) static @Nullable StdVideoH265LongTermRefPicsSps.BuffercreateSafe(long address, int capacity) intlt_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_spsfield.lt_ref_pic_poc_lsb_sps(IntBuffer value) Copies the specifiedIntBufferto thelt_ref_pic_poc_lsb_spsfield.malloc()Returns a newStdVideoH265LongTermRefPicsSpsinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoH265LongTermRefPicsSps.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoH265LongTermRefPicsSps.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newStdVideoH265LongTermRefPicsSpsinstance allocated on the specifiedMemoryStack.static IntBuffernlt_ref_pic_poc_lsb_sps(long struct) Unsafe version oflt_ref_pic_poc_lsb_sps().static intnlt_ref_pic_poc_lsb_sps(long struct, int index) Unsafe version oflt_ref_pic_poc_lsb_sps.static voidnlt_ref_pic_poc_lsb_sps(long struct, int index, int value) Unsafe version oflt_ref_pic_poc_lsb_sps.static voidnlt_ref_pic_poc_lsb_sps(long struct, IntBuffer value) Unsafe version oflt_ref_pic_poc_lsb_sps.static intnused_by_curr_pic_lt_sps_flag(long struct) Unsafe version ofused_by_curr_pic_lt_sps_flag().static voidnused_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.intsizeof()Returnssizeof(struct).intused_by_curr_pic_lt_sps_flag(int value) Sets the specified value to theused_by_curr_pic_lt_sps_flagfield.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. -
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 aStdVideoH265LongTermRefPicsSpsinstance 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<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_flagfield.
-
lt_ref_pic_poc_lsb_sps
- Returns:
- a
IntBufferview of thelt_ref_pic_poc_lsb_spsfield.
-
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_spsfield.
-
used_by_curr_pic_lt_sps_flag
Sets the specified value to theused_by_curr_pic_lt_sps_flagfield. -
lt_ref_pic_poc_lsb_sps
Copies the specifiedIntBufferto thelt_ref_pic_poc_lsb_spsfield. -
lt_ref_pic_poc_lsb_sps
Sets the specified value at the specified index of thelt_ref_pic_poc_lsb_spsfield. -
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 newStdVideoH265LongTermRefPicsSpsinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265LongTermRefPicsSpsinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoH265LongTermRefPicsSpsinstance allocated withBufferUtils. -
create
Returns a newStdVideoH265LongTermRefPicsSpsinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265LongTermRefPicsSps.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoH265LongTermRefPicsSps.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoH265LongTermRefPicsSps.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoH265LongTermRefPicsSps.Bufferinstance 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 newStdVideoH265LongTermRefPicsSpsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoH265LongTermRefPicsSpsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoH265LongTermRefPicsSps.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoH265LongTermRefPicsSps.Bufferinstance allocated on the specifiedMemoryStackand 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.
-