Package org.lwjgl.vulkan.video
Class StdVideoDecodeH265PictureInfo.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoDecodeH265PictureInfo.Buffer>
org.lwjgl.system.StructBuffer<StdVideoDecodeH265PictureInfo,StdVideoDecodeH265PictureInfo.Buffer>
org.lwjgl.vulkan.video.StdVideoDecodeH265PictureInfo.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<StdVideoDecodeH265PictureInfo>
,NativeResource
,Pointer
- Enclosing class:
StdVideoDecodeH265PictureInfo
public static class StdVideoDecodeH265PictureInfo.Buffer
extends StructBuffer<StdVideoDecodeH265PictureInfo,StdVideoDecodeH265PictureInfo.Buffer>
implements NativeResource
An array of
StdVideoDecodeH265PictureInfo
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newStdVideoDecodeH265PictureInfo.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionflags()
flags
(Consumer<StdVideoDecodeH265PictureInfoFlags> consumer) Passes theflags
field to the specifiedConsumer
.Copies the specifiedStdVideoDecodeH265PictureInfoFlags
to theflags
field.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.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.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoDecodeH265PictureInfo.Buffer
instance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
StdVideoDecodeH265PictureInfo.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
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
public StdVideoDecodeH265PictureInfo.Buffer flags(Consumer<StdVideoDecodeH265PictureInfoFlags> consumer) 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.
-