Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264RefPicMarkingEntry.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoEncodeH264RefPicMarkingEntry.Buffer>
org.lwjgl.system.StructBuffer<StdVideoEncodeH264RefPicMarkingEntry,StdVideoEncodeH264RefPicMarkingEntry.Buffer>
org.lwjgl.vulkan.video.StdVideoEncodeH264RefPicMarkingEntry.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<StdVideoEncodeH264RefPicMarkingEntry>
,NativeResource
,Pointer
- Enclosing class:
StdVideoEncodeH264RefPicMarkingEntry
public static class StdVideoEncodeH264RefPicMarkingEntry.Buffer
extends StructBuffer<StdVideoEncodeH264RefPicMarkingEntry,StdVideoEncodeH264RefPicMarkingEntry.Buffer>
implements NativeResource
An array of
StdVideoEncodeH264RefPicMarkingEntry
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 newStdVideoEncodeH264RefPicMarkingEntry.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionshort
difference_of_pic_nums_minus1
(short value) Sets the specified value to thedifference_of_pic_nums_minus1
field.short
long_term_frame_idx
(short value) Sets the specified value to thelong_term_frame_idx
field.short
long_term_pic_num
(short value) Sets the specified value to thelong_term_pic_num
field.short
max_long_term_frame_idx_plus1
(short value) Sets the specified value to themax_long_term_frame_idx_plus1
field.int
memory_management_control_operation
(int value) Sets the specified value to thememory_management_control_operation
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 newStdVideoEncodeH264RefPicMarkingEntry.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
StdVideoEncodeH264RefPicMarkingEntry.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
-
memory_management_control_operation
public int memory_management_control_operation()- Returns:
- the value of the
memory_management_control_operation
field.
-
difference_of_pic_nums_minus1
public short difference_of_pic_nums_minus1()- Returns:
- the value of the
difference_of_pic_nums_minus1
field.
-
long_term_pic_num
public short long_term_pic_num()- Returns:
- the value of the
long_term_pic_num
field.
-
long_term_frame_idx
public short long_term_frame_idx()- Returns:
- the value of the
long_term_frame_idx
field.
-
max_long_term_frame_idx_plus1
public short max_long_term_frame_idx_plus1()- Returns:
- the value of the
max_long_term_frame_idx_plus1
field.
-
memory_management_control_operation
Sets the specified value to thememory_management_control_operation
field. -
difference_of_pic_nums_minus1
Sets the specified value to thedifference_of_pic_nums_minus1
field. -
long_term_pic_num
Sets the specified value to thelong_term_pic_num
field. -
long_term_frame_idx
Sets the specified value to thelong_term_frame_idx
field. -
max_long_term_frame_idx_plus1
Sets the specified value to themax_long_term_frame_idx_plus1
field.
-