Package org.lwjgl.vulkan.video
Class StdVideoDecodeH264ReferenceInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<StdVideoDecodeH264ReferenceInfo,StdVideoDecodeH264ReferenceInfo.Buffer>
-
- org.lwjgl.vulkan.video.StdVideoDecodeH264ReferenceInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<StdVideoDecodeH264ReferenceInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- StdVideoDecodeH264ReferenceInfo
public static class StdVideoDecodeH264ReferenceInfo.Buffer extends org.lwjgl.system.StructBuffer<StdVideoDecodeH264ReferenceInfo,StdVideoDecodeH264ReferenceInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofStdVideoDecodeH264ReferenceInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newStdVideoDecodeH264ReferenceInfo.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 byStdVideoDecodeH264ReferenceInfo.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
-
FrameNum
public short FrameNum()
- Returns:
- the value of the
StdVideoDecodeH264ReferenceInfo.FrameNum()field.
-
reserved
public short reserved()
- Returns:
- the value of the
StdVideoDecodeH264ReferenceInfo.reserved()field.
-
PicOrderCnt
public java.nio.IntBuffer PicOrderCnt()
- Returns:
- a
IntBufferview of theStdVideoDecodeH264ReferenceInfo.PicOrderCnt()field.
-
PicOrderCnt
public int PicOrderCnt(int index)
- Returns:
- the value at the specified index of the
StdVideoDecodeH264ReferenceInfo.PicOrderCnt()field.
-
flags
public StdVideoDecodeH264ReferenceInfoFlags flags()
- Returns:
- a
StdVideoDecodeH264ReferenceInfoFlagsview of theflagsfield.
-
FrameNum
public StdVideoDecodeH264ReferenceInfo.Buffer FrameNum(short value)
Sets the specified value to theStdVideoDecodeH264ReferenceInfo.FrameNum()field.
-
reserved
public StdVideoDecodeH264ReferenceInfo.Buffer reserved(short value)
Sets the specified value to theStdVideoDecodeH264ReferenceInfo.reserved()field.
-
PicOrderCnt
public StdVideoDecodeH264ReferenceInfo.Buffer PicOrderCnt(java.nio.IntBuffer value)
Copies the specifiedIntBufferto theStdVideoDecodeH264ReferenceInfo.PicOrderCnt()field.
-
PicOrderCnt
public StdVideoDecodeH264ReferenceInfo.Buffer PicOrderCnt(int index, int value)
Sets the specified value at the specified index of theStdVideoDecodeH264ReferenceInfo.PicOrderCnt()field.
-
flags
public StdVideoDecodeH264ReferenceInfo.Buffer flags(StdVideoDecodeH264ReferenceInfoFlags value)
Copies the specifiedStdVideoDecodeH264ReferenceInfoFlagsto theflagsfield.
-
flags
public StdVideoDecodeH264ReferenceInfo.Buffer flags(java.util.function.Consumer<StdVideoDecodeH264ReferenceInfoFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
-