Package org.lwjgl.vulkan.video
Class StdVideoDecodeH264PictureInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<StdVideoDecodeH264PictureInfo,StdVideoDecodeH264PictureInfo.Buffer>
-
- org.lwjgl.vulkan.video.StdVideoDecodeH264PictureInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<StdVideoDecodeH264PictureInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- StdVideoDecodeH264PictureInfo
public static class StdVideoDecodeH264PictureInfo.Buffer extends org.lwjgl.system.StructBuffer<StdVideoDecodeH264PictureInfo,StdVideoDecodeH264PictureInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofStdVideoDecodeH264PictureInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newStdVideoDecodeH264PictureInfo.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 byStdVideoDecodeH264PictureInfo.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
-
seq_parameter_set_id
public byte seq_parameter_set_id()
- Returns:
- the value of the
StdVideoDecodeH264PictureInfo.seq_parameter_set_id()field.
-
pic_parameter_set_id
public byte pic_parameter_set_id()
- Returns:
- the value of the
StdVideoDecodeH264PictureInfo.pic_parameter_set_id()field.
-
reserved
public short reserved()
- Returns:
- the value of the
StdVideoDecodeH264PictureInfo.reserved()field.
-
frame_num
public short frame_num()
- Returns:
- the value of the
StdVideoDecodeH264PictureInfo.frame_num()field.
-
idr_pic_id
public short idr_pic_id()
- Returns:
- the value of the
StdVideoDecodeH264PictureInfo.idr_pic_id()field.
-
PicOrderCnt
public java.nio.IntBuffer PicOrderCnt()
- Returns:
- a
IntBufferview of theStdVideoDecodeH264PictureInfo.PicOrderCnt()field.
-
PicOrderCnt
public int PicOrderCnt(int index)
- Returns:
- the value at the specified index of the
StdVideoDecodeH264PictureInfo.PicOrderCnt()field.
-
flags
public StdVideoDecodeH264PictureInfoFlags flags()
- Returns:
- a
StdVideoDecodeH264PictureInfoFlagsview of theflagsfield.
-
seq_parameter_set_id
public StdVideoDecodeH264PictureInfo.Buffer seq_parameter_set_id(byte value)
Sets the specified value to theStdVideoDecodeH264PictureInfo.seq_parameter_set_id()field.
-
pic_parameter_set_id
public StdVideoDecodeH264PictureInfo.Buffer pic_parameter_set_id(byte value)
Sets the specified value to theStdVideoDecodeH264PictureInfo.pic_parameter_set_id()field.
-
reserved
public StdVideoDecodeH264PictureInfo.Buffer reserved(short value)
Sets the specified value to theStdVideoDecodeH264PictureInfo.reserved()field.
-
frame_num
public StdVideoDecodeH264PictureInfo.Buffer frame_num(short value)
Sets the specified value to theStdVideoDecodeH264PictureInfo.frame_num()field.
-
idr_pic_id
public StdVideoDecodeH264PictureInfo.Buffer idr_pic_id(short value)
Sets the specified value to theStdVideoDecodeH264PictureInfo.idr_pic_id()field.
-
PicOrderCnt
public StdVideoDecodeH264PictureInfo.Buffer PicOrderCnt(java.nio.IntBuffer value)
Copies the specifiedIntBufferto theStdVideoDecodeH264PictureInfo.PicOrderCnt()field.
-
PicOrderCnt
public StdVideoDecodeH264PictureInfo.Buffer PicOrderCnt(int index, int value)
Sets the specified value at the specified index of theStdVideoDecodeH264PictureInfo.PicOrderCnt()field.
-
flags
public StdVideoDecodeH264PictureInfo.Buffer flags(StdVideoDecodeH264PictureInfoFlags value)
Copies the specifiedStdVideoDecodeH264PictureInfoFlagsto theflagsfield.
-
flags
public StdVideoDecodeH264PictureInfo.Buffer flags(java.util.function.Consumer<StdVideoDecodeH264PictureInfoFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
-