Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265PictureInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<StdVideoEncodeH265PictureInfo,StdVideoEncodeH265PictureInfo.Buffer>
-
- org.lwjgl.vulkan.video.StdVideoEncodeH265PictureInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<StdVideoEncodeH265PictureInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- StdVideoEncodeH265PictureInfo
public static class StdVideoEncodeH265PictureInfo.Buffer extends org.lwjgl.system.StructBuffer<StdVideoEncodeH265PictureInfo,StdVideoEncodeH265PictureInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofStdVideoEncodeH265PictureInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newStdVideoEncodeH265PictureInfo.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 byStdVideoEncodeH265PictureInfo.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 Detail
-
PictureType
public int PictureType()
- Returns:
- the value of the
PictureTypefield.
-
sps_video_parameter_set_id
public byte sps_video_parameter_set_id()
- Returns:
- the value of the
sps_video_parameter_set_idfield.
-
pps_seq_parameter_set_id
public byte pps_seq_parameter_set_id()
- Returns:
- the value of the
pps_seq_parameter_set_idfield.
-
PicOrderCntVal
public int PicOrderCntVal()
- Returns:
- the value of the
PicOrderCntValfield.
-
TemporalId
public byte TemporalId()
- Returns:
- the value of the
TemporalIdfield.
-
flags
public StdVideoEncodeH265PictureInfoFlags flags()
- Returns:
- a
StdVideoEncodeH265PictureInfoFlagsview of theflagsfield.
-
PictureType
public StdVideoEncodeH265PictureInfo.Buffer PictureType(int value)
Sets the specified value to thePictureTypefield.
-
sps_video_parameter_set_id
public StdVideoEncodeH265PictureInfo.Buffer sps_video_parameter_set_id(byte value)
Sets the specified value to thesps_video_parameter_set_idfield.
-
pps_seq_parameter_set_id
public StdVideoEncodeH265PictureInfo.Buffer pps_seq_parameter_set_id(byte value)
Sets the specified value to thepps_seq_parameter_set_idfield.
-
PicOrderCntVal
public StdVideoEncodeH265PictureInfo.Buffer PicOrderCntVal(int value)
Sets the specified value to thePicOrderCntValfield.
-
TemporalId
public StdVideoEncodeH265PictureInfo.Buffer TemporalId(byte value)
Sets the specified value to theTemporalIdfield.
-
flags
public StdVideoEncodeH265PictureInfo.Buffer flags(StdVideoEncodeH265PictureInfoFlags value)
Copies the specifiedStdVideoEncodeH265PictureInfoFlagsto theflagsfield.
-
flags
public StdVideoEncodeH265PictureInfo.Buffer flags(java.util.function.Consumer<StdVideoEncodeH265PictureInfoFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
-