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,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoDecodeH265PictureInfo
extends org.lwjgl.system.Struct<StdVideoDecodeH265PictureInfo>
implements org.lwjgl.system.NativeResource
Layout
struct StdVideoDecodeH265PictureInfo {
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
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.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
ConstructorsConstructorDescriptionStdVideoDecodeH265PictureInfo(ByteBuffer container) Creates aStdVideoDecodeH265PictureInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newStdVideoDecodeH265PictureInfoinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoDecodeH265PictureInfo.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newStdVideoDecodeH265PictureInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(org.lwjgl.system.MemoryStack stack) Returns a newStdVideoDecodeH265PictureInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newStdVideoDecodeH265PictureInfoinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoDecodeH265PictureInfo.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoDecodeH265PictureInfoinstance for the specified memory address.create(long address, int capacity) Create aStdVideoDecodeH265PictureInfo.Bufferinstance at the specified memory.static @Nullable StdVideoDecodeH265PictureInfocreateSafe(long address) static @Nullable StdVideoDecodeH265PictureInfo.BuffercreateSafe(long address, int capacity) flags()flags(Consumer<StdVideoDecodeH265PictureInfoFlags> consumer) Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoDecodeH265PictureInfoFlagsto theflagsfield.malloc()Returns a newStdVideoDecodeH265PictureInfoinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoDecodeH265PictureInfo.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newStdVideoDecodeH265PictureInfo.Bufferinstance allocated on the specifiedMemoryStack.malloc(org.lwjgl.system.MemoryStack stack) Returns a newStdVideoDecodeH265PictureInfoinstance allocated on the specifiedMemoryStack.nflags(long struct) Unsafe version offlags().static voidnflags(long struct, StdVideoDecodeH265PictureInfoFlags value) Unsafe version offlags.static shortnNumBitsForSTRefPicSetInSlice(long struct) Unsafe version ofNumBitsForSTRefPicSetInSlice().static voidnNumBitsForSTRefPicSetInSlice(long struct, short value) Unsafe version ofNumBitsForSTRefPicSetInSlice.static bytenNumDeltaPocsOfRefRpsIdx(long struct) Unsafe version ofNumDeltaPocsOfRefRpsIdx().static voidnNumDeltaPocsOfRefRpsIdx(long struct, byte value) Unsafe version ofNumDeltaPocsOfRefRpsIdx.static intnPicOrderCntVal(long struct) Unsafe version ofPicOrderCntVal().static voidnPicOrderCntVal(long struct, int value) Unsafe version ofPicOrderCntVal.static bytenpps_pic_parameter_set_id(long struct) Unsafe version ofpps_pic_parameter_set_id().static voidnpps_pic_parameter_set_id(long struct, byte value) Unsafe version ofpps_pic_parameter_set_id.static ByteBuffernRefPicSetLtCurr(long struct) Unsafe version ofRefPicSetLtCurr().static bytenRefPicSetLtCurr(long struct, int index) Unsafe version ofRefPicSetLtCurr.static voidnRefPicSetLtCurr(long struct, int index, byte value) Unsafe version ofRefPicSetLtCurr.static voidnRefPicSetLtCurr(long struct, ByteBuffer value) Unsafe version ofRefPicSetLtCurr.static ByteBuffernRefPicSetStCurrAfter(long struct) Unsafe version ofRefPicSetStCurrAfter().static bytenRefPicSetStCurrAfter(long struct, int index) Unsafe version ofRefPicSetStCurrAfter.static voidnRefPicSetStCurrAfter(long struct, int index, byte value) Unsafe version ofRefPicSetStCurrAfter.static voidnRefPicSetStCurrAfter(long struct, ByteBuffer value) Unsafe version ofRefPicSetStCurrAfter.static ByteBuffernRefPicSetStCurrBefore(long struct) Unsafe version ofRefPicSetStCurrBefore().static bytenRefPicSetStCurrBefore(long struct, int index) Unsafe version ofRefPicSetStCurrBefore.static voidnRefPicSetStCurrBefore(long struct, int index, byte value) Unsafe version ofRefPicSetStCurrBefore.static voidnRefPicSetStCurrBefore(long struct, ByteBuffer value) Unsafe version ofRefPicSetStCurrBefore.static shortnreserved(long struct) static voidnreserved(long struct, short value) static bytensps_seq_parameter_set_id(long struct) Unsafe version ofsps_seq_parameter_set_id().static voidnsps_seq_parameter_set_id(long struct, byte value) Unsafe version ofsps_seq_parameter_set_id.shortnumber of bits used in st_ref_pic_set() when short_term_ref_pic_set_sps_flag is 0; otherwise set to 0NumBitsForSTRefPicSetInSlice(short value) Sets the specified value to theNumBitsForSTRefPicSetInSlice()field.byteNumDeltaPocsOfRefRpsIdx(byte value) Sets the specified value to theNumDeltaPocsOfRefRpsIdxfield.intPicOrderCntVal(int value) Sets the specified value to thePicOrderCntValfield.bytepps_pic_parameter_set_id(byte value) Sets the specified value to thepps_pic_parameter_set_idfield.slotIndex as used in VkVideoReferenceSlotKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR, 0xff for invalid slotIndexbyteRefPicSetLtCurr(int index) slotIndex as used in VkVideoReferenceSlotKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR, 0xff for invalid slotIndexRefPicSetLtCurr(int index, byte value) Sets the specified value at the specified index of theRefPicSetLtCurr()field.RefPicSetLtCurr(ByteBuffer value) Copies the specifiedByteBufferto theRefPicSetLtCurr()field.slotIndex as used in VkVideoReferenceSlotKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR, 0xff for invalid slotIndexbyteRefPicSetStCurrAfter(int index) slotIndex as used in VkVideoReferenceSlotKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR, 0xff for invalid slotIndexRefPicSetStCurrAfter(int index, byte value) Sets the specified value at the specified index of theRefPicSetStCurrAfter()field.RefPicSetStCurrAfter(ByteBuffer value) Copies the specifiedByteBufferto theRefPicSetStCurrAfter()field.slotIndex as used in VkVideoReferenceSlotKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR, 0xff for invalid slotIndexbyteRefPicSetStCurrBefore(int index) slotIndex as used in VkVideoReferenceSlotKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR, 0xff for invalid slotIndexRefPicSetStCurrBefore(int index, byte value) Sets the specified value at the specified index of theRefPicSetStCurrBefore()field.RefPicSetStCurrBefore(ByteBuffer value) Copies the specifiedByteBufferto 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.intsizeof()bytesps_seq_parameter_set_id(byte value) Sets the specified value to thesps_seq_parameter_set_idfield.Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods 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. -
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 aStdVideoDecodeH265PictureInfoinstance 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()- Specified by:
sizeofin classorg.lwjgl.system.Struct<StdVideoDecodeH265PictureInfo>
-
flags
- Returns:
- a
StdVideoDecodeH265PictureInfoFlagsview of theflagsfield.
-
sps_seq_parameter_set_id
public byte sps_seq_parameter_set_id()- Returns:
- the value of the
sps_seq_parameter_set_idfield.
-
pps_pic_parameter_set_id
public byte pps_pic_parameter_set_id()- Returns:
- the value of the
pps_pic_parameter_set_idfield.
-
NumDeltaPocsOfRefRpsIdx
public byte NumDeltaPocsOfRefRpsIdx()- Returns:
- the value of the
NumDeltaPocsOfRefRpsIdxfield.
-
PicOrderCntVal
public int PicOrderCntVal()- Returns:
- the value of the
PicOrderCntValfield.
-
NumBitsForSTRefPicSetInSlice
public short NumBitsForSTRefPicSetInSlice()number of bits used in st_ref_pic_set() when short_term_ref_pic_set_sps_flag is 0; otherwise set to 0 -
RefPicSetStCurrBefore
slotIndex as used in VkVideoReferenceSlotKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR, 0xff for invalid slotIndex -
RefPicSetStCurrBefore
public byte RefPicSetStCurrBefore(int index) slotIndex as used in VkVideoReferenceSlotKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR, 0xff for invalid slotIndex -
RefPicSetStCurrAfter
slotIndex as used in VkVideoReferenceSlotKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR, 0xff for invalid slotIndex -
RefPicSetStCurrAfter
public byte RefPicSetStCurrAfter(int index) slotIndex as used in VkVideoReferenceSlotKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR, 0xff for invalid slotIndex -
RefPicSetLtCurr
slotIndex as used in VkVideoReferenceSlotKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR, 0xff for invalid slotIndex -
RefPicSetLtCurr
public byte RefPicSetLtCurr(int index) slotIndex as used in VkVideoReferenceSlotKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR, 0xff for invalid slotIndex -
flags
Copies the specifiedStdVideoDecodeH265PictureInfoFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
sps_seq_parameter_set_id
Sets the specified value to thesps_seq_parameter_set_idfield. -
pps_pic_parameter_set_id
Sets the specified value to thepps_pic_parameter_set_idfield. -
NumDeltaPocsOfRefRpsIdx
Sets the specified value to theNumDeltaPocsOfRefRpsIdxfield. -
PicOrderCntVal
Sets the specified value to thePicOrderCntValfield. -
NumBitsForSTRefPicSetInSlice
Sets the specified value to theNumBitsForSTRefPicSetInSlice()field. -
RefPicSetStCurrBefore
Copies the specifiedByteBufferto theRefPicSetStCurrBefore()field. -
RefPicSetStCurrBefore
Sets the specified value at the specified index of theRefPicSetStCurrBefore()field. -
RefPicSetStCurrAfter
Copies the specifiedByteBufferto theRefPicSetStCurrAfter()field. -
RefPicSetStCurrAfter
Sets the specified value at the specified index of theRefPicSetStCurrAfter()field. -
RefPicSetLtCurr
Copies the specifiedByteBufferto 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 newStdVideoDecodeH265PictureInfoinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoDecodeH265PictureInfoinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoDecodeH265PictureInfoinstance allocated withBufferUtils. -
create
Returns a newStdVideoDecodeH265PictureInfoinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoDecodeH265PictureInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoDecodeH265PictureInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoDecodeH265PictureInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoDecodeH265PictureInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoDecodeH265PictureInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoDecodeH265PictureInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoDecodeH265PictureInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newStdVideoDecodeH265PictureInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static StdVideoDecodeH265PictureInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newStdVideoDecodeH265PictureInfo.Bufferinstance allocated on the specifiedMemoryStackand 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.
-