Package org.lwjgl.vulkan.video
Class StdVideoH265ShortTermRefPicSet.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoH265ShortTermRefPicSet.Buffer>
org.lwjgl.system.StructBuffer<StdVideoH265ShortTermRefPicSet,StdVideoH265ShortTermRefPicSet.Buffer>
org.lwjgl.vulkan.video.StdVideoH265ShortTermRefPicSet.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<StdVideoH265ShortTermRefPicSet>,NativeResource,Pointer
- Enclosing class:
StdVideoH265ShortTermRefPicSet
public static class StdVideoH265ShortTermRefPicSet.Buffer
extends StructBuffer<StdVideoH265ShortTermRefPicSet,StdVideoH265ShortTermRefPicSet.Buffer>
implements NativeResource
An array of
StdVideoH265ShortTermRefPicSet 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 newStdVideoH265ShortTermRefPicSet.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionshortabs_delta_rps_minus1(short value) Sets the specified value to theabs_delta_rps_minus1field.intdelta_idx_minus1(int value) Sets the specified value to thedelta_idx_minus1field.shortdelta_poc_s0_minus1(int index) delta_poc_s0_minus1(int index, short value) Sets the specified value at the specified index of thedelta_poc_s0_minus1field.delta_poc_s0_minus1(ShortBuffer value) Copies the specifiedShortBufferto thedelta_poc_s0_minus1field.shortdelta_poc_s1_minus1(int index) delta_poc_s1_minus1(int index, short value) Sets the specified value at the specified index of thedelta_poc_s1_minus1field.delta_poc_s1_minus1(ShortBuffer value) Copies the specifiedShortBufferto thedelta_poc_s1_minus1field.flags()flags(Consumer<StdVideoH265ShortTermRefPicSetFlags> consumer) Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoH265ShortTermRefPicSetFlagsto theflagsfield.bytenum_negative_pics(byte value) Sets the specified value to thenum_negative_picsfield.bytenum_positive_pics(byte value) Sets the specified value to thenum_positive_picsfield.shortuse_delta_flag(short value) Sets the specified value to theuse_delta_flagfield.shortused_by_curr_pic_flag(short value) Sets the specified value to theused_by_curr_pic_flagfield.shortused_by_curr_pic_s0_flag(short value) Sets the specified value to theused_by_curr_pic_s0_flagfield.shortused_by_curr_pic_s1_flag(short value) Sets the specified value to theused_by_curr_pic_s1_flagfield.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 newStdVideoH265ShortTermRefPicSet.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
StdVideoH265ShortTermRefPicSet.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
StdVideoH265ShortTermRefPicSetFlagsview of theflagsfield.
-
delta_idx_minus1
public int delta_idx_minus1()- Returns:
- the value of the
delta_idx_minus1field.
-
use_delta_flag
public short use_delta_flag()- Returns:
- the value of the
use_delta_flagfield.
-
abs_delta_rps_minus1
public short abs_delta_rps_minus1()- Returns:
- the value of the
abs_delta_rps_minus1field.
-
used_by_curr_pic_flag
public short used_by_curr_pic_flag()- Returns:
- the value of the
used_by_curr_pic_flagfield.
-
used_by_curr_pic_s0_flag
public short used_by_curr_pic_s0_flag()- Returns:
- the value of the
used_by_curr_pic_s0_flagfield.
-
used_by_curr_pic_s1_flag
public short used_by_curr_pic_s1_flag()- Returns:
- the value of the
used_by_curr_pic_s1_flagfield.
-
num_negative_pics
public byte num_negative_pics()- Returns:
- the value of the
num_negative_picsfield.
-
num_positive_pics
public byte num_positive_pics()- Returns:
- the value of the
num_positive_picsfield.
-
delta_poc_s0_minus1
- Returns:
- a
ShortBufferview of thedelta_poc_s0_minus1field.
-
delta_poc_s0_minus1
public short delta_poc_s0_minus1(int index) - Returns:
- the value at the specified index of the
delta_poc_s0_minus1field.
-
delta_poc_s1_minus1
- Returns:
- a
ShortBufferview of thedelta_poc_s1_minus1field.
-
delta_poc_s1_minus1
public short delta_poc_s1_minus1(int index) - Returns:
- the value at the specified index of the
delta_poc_s1_minus1field.
-
flags
Copies the specifiedStdVideoH265ShortTermRefPicSetFlagsto theflagsfield. -
flags
public StdVideoH265ShortTermRefPicSet.Buffer flags(Consumer<StdVideoH265ShortTermRefPicSetFlags> consumer) Passes theflagsfield to the specifiedConsumer. -
delta_idx_minus1
Sets the specified value to thedelta_idx_minus1field. -
use_delta_flag
Sets the specified value to theuse_delta_flagfield. -
abs_delta_rps_minus1
Sets the specified value to theabs_delta_rps_minus1field. -
used_by_curr_pic_flag
Sets the specified value to theused_by_curr_pic_flagfield. -
used_by_curr_pic_s0_flag
Sets the specified value to theused_by_curr_pic_s0_flagfield. -
used_by_curr_pic_s1_flag
Sets the specified value to theused_by_curr_pic_s1_flagfield. -
num_negative_pics
Sets the specified value to thenum_negative_picsfield. -
num_positive_pics
Sets the specified value to thenum_positive_picsfield. -
delta_poc_s0_minus1
Copies the specifiedShortBufferto thedelta_poc_s0_minus1field. -
delta_poc_s0_minus1
Sets the specified value at the specified index of thedelta_poc_s0_minus1field. -
delta_poc_s1_minus1
Copies the specifiedShortBufferto thedelta_poc_s1_minus1field. -
delta_poc_s1_minus1
Sets the specified value at the specified index of thedelta_poc_s1_minus1field.
-