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.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionflags()flags(Consumer<StdVideoDecodeH265PictureInfoFlags> consumer) Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoDecodeH265PictureInfoFlagsto theflagsfield.shortNumBitsForSTRefPicSetInSlice(short value) Sets the specified value to theNumBitsForSTRefPicSetInSlicefield.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.byteRefPicSetLtCurr(int index) RefPicSetLtCurr(int index, byte value) Sets the specified value at the specified index of theRefPicSetLtCurrfield.RefPicSetLtCurr(ByteBuffer value) Copies the specifiedByteBufferto theRefPicSetLtCurrfield.byteRefPicSetStCurrAfter(int index) RefPicSetStCurrAfter(int index, byte value) Sets the specified value at the specified index of theRefPicSetStCurrAfterfield.RefPicSetStCurrAfter(ByteBuffer value) Copies the specifiedByteBufferto theRefPicSetStCurrAfterfield.byteRefPicSetStCurrBefore(int index) RefPicSetStCurrBefore(int index, byte value) Sets the specified value at the specified index of theRefPicSetStCurrBeforefield.RefPicSetStCurrBefore(ByteBuffer value) Copies the specifiedByteBufferto theRefPicSetStCurrBeforefield.bytesps_seq_parameter_set_id(byte value) Sets the specified value to thesps_seq_parameter_set_idfield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods 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, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoDecodeH265PictureInfo.Bufferinstance 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
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()- Returns:
- the value of the
NumBitsForSTRefPicSetInSlicefield.
-
RefPicSetStCurrBefore
- Returns:
- a
ByteBufferview of theRefPicSetStCurrBeforefield.
-
RefPicSetStCurrBefore
public byte RefPicSetStCurrBefore(int index) - Returns:
- the value at the specified index of the
RefPicSetStCurrBeforefield.
-
RefPicSetStCurrAfter
- Returns:
- a
ByteBufferview of theRefPicSetStCurrAfterfield.
-
RefPicSetStCurrAfter
public byte RefPicSetStCurrAfter(int index) - Returns:
- the value at the specified index of the
RefPicSetStCurrAfterfield.
-
RefPicSetLtCurr
- Returns:
- a
ByteBufferview of theRefPicSetLtCurrfield.
-
RefPicSetLtCurr
public byte RefPicSetLtCurr(int index) - Returns:
- the value at the specified index of the
RefPicSetLtCurrfield.
-
flags
Copies the specifiedStdVideoDecodeH265PictureInfoFlagsto theflagsfield. -
flags
public StdVideoDecodeH265PictureInfo.Buffer flags(Consumer<StdVideoDecodeH265PictureInfoFlags> consumer) 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 theNumBitsForSTRefPicSetInSlicefield. -
RefPicSetStCurrBefore
Copies the specifiedByteBufferto theRefPicSetStCurrBeforefield. -
RefPicSetStCurrBefore
Sets the specified value at the specified index of theRefPicSetStCurrBeforefield. -
RefPicSetStCurrAfter
Copies the specifiedByteBufferto theRefPicSetStCurrAfterfield. -
RefPicSetStCurrAfter
Sets the specified value at the specified index of theRefPicSetStCurrAfterfield. -
RefPicSetLtCurr
Copies the specifiedByteBufferto theRefPicSetLtCurrfield. -
RefPicSetLtCurr
Sets the specified value at the specified index of theRefPicSetLtCurrfield.
-