Package org.lwjgl.vulkan.video
Class StdVideoDecodeH265PictureInfo
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoDecodeH265PictureInfo>
org.lwjgl.vulkan.video.StdVideoDecodeH265PictureInfo
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoDecodeH265PictureInfo
extends Struct<StdVideoDecodeH265PictureInfo>
implements NativeResource
struct StdVideoDecodeH265PictureInfo {
{@link StdVideoDecodeH265PictureInfoFlags StdVideoDecodeH265PictureInfoFlags} flags;
uint8_t sps_seq_parameter_set_id;
uint8_t pps_pic_parameter_set_id;
uint8_t NumDeltaPocsOfRefRpsIdx;
int32_t PicOrderCntVal;
uint16_t NumBitsForSTRefPicSetInSlice;
uint16_t reserved;
uint8_t RefPicSetStCurrBefore[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE];
uint8_t RefPicSetStCurrAfter[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE];
uint8_t RefPicSetLtCurr[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE];
}
-
Nested Class Summary
Nested ClassesNested 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 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
ConstructorsConstructorDescriptionStdVideoDecodeH265PictureInfo
(ByteBuffer container) Creates aStdVideoDecodeH265PictureInfo
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newStdVideoDecodeH265PictureInfo
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoDecodeH265PictureInfo.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoDecodeH265PictureInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoDecodeH265PictureInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newStdVideoDecodeH265PictureInfo
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoDecodeH265PictureInfo.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoDecodeH265PictureInfo
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoDecodeH265PictureInfo.Buffer
instance at the specified memory.static @Nullable StdVideoDecodeH265PictureInfo
createSafe
(long address) static @Nullable StdVideoDecodeH265PictureInfo.Buffer
createSafe
(long address, int capacity) flags()
flags
(Consumer<StdVideoDecodeH265PictureInfoFlags> consumer) Passes theflags
field to the specifiedConsumer
.Copies the specifiedStdVideoDecodeH265PictureInfoFlags
to theflags
field.malloc()
Returns a newStdVideoDecodeH265PictureInfo
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoDecodeH265PictureInfo.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoDecodeH265PictureInfo.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoDecodeH265PictureInfo
instance allocated on the specifiedMemoryStack
.nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, StdVideoDecodeH265PictureInfoFlags value) Unsafe version offlags
.static short
nNumBitsForSTRefPicSetInSlice
(long struct) Unsafe version ofNumBitsForSTRefPicSetInSlice()
.static void
nNumBitsForSTRefPicSetInSlice
(long struct, short value) Unsafe version ofNumBitsForSTRefPicSetInSlice
.static byte
nNumDeltaPocsOfRefRpsIdx
(long struct) Unsafe version ofNumDeltaPocsOfRefRpsIdx()
.static void
nNumDeltaPocsOfRefRpsIdx
(long struct, byte value) Unsafe version ofNumDeltaPocsOfRefRpsIdx
.static int
nPicOrderCntVal
(long struct) Unsafe version ofPicOrderCntVal()
.static void
nPicOrderCntVal
(long struct, int value) Unsafe version ofPicOrderCntVal
.static byte
npps_pic_parameter_set_id
(long struct) Unsafe version ofpps_pic_parameter_set_id()
.static void
npps_pic_parameter_set_id
(long struct, byte value) Unsafe version ofpps_pic_parameter_set_id
.static ByteBuffer
nRefPicSetLtCurr
(long struct) Unsafe version ofRefPicSetLtCurr()
.static byte
nRefPicSetLtCurr
(long struct, int index) Unsafe version ofRefPicSetLtCurr
.static void
nRefPicSetLtCurr
(long struct, int index, byte value) Unsafe version ofRefPicSetLtCurr
.static void
nRefPicSetLtCurr
(long struct, ByteBuffer value) Unsafe version ofRefPicSetLtCurr
.static ByteBuffer
nRefPicSetStCurrAfter
(long struct) Unsafe version ofRefPicSetStCurrAfter()
.static byte
nRefPicSetStCurrAfter
(long struct, int index) Unsafe version ofRefPicSetStCurrAfter
.static void
nRefPicSetStCurrAfter
(long struct, int index, byte value) Unsafe version ofRefPicSetStCurrAfter
.static void
nRefPicSetStCurrAfter
(long struct, ByteBuffer value) Unsafe version ofRefPicSetStCurrAfter
.static ByteBuffer
nRefPicSetStCurrBefore
(long struct) Unsafe version ofRefPicSetStCurrBefore()
.static byte
nRefPicSetStCurrBefore
(long struct, int index) Unsafe version ofRefPicSetStCurrBefore
.static void
nRefPicSetStCurrBefore
(long struct, int index, byte value) Unsafe version ofRefPicSetStCurrBefore
.static void
nRefPicSetStCurrBefore
(long struct, ByteBuffer value) Unsafe version ofRefPicSetStCurrBefore
.static short
nreserved
(long struct) static void
nreserved
(long struct, short value) static byte
nsps_seq_parameter_set_id
(long struct) Unsafe version ofsps_seq_parameter_set_id()
.static void
nsps_seq_parameter_set_id
(long struct, byte value) Unsafe version ofsps_seq_parameter_set_id
.short
NumBitsForSTRefPicSetInSlice
(short value) Sets the specified value to theNumBitsForSTRefPicSetInSlice
field.byte
NumDeltaPocsOfRefRpsIdx
(byte value) Sets the specified value to theNumDeltaPocsOfRefRpsIdx
field.int
PicOrderCntVal
(int value) Sets the specified value to thePicOrderCntVal
field.byte
pps_pic_parameter_set_id
(byte value) Sets the specified value to thepps_pic_parameter_set_id
field.byte
RefPicSetLtCurr
(int index) RefPicSetLtCurr
(int index, byte value) Sets the specified value at the specified index of theRefPicSetLtCurr
field.RefPicSetLtCurr
(ByteBuffer value) Copies the specifiedByteBuffer
to theRefPicSetLtCurr
field.byte
RefPicSetStCurrAfter
(int index) RefPicSetStCurrAfter
(int index, byte value) Sets the specified value at the specified index of theRefPicSetStCurrAfter
field.RefPicSetStCurrAfter
(ByteBuffer value) Copies the specifiedByteBuffer
to theRefPicSetStCurrAfter
field.byte
RefPicSetStCurrBefore
(int index) RefPicSetStCurrBefore
(int index, byte value) Sets the specified value at the specified index of theRefPicSetStCurrBefore
field.RefPicSetStCurrBefore
(ByteBuffer value) Copies the specifiedByteBuffer
to theRefPicSetStCurrBefore
field.Copies the specified struct data to this struct.set
(StdVideoDecodeH265PictureInfoFlags flags, byte sps_seq_parameter_set_id, byte pps_pic_parameter_set_id, byte NumDeltaPocsOfRefRpsIdx, int PicOrderCntVal, short NumBitsForSTRefPicSetInSlice, ByteBuffer RefPicSetStCurrBefore, ByteBuffer RefPicSetStCurrAfter, ByteBuffer RefPicSetLtCurr) Initializes this struct with the specified values.int
sizeof()
Returnssizeof(struct)
.byte
sps_seq_parameter_set_id
(byte value) Sets the specified value to thesps_seq_parameter_set_id
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. -
FLAGS
public static final int FLAGSThe struct member offsets. -
SPS_SEQ_PARAMETER_SET_ID
public static final int SPS_SEQ_PARAMETER_SET_IDThe struct member offsets. -
PPS_PIC_PARAMETER_SET_ID
public static final int PPS_PIC_PARAMETER_SET_IDThe struct member offsets. -
NUMDELTAPOCSOFREFRPSIDX
public static final int NUMDELTAPOCSOFREFRPSIDXThe struct member offsets. -
PICORDERCNTVAL
public static final int PICORDERCNTVALThe struct member offsets. -
NUMBITSFORSTREFPICSETINSLICE
public static final int NUMBITSFORSTREFPICSETINSLICEThe struct member offsets. -
RESERVED
public static final int RESERVEDThe struct member offsets. -
REFPICSETSTCURRBEFORE
public static final int REFPICSETSTCURRBEFOREThe struct member offsets. -
REFPICSETSTCURRAFTER
public static final int REFPICSETSTCURRAFTERThe struct member offsets. -
REFPICSETLTCURR
public static final int REFPICSETLTCURRThe struct member offsets.
-
-
Constructor Details
-
StdVideoDecodeH265PictureInfo
Creates aStdVideoDecodeH265PictureInfo
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<StdVideoDecodeH265PictureInfo>
-
flags
- Returns:
- a
StdVideoDecodeH265PictureInfoFlags
view of theflags
field.
-
sps_seq_parameter_set_id
public byte sps_seq_parameter_set_id()- Returns:
- the value of the
sps_seq_parameter_set_id
field.
-
pps_pic_parameter_set_id
public byte pps_pic_parameter_set_id()- Returns:
- the value of the
pps_pic_parameter_set_id
field.
-
NumDeltaPocsOfRefRpsIdx
public byte NumDeltaPocsOfRefRpsIdx()- Returns:
- the value of the
NumDeltaPocsOfRefRpsIdx
field.
-
PicOrderCntVal
public int PicOrderCntVal()- Returns:
- the value of the
PicOrderCntVal
field.
-
NumBitsForSTRefPicSetInSlice
public short NumBitsForSTRefPicSetInSlice()- Returns:
- the value of the
NumBitsForSTRefPicSetInSlice
field.
-
RefPicSetStCurrBefore
- Returns:
- a
ByteBuffer
view of theRefPicSetStCurrBefore
field.
-
RefPicSetStCurrBefore
public byte RefPicSetStCurrBefore(int index) - Returns:
- the value at the specified index of the
RefPicSetStCurrBefore
field.
-
RefPicSetStCurrAfter
- Returns:
- a
ByteBuffer
view of theRefPicSetStCurrAfter
field.
-
RefPicSetStCurrAfter
public byte RefPicSetStCurrAfter(int index) - Returns:
- the value at the specified index of the
RefPicSetStCurrAfter
field.
-
RefPicSetLtCurr
- Returns:
- a
ByteBuffer
view of theRefPicSetLtCurr
field.
-
RefPicSetLtCurr
public byte RefPicSetLtCurr(int index) - Returns:
- the value at the specified index of the
RefPicSetLtCurr
field.
-
flags
Copies the specifiedStdVideoDecodeH265PictureInfoFlags
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
sps_seq_parameter_set_id
Sets the specified value to thesps_seq_parameter_set_id
field. -
pps_pic_parameter_set_id
Sets the specified value to thepps_pic_parameter_set_id
field. -
NumDeltaPocsOfRefRpsIdx
Sets the specified value to theNumDeltaPocsOfRefRpsIdx
field. -
PicOrderCntVal
Sets the specified value to thePicOrderCntVal
field. -
NumBitsForSTRefPicSetInSlice
Sets the specified value to theNumBitsForSTRefPicSetInSlice
field. -
RefPicSetStCurrBefore
Copies the specifiedByteBuffer
to theRefPicSetStCurrBefore
field. -
RefPicSetStCurrBefore
Sets the specified value at the specified index of theRefPicSetStCurrBefore
field. -
RefPicSetStCurrAfter
Copies the specifiedByteBuffer
to theRefPicSetStCurrAfter
field. -
RefPicSetStCurrAfter
Sets the specified value at the specified index of theRefPicSetStCurrAfter
field. -
RefPicSetLtCurr
Copies the specifiedByteBuffer
to theRefPicSetLtCurr
field. -
RefPicSetLtCurr
Sets the specified value at the specified index of theRefPicSetLtCurr
field. -
set
public StdVideoDecodeH265PictureInfo set(StdVideoDecodeH265PictureInfoFlags flags, byte sps_seq_parameter_set_id, byte pps_pic_parameter_set_id, byte NumDeltaPocsOfRefRpsIdx, int PicOrderCntVal, short NumBitsForSTRefPicSetInSlice, ByteBuffer RefPicSetStCurrBefore, ByteBuffer RefPicSetStCurrAfter, ByteBuffer RefPicSetLtCurr) 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 newStdVideoDecodeH265PictureInfo
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoDecodeH265PictureInfo
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoDecodeH265PictureInfo
instance allocated withBufferUtils
. -
create
Returns a newStdVideoDecodeH265PictureInfo
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoDecodeH265PictureInfo.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoDecodeH265PictureInfo.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoDecodeH265PictureInfo.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoDecodeH265PictureInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoDecodeH265PictureInfo
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoDecodeH265PictureInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoDecodeH265PictureInfo.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoDecodeH265PictureInfo.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()
. -
nsps_seq_parameter_set_id
public static byte nsps_seq_parameter_set_id(long struct) Unsafe version ofsps_seq_parameter_set_id()
. -
npps_pic_parameter_set_id
public static byte npps_pic_parameter_set_id(long struct) Unsafe version ofpps_pic_parameter_set_id()
. -
nNumDeltaPocsOfRefRpsIdx
public static byte nNumDeltaPocsOfRefRpsIdx(long struct) Unsafe version ofNumDeltaPocsOfRefRpsIdx()
. -
nPicOrderCntVal
public static int nPicOrderCntVal(long struct) Unsafe version ofPicOrderCntVal()
. -
nNumBitsForSTRefPicSetInSlice
public static short nNumBitsForSTRefPicSetInSlice(long struct) Unsafe version ofNumBitsForSTRefPicSetInSlice()
. -
nreserved
public static short nreserved(long struct) -
nRefPicSetStCurrBefore
Unsafe version ofRefPicSetStCurrBefore()
. -
nRefPicSetStCurrBefore
public static byte nRefPicSetStCurrBefore(long struct, int index) Unsafe version ofRefPicSetStCurrBefore
. -
nRefPicSetStCurrAfter
Unsafe version ofRefPicSetStCurrAfter()
. -
nRefPicSetStCurrAfter
public static byte nRefPicSetStCurrAfter(long struct, int index) Unsafe version ofRefPicSetStCurrAfter
. -
nRefPicSetLtCurr
Unsafe version ofRefPicSetLtCurr()
. -
nRefPicSetLtCurr
public static byte nRefPicSetLtCurr(long struct, int index) Unsafe version ofRefPicSetLtCurr
. -
nflags
Unsafe version offlags
. -
nsps_seq_parameter_set_id
public static void nsps_seq_parameter_set_id(long struct, byte value) Unsafe version ofsps_seq_parameter_set_id
. -
npps_pic_parameter_set_id
public static void npps_pic_parameter_set_id(long struct, byte value) Unsafe version ofpps_pic_parameter_set_id
. -
nNumDeltaPocsOfRefRpsIdx
public static void nNumDeltaPocsOfRefRpsIdx(long struct, byte value) Unsafe version ofNumDeltaPocsOfRefRpsIdx
. -
nPicOrderCntVal
public static void nPicOrderCntVal(long struct, int value) Unsafe version ofPicOrderCntVal
. -
nNumBitsForSTRefPicSetInSlice
public static void nNumBitsForSTRefPicSetInSlice(long struct, short value) Unsafe version ofNumBitsForSTRefPicSetInSlice
. -
nreserved
public static void nreserved(long struct, short value) -
nRefPicSetStCurrBefore
Unsafe version ofRefPicSetStCurrBefore
. -
nRefPicSetStCurrBefore
public static void nRefPicSetStCurrBefore(long struct, int index, byte value) Unsafe version ofRefPicSetStCurrBefore
. -
nRefPicSetStCurrAfter
Unsafe version ofRefPicSetStCurrAfter
. -
nRefPicSetStCurrAfter
public static void nRefPicSetStCurrAfter(long struct, int index, byte value) Unsafe version ofRefPicSetStCurrAfter
. -
nRefPicSetLtCurr
Unsafe version ofRefPicSetLtCurr
. -
nRefPicSetLtCurr
public static void nRefPicSetLtCurr(long struct, int index, byte value) Unsafe version ofRefPicSetLtCurr
.
-