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.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionshort
abs_delta_rps_minus1
(short value) Sets the specified value to theabs_delta_rps_minus1
field.int
delta_idx_minus1
(int value) Sets the specified value to thedelta_idx_minus1
field.short
delta_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_minus1
field.delta_poc_s0_minus1
(ShortBuffer value) Copies the specifiedShortBuffer
to thedelta_poc_s0_minus1
field.short
delta_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_minus1
field.delta_poc_s1_minus1
(ShortBuffer value) Copies the specifiedShortBuffer
to thedelta_poc_s1_minus1
field.flags()
flags
(Consumer<StdVideoH265ShortTermRefPicSetFlags> consumer) Passes theflags
field to the specifiedConsumer
.Copies the specifiedStdVideoH265ShortTermRefPicSetFlags
to theflags
field.byte
num_negative_pics
(byte value) Sets the specified value to thenum_negative_pics
field.byte
num_positive_pics
(byte value) Sets the specified value to thenum_positive_pics
field.short
use_delta_flag
(short value) Sets the specified value to theuse_delta_flag
field.short
used_by_curr_pic_flag
(short value) Sets the specified value to theused_by_curr_pic_flag
field.short
used_by_curr_pic_s0_flag
(short value) Sets the specified value to theused_by_curr_pic_s0_flag
field.short
used_by_curr_pic_s1_flag
(short value) Sets the specified value to theused_by_curr_pic_s1_flag
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods 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, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoH265ShortTermRefPicSet.Buffer
instance 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
StdVideoH265ShortTermRefPicSetFlags
view of theflags
field.
-
delta_idx_minus1
public int delta_idx_minus1()- Returns:
- the value of the
delta_idx_minus1
field.
-
use_delta_flag
public short use_delta_flag()- Returns:
- the value of the
use_delta_flag
field.
-
abs_delta_rps_minus1
public short abs_delta_rps_minus1()- Returns:
- the value of the
abs_delta_rps_minus1
field.
-
used_by_curr_pic_flag
public short used_by_curr_pic_flag()- Returns:
- the value of the
used_by_curr_pic_flag
field.
-
used_by_curr_pic_s0_flag
public short used_by_curr_pic_s0_flag()- Returns:
- the value of the
used_by_curr_pic_s0_flag
field.
-
used_by_curr_pic_s1_flag
public short used_by_curr_pic_s1_flag()- Returns:
- the value of the
used_by_curr_pic_s1_flag
field.
-
num_negative_pics
public byte num_negative_pics()- Returns:
- the value of the
num_negative_pics
field.
-
num_positive_pics
public byte num_positive_pics()- Returns:
- the value of the
num_positive_pics
field.
-
delta_poc_s0_minus1
- Returns:
- a
ShortBuffer
view of thedelta_poc_s0_minus1
field.
-
delta_poc_s0_minus1
public short delta_poc_s0_minus1(int index) - Returns:
- the value at the specified index of the
delta_poc_s0_minus1
field.
-
delta_poc_s1_minus1
- Returns:
- a
ShortBuffer
view of thedelta_poc_s1_minus1
field.
-
delta_poc_s1_minus1
public short delta_poc_s1_minus1(int index) - Returns:
- the value at the specified index of the
delta_poc_s1_minus1
field.
-
flags
Copies the specifiedStdVideoH265ShortTermRefPicSetFlags
to theflags
field. -
flags
public StdVideoH265ShortTermRefPicSet.Buffer flags(Consumer<StdVideoH265ShortTermRefPicSetFlags> consumer) Passes theflags
field to the specifiedConsumer
. -
delta_idx_minus1
Sets the specified value to thedelta_idx_minus1
field. -
use_delta_flag
Sets the specified value to theuse_delta_flag
field. -
abs_delta_rps_minus1
Sets the specified value to theabs_delta_rps_minus1
field. -
used_by_curr_pic_flag
Sets the specified value to theused_by_curr_pic_flag
field. -
used_by_curr_pic_s0_flag
Sets the specified value to theused_by_curr_pic_s0_flag
field. -
used_by_curr_pic_s1_flag
Sets the specified value to theused_by_curr_pic_s1_flag
field. -
num_negative_pics
Sets the specified value to thenum_negative_pics
field. -
num_positive_pics
Sets the specified value to thenum_positive_pics
field. -
delta_poc_s0_minus1
Copies the specifiedShortBuffer
to thedelta_poc_s0_minus1
field. -
delta_poc_s0_minus1
Sets the specified value at the specified index of thedelta_poc_s0_minus1
field. -
delta_poc_s1_minus1
Copies the specifiedShortBuffer
to thedelta_poc_s1_minus1
field. -
delta_poc_s1_minus1
Sets the specified value at the specified index of thedelta_poc_s1_minus1
field.
-