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.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionflags()flags(Consumer<StdVideoVP9LoopFilterFlags> consumer) Passes theflagsfield to the specifiedConsumer.flags(StdVideoVP9LoopFilterFlags value) Copies the specifiedStdVideoVP9LoopFilterFlagsto theflagsfield.byteloop_filter_level(byte value) Sets the specified value to theloop_filter_levelfield.byteloop_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_deltasfield.Copies the specifiedByteBufferto theloop_filter_mode_deltasfield.byteloop_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_deltasfield.loop_filter_ref_deltas(ByteBuffer value) Copies the specifiedByteBufferto theloop_filter_ref_deltasfield.byteloop_filter_sharpness(byte value) Sets the specified value to theloop_filter_sharpnessfield.byteupdate_mode_delta(byte value) Sets the specified value to theupdate_mode_deltafield.byteupdate_ref_delta(byte value) Sets the specified value to theupdate_ref_deltafield.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 newStdVideoVP9LoopFilter.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
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
StdVideoVP9LoopFilterFlagsview of theflagsfield.
-
loop_filter_level
public byte loop_filter_level()- Returns:
- the value of the
loop_filter_levelfield.
-
loop_filter_sharpness
public byte loop_filter_sharpness()- Returns:
- the value of the
loop_filter_sharpnessfield.
-
update_ref_delta
public byte update_ref_delta()- Returns:
- the value of the
update_ref_deltafield.
-
loop_filter_ref_deltas
- Returns:
- a
ByteBufferview of theloop_filter_ref_deltasfield.
-
loop_filter_ref_deltas
public byte loop_filter_ref_deltas(int index) - Returns:
- the value at the specified index of the
loop_filter_ref_deltasfield.
-
update_mode_delta
public byte update_mode_delta()- Returns:
- the value of the
update_mode_deltafield.
-
loop_filter_mode_deltas
- Returns:
- a
ByteBufferview of theloop_filter_mode_deltasfield.
-
loop_filter_mode_deltas
public byte loop_filter_mode_deltas(int index) - Returns:
- the value at the specified index of the
loop_filter_mode_deltasfield.
-
flags
Copies the specifiedStdVideoVP9LoopFilterFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
loop_filter_level
Sets the specified value to theloop_filter_levelfield. -
loop_filter_sharpness
Sets the specified value to theloop_filter_sharpnessfield. -
update_ref_delta
Sets the specified value to theupdate_ref_deltafield. -
loop_filter_ref_deltas
Copies the specifiedByteBufferto theloop_filter_ref_deltasfield. -
loop_filter_ref_deltas
Sets the specified value at the specified index of theloop_filter_ref_deltasfield. -
update_mode_delta
Sets the specified value to theupdate_mode_deltafield. -
loop_filter_mode_deltas
Copies the specifiedByteBufferto theloop_filter_mode_deltasfield. -
loop_filter_mode_deltas
Sets the specified value at the specified index of theloop_filter_mode_deltasfield.
-