Package org.lwjgl.vulkan.video
Class StdVideoAV1LoopFilter.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoAV1LoopFilter.Buffer>
org.lwjgl.system.StructBuffer<StdVideoAV1LoopFilter,StdVideoAV1LoopFilter.Buffer>
org.lwjgl.vulkan.video.StdVideoAV1LoopFilter.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<StdVideoAV1LoopFilter>,NativeResource,Pointer
- Enclosing class:
StdVideoAV1LoopFilter
public static class StdVideoAV1LoopFilter.Buffer
extends StructBuffer<StdVideoAV1LoopFilter,StdVideoAV1LoopFilter.Buffer>
implements NativeResource
An array of
StdVideoAV1LoopFilter 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 newStdVideoAV1LoopFilter.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionflags()flags(Consumer<StdVideoAV1LoopFilterFlags> consumer) Passes theflagsfield to the specifiedConsumer.flags(StdVideoAV1LoopFilterFlags value) Copies the specifiedStdVideoAV1LoopFilterFlagsto theflagsfield.byteloop_filter_level(int index) loop_filter_level(int index, byte value) Sets the specified value at the specified index of theloop_filter_levelfield.loop_filter_level(ByteBuffer value) Copies the specifiedByteBufferto 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 newStdVideoAV1LoopFilter.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
StdVideoAV1LoopFilter.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
StdVideoAV1LoopFilterFlagsview of theflagsfield.
-
loop_filter_level
- Returns:
- a
ByteBufferview of theloop_filter_levelfield.
-
loop_filter_level
public byte loop_filter_level(int index) - Returns:
- the value at the specified index 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 specifiedStdVideoAV1LoopFilterFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
loop_filter_level
Copies the specifiedByteBufferto theloop_filter_levelfield. -
loop_filter_level
Sets the specified value at the specified index of 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.
-