Package org.lwjgl.vulkan.video
Class StdVideoVP9LoopFilter.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoVP9LoopFilter.Buffer>
org.lwjgl.system.StructBuffer<StdVideoVP9LoopFilter,StdVideoVP9LoopFilter.Buffer>
org.lwjgl.vulkan.video.StdVideoVP9LoopFilter.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<StdVideoVP9LoopFilter>
,NativeResource
,Pointer
- Enclosing class:
StdVideoVP9LoopFilter
public static class StdVideoVP9LoopFilter.Buffer
extends StructBuffer<StdVideoVP9LoopFilter,StdVideoVP9LoopFilter.Buffer>
implements NativeResource
An array of
StdVideoVP9LoopFilter
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 newStdVideoVP9LoopFilter.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionflags()
flags
(Consumer<StdVideoVP9LoopFilterFlags> consumer) Passes theflags
field to the specifiedConsumer
.flags
(StdVideoVP9LoopFilterFlags value) Copies the specifiedStdVideoVP9LoopFilterFlags
to theflags
field.byte
loop_filter_level
(byte value) Sets the specified value to theloop_filter_level
field.byte
loop_filter_mode_deltas
(int index) loop_filter_mode_deltas
(int index, byte value) Sets the specified value at the specified index of theloop_filter_mode_deltas
field.Copies the specifiedByteBuffer
to theloop_filter_mode_deltas
field.byte
loop_filter_ref_deltas
(int index) loop_filter_ref_deltas
(int index, byte value) Sets the specified value at the specified index of theloop_filter_ref_deltas
field.loop_filter_ref_deltas
(ByteBuffer value) Copies the specifiedByteBuffer
to theloop_filter_ref_deltas
field.byte
loop_filter_sharpness
(byte value) Sets the specified value to theloop_filter_sharpness
field.byte
update_mode_delta
(byte value) Sets the specified value to theupdate_mode_delta
field.byte
update_ref_delta
(byte value) Sets the specified value to theupdate_ref_delta
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 newStdVideoVP9LoopFilter.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
StdVideoVP9LoopFilter.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
StdVideoVP9LoopFilterFlags
view of theflags
field.
-
loop_filter_level
public byte loop_filter_level()- Returns:
- the value of the
loop_filter_level
field.
-
loop_filter_sharpness
public byte loop_filter_sharpness()- Returns:
- the value of the
loop_filter_sharpness
field.
-
update_ref_delta
public byte update_ref_delta()- Returns:
- the value of the
update_ref_delta
field.
-
loop_filter_ref_deltas
- Returns:
- a
ByteBuffer
view of theloop_filter_ref_deltas
field.
-
loop_filter_ref_deltas
public byte loop_filter_ref_deltas(int index) - Returns:
- the value at the specified index of the
loop_filter_ref_deltas
field.
-
update_mode_delta
public byte update_mode_delta()- Returns:
- the value of the
update_mode_delta
field.
-
loop_filter_mode_deltas
- Returns:
- a
ByteBuffer
view of theloop_filter_mode_deltas
field.
-
loop_filter_mode_deltas
public byte loop_filter_mode_deltas(int index) - Returns:
- the value at the specified index of the
loop_filter_mode_deltas
field.
-
flags
Copies the specifiedStdVideoVP9LoopFilterFlags
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
loop_filter_level
Sets the specified value to theloop_filter_level
field. -
loop_filter_sharpness
Sets the specified value to theloop_filter_sharpness
field. -
update_ref_delta
Sets the specified value to theupdate_ref_delta
field. -
loop_filter_ref_deltas
Copies the specifiedByteBuffer
to theloop_filter_ref_deltas
field. -
loop_filter_ref_deltas
Sets the specified value at the specified index of theloop_filter_ref_deltas
field. -
update_mode_delta
Sets the specified value to theupdate_mode_delta
field. -
loop_filter_mode_deltas
Copies the specifiedByteBuffer
to theloop_filter_mode_deltas
field. -
loop_filter_mode_deltas
Sets the specified value at the specified index of theloop_filter_mode_deltas
field.
-