Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264ReferenceInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<StdVideoEncodeH264ReferenceInfo,StdVideoEncodeH264ReferenceInfo.Buffer>
-
- org.lwjgl.vulkan.video.StdVideoEncodeH264ReferenceInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<StdVideoEncodeH264ReferenceInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- StdVideoEncodeH264ReferenceInfo
public static class StdVideoEncodeH264ReferenceInfo.Buffer extends org.lwjgl.system.StructBuffer<StdVideoEncodeH264ReferenceInfo,StdVideoEncodeH264ReferenceInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofStdVideoEncodeH264ReferenceInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newStdVideoEncodeH264ReferenceInfo.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 byStdVideoEncodeH264ReferenceInfo.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
-
flags
public StdVideoEncodeH264ReferenceInfoFlags flags()
- Returns:
- a
StdVideoEncodeH264ReferenceInfoFlagsview of theflagsfield.
-
FrameNum
public int FrameNum()
- Returns:
- the value of the
FrameNumfield.
-
PicOrderCnt
public int PicOrderCnt()
- Returns:
- the value of the
PicOrderCntfield.
-
long_term_pic_num
public short long_term_pic_num()
- Returns:
- the value of the
long_term_pic_numfield.
-
long_term_frame_idx
public short long_term_frame_idx()
- Returns:
- the value of the
long_term_frame_idxfield.
-
flags
public StdVideoEncodeH264ReferenceInfo.Buffer flags(StdVideoEncodeH264ReferenceInfoFlags value)
Copies the specifiedStdVideoEncodeH264ReferenceInfoFlagsto theflagsfield.
-
flags
public StdVideoEncodeH264ReferenceInfo.Buffer flags(java.util.function.Consumer<StdVideoEncodeH264ReferenceInfoFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
FrameNum
public StdVideoEncodeH264ReferenceInfo.Buffer FrameNum(int value)
Sets the specified value to theFrameNumfield.
-
PicOrderCnt
public StdVideoEncodeH264ReferenceInfo.Buffer PicOrderCnt(int value)
Sets the specified value to thePicOrderCntfield.
-
long_term_pic_num
public StdVideoEncodeH264ReferenceInfo.Buffer long_term_pic_num(short value)
Sets the specified value to thelong_term_pic_numfield.
-
long_term_frame_idx
public StdVideoEncodeH264ReferenceInfo.Buffer long_term_frame_idx(short value)
Sets the specified value to thelong_term_frame_idxfield.
-
-