Class StdVideoVP9LoopFilter
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.video.StdVideoVP9LoopFilter
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
StdVideoVP9LoopFilter.Buffer
Layout
struct StdVideoVP9LoopFilter {
(struct StdVideoVP9LoopFilterFlags) StdVideoVP9LoopFilterFlags flags;
uint8_t loop_filter_level;
uint8_t loop_filter_sharpness;
uint8_t update_ref_delta;
int8_t loop_filter_ref_deltas[4];
uint8_t update_mode_delta;
int8_t loop_filter_mode_deltas[2];
};
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofStdVideoVP9LoopFilter
.static final MemoryLayout
The memory layout offlags
.static final MemoryLayout
The memory layout ofloop_filter_level
.static final MemoryLayout
The memory layout ofloop_filter_mode_deltas
.static final MemoryLayout
The memory layout ofloop_filter_ref_deltas
.static final MemoryLayout
The memory layout ofloop_filter_sharpness
.static final MemoryLayout
The memory layout ofupdate_mode_delta
.static final MemoryLayout
The memory layout ofupdate_ref_delta
.static final long
The byte offset offlags
.static final long
The byte offset ofloop_filter_level
.static final long
The byte offset ofloop_filter_mode_deltas
.static final long
The byte offset ofloop_filter_ref_deltas
.static final long
The byte offset ofloop_filter_sharpness
.static final long
The byte offset ofupdate_mode_delta
.static final long
The byte offset ofupdate_ref_delta
.static final VarHandle
TheVarHandle
ofloop_filter_level
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofloop_filter_mode_deltas
of type(MemorySegment base, long baseOffset, long index, long index0)MemorySegment
.static final VarHandle
TheVarHandle
ofloop_filter_ref_deltas
of type(MemorySegment base, long baseOffset, long index, long index0)MemorySegment
.static final VarHandle
TheVarHandle
ofloop_filter_sharpness
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofupdate_mode_delta
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofupdate_ref_delta
of type(MemorySegment base, long baseOffset, long index)MemorySegment
. -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoVP9LoopFilter
(MemorySegment segment) CreatesStdVideoVP9LoopFilter
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoVP9LoopFilter
alloc
(SegmentAllocator allocator) Allocates aStdVideoVP9LoopFilter
with the given segment allocator.static StdVideoVP9LoopFilter.Buffer
alloc
(SegmentAllocator allocator, long count) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and count.static StdVideoVP9LoopFilter
allocInit
(SegmentAllocator allocator, MemorySegment flags) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and arguments like initializer list.static StdVideoVP9LoopFilter
allocInit
(SegmentAllocator allocator, MemorySegment flags, byte loop_filter_level) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and arguments like initializer list.static StdVideoVP9LoopFilter
allocInit
(SegmentAllocator allocator, MemorySegment flags, byte loop_filter_level, byte loop_filter_sharpness) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and arguments like initializer list.static StdVideoVP9LoopFilter
allocInit
(SegmentAllocator allocator, MemorySegment flags, byte loop_filter_level, byte loop_filter_sharpness, byte update_ref_delta) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and arguments like initializer list.static StdVideoVP9LoopFilter
allocInit
(SegmentAllocator allocator, MemorySegment flags, byte loop_filter_level, byte loop_filter_sharpness, byte update_ref_delta, MemorySegment loop_filter_ref_deltas) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and arguments like initializer list.static StdVideoVP9LoopFilter
allocInit
(SegmentAllocator allocator, MemorySegment flags, byte loop_filter_level, byte loop_filter_sharpness, byte update_ref_delta, MemorySegment loop_filter_ref_deltas, byte update_mode_delta) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and arguments like initializer list.static StdVideoVP9LoopFilter
allocInit
(SegmentAllocator allocator, MemorySegment flags, byte loop_filter_level, byte loop_filter_sharpness, byte update_ref_delta, MemorySegment loop_filter_ref_deltas, byte update_mode_delta, MemorySegment loop_filter_mode_deltas) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and arguments like initializer list.asBuffer()
Converts this instance to a buffer.Copies from the given source.flags()
Returnsflags
.flags
(MemorySegment value) Setsflags
with the given value.static MemorySegment
flags
(MemorySegment segment, long index) Returnsflags
at the given index.static void
flags
(MemorySegment segment, long index, MemorySegment value) Setsflags
with the given value at the given index.Acceptsflags
with the given function.byte
Returnsloop_filter_level
.loop_filter_level
(byte value) Setsloop_filter_level
with the given value.static byte
loop_filter_level
(MemorySegment segment, long index) Returnsloop_filter_level
at the given index.static void
loop_filter_level
(MemorySegment segment, long index, byte value) Setsloop_filter_level
with the given value at the given index.Returnsloop_filter_mode_deltas
.byte
loop_filter_mode_deltas
(long index0) Returnsloop_filter_mode_deltas
.loop_filter_mode_deltas
(long index0, byte value) Setsloop_filter_mode_deltas
with the given value.Setsloop_filter_mode_deltas
with the given value.static MemorySegment
loop_filter_mode_deltas
(MemorySegment segment, long index) Returnsloop_filter_mode_deltas
at the given index.static byte
loop_filter_mode_deltas
(MemorySegment segment, long index, long index0) Returnsloop_filter_mode_deltas
at the given index.static void
loop_filter_mode_deltas
(MemorySegment segment, long index, long index0, byte value) Setsloop_filter_mode_deltas
with the given value at the given index.static void
loop_filter_mode_deltas
(MemorySegment segment, long index, MemorySegment value) Setsloop_filter_mode_deltas
with the given value at the given index.Returnsloop_filter_ref_deltas
.byte
loop_filter_ref_deltas
(long index0) Returnsloop_filter_ref_deltas
.loop_filter_ref_deltas
(long index0, byte value) Setsloop_filter_ref_deltas
with the given value.Setsloop_filter_ref_deltas
with the given value.static MemorySegment
loop_filter_ref_deltas
(MemorySegment segment, long index) Returnsloop_filter_ref_deltas
at the given index.static byte
loop_filter_ref_deltas
(MemorySegment segment, long index, long index0) Returnsloop_filter_ref_deltas
at the given index.static void
loop_filter_ref_deltas
(MemorySegment segment, long index, long index0, byte value) Setsloop_filter_ref_deltas
with the given value at the given index.static void
loop_filter_ref_deltas
(MemorySegment segment, long index, MemorySegment value) Setsloop_filter_ref_deltas
with the given value at the given index.byte
Returnsloop_filter_sharpness
.loop_filter_sharpness
(byte value) Setsloop_filter_sharpness
with the given value.static byte
loop_filter_sharpness
(MemorySegment segment, long index) Returnsloop_filter_sharpness
at the given index.static void
loop_filter_sharpness
(MemorySegment segment, long index, byte value) Setsloop_filter_sharpness
with the given value at the given index.static StdVideoVP9LoopFilter.Buffer
of
(MemorySegment segment) CreatesStdVideoVP9LoopFilter
with the given segment.static StdVideoVP9LoopFilter
ofNative
(MemorySegment segment) CreatesStdVideoVP9LoopFilter
with the given segment.static StdVideoVP9LoopFilter.Buffer
ofNative
(MemorySegment segment, long count) CreatesStdVideoVP9LoopFilter
with the given segment.byte
Returnsupdate_mode_delta
.update_mode_delta
(byte value) Setsupdate_mode_delta
with the given value.static byte
update_mode_delta
(MemorySegment segment, long index) Returnsupdate_mode_delta
at the given index.static void
update_mode_delta
(MemorySegment segment, long index, byte value) Setsupdate_mode_delta
with the given value at the given index.byte
Returnsupdate_ref_delta
.update_ref_delta
(byte value) Setsupdate_ref_delta
with the given value.static byte
update_ref_delta
(MemorySegment segment, long index) Returnsupdate_ref_delta
at the given index.static void
update_ref_delta
(MemorySegment segment, long index, byte value) Setsupdate_ref_delta
with the given value at the given index.Methods inherited from class overrungl.struct.GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofStdVideoVP9LoopFilter
. -
OFFSET_flags
public static final long OFFSET_flagsThe byte offset offlags
. -
LAYOUT_flags
The memory layout offlags
. -
OFFSET_loop_filter_level
public static final long OFFSET_loop_filter_levelThe byte offset ofloop_filter_level
. -
LAYOUT_loop_filter_level
The memory layout ofloop_filter_level
. -
VH_loop_filter_level
-
OFFSET_loop_filter_sharpness
public static final long OFFSET_loop_filter_sharpnessThe byte offset ofloop_filter_sharpness
. -
LAYOUT_loop_filter_sharpness
The memory layout ofloop_filter_sharpness
. -
VH_loop_filter_sharpness
-
OFFSET_update_ref_delta
public static final long OFFSET_update_ref_deltaThe byte offset ofupdate_ref_delta
. -
LAYOUT_update_ref_delta
The memory layout ofupdate_ref_delta
. -
VH_update_ref_delta
-
OFFSET_loop_filter_ref_deltas
public static final long OFFSET_loop_filter_ref_deltasThe byte offset ofloop_filter_ref_deltas
. -
LAYOUT_loop_filter_ref_deltas
The memory layout ofloop_filter_ref_deltas
. -
VH_loop_filter_ref_deltas
-
OFFSET_update_mode_delta
public static final long OFFSET_update_mode_deltaThe byte offset ofupdate_mode_delta
. -
LAYOUT_update_mode_delta
The memory layout ofupdate_mode_delta
. -
VH_update_mode_delta
-
OFFSET_loop_filter_mode_deltas
public static final long OFFSET_loop_filter_mode_deltasThe byte offset ofloop_filter_mode_deltas
. -
LAYOUT_loop_filter_mode_deltas
The memory layout ofloop_filter_mode_deltas
. -
VH_loop_filter_mode_deltas
-
-
Constructor Details
-
StdVideoVP9LoopFilter
CreatesStdVideoVP9LoopFilter
with the given segment.- Parameters:
segment
- the memory segment
-
-
Method Details
-
of
CreatesStdVideoVP9LoopFilter
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
StdVideoVP9LoopFilter
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
StdVideoVP9LoopFilter
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segmentcount
- the count of the buffer- Returns:
- the created instance or
null
if the segment isNULL
-
alloc
Allocates aStdVideoVP9LoopFilter
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
StdVideoVP9LoopFilter
-
alloc
Allocates aStdVideoVP9LoopFilter
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
StdVideoVP9LoopFilter
-
allocInit
public static StdVideoVP9LoopFilter allocInit(SegmentAllocator allocator, MemorySegment flags, byte loop_filter_level, byte loop_filter_sharpness, byte update_ref_delta, MemorySegment loop_filter_ref_deltas, byte update_mode_delta, MemorySegment loop_filter_mode_deltas) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorflags
-flags
loop_filter_level
-loop_filter_level
loop_filter_sharpness
-loop_filter_sharpness
update_ref_delta
-update_ref_delta
loop_filter_ref_deltas
-loop_filter_ref_deltas
update_mode_delta
-update_mode_delta
loop_filter_mode_deltas
-loop_filter_mode_deltas
- Returns:
- the allocated
StdVideoVP9LoopFilter
-
allocInit
public static StdVideoVP9LoopFilter allocInit(SegmentAllocator allocator, MemorySegment flags, byte loop_filter_level, byte loop_filter_sharpness, byte update_ref_delta, MemorySegment loop_filter_ref_deltas, byte update_mode_delta) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorflags
-flags
loop_filter_level
-loop_filter_level
loop_filter_sharpness
-loop_filter_sharpness
update_ref_delta
-update_ref_delta
loop_filter_ref_deltas
-loop_filter_ref_deltas
update_mode_delta
-update_mode_delta
- Returns:
- the allocated
StdVideoVP9LoopFilter
-
allocInit
public static StdVideoVP9LoopFilter allocInit(SegmentAllocator allocator, MemorySegment flags, byte loop_filter_level, byte loop_filter_sharpness, byte update_ref_delta, MemorySegment loop_filter_ref_deltas) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorflags
-flags
loop_filter_level
-loop_filter_level
loop_filter_sharpness
-loop_filter_sharpness
update_ref_delta
-update_ref_delta
loop_filter_ref_deltas
-loop_filter_ref_deltas
- Returns:
- the allocated
StdVideoVP9LoopFilter
-
allocInit
public static StdVideoVP9LoopFilter allocInit(SegmentAllocator allocator, MemorySegment flags, byte loop_filter_level, byte loop_filter_sharpness, byte update_ref_delta) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorflags
-flags
loop_filter_level
-loop_filter_level
loop_filter_sharpness
-loop_filter_sharpness
update_ref_delta
-update_ref_delta
- Returns:
- the allocated
StdVideoVP9LoopFilter
-
allocInit
public static StdVideoVP9LoopFilter allocInit(SegmentAllocator allocator, MemorySegment flags, byte loop_filter_level, byte loop_filter_sharpness) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorflags
-flags
loop_filter_level
-loop_filter_level
loop_filter_sharpness
-loop_filter_sharpness
- Returns:
- the allocated
StdVideoVP9LoopFilter
-
allocInit
public static StdVideoVP9LoopFilter allocInit(SegmentAllocator allocator, MemorySegment flags, byte loop_filter_level) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorflags
-flags
loop_filter_level
-loop_filter_level
- Returns:
- the allocated
StdVideoVP9LoopFilter
-
allocInit
Allocates aStdVideoVP9LoopFilter
with the given segment allocator and arguments like initializer list.- Parameters:
allocator
- the segment allocatorflags
-flags
- Returns:
- the allocated
StdVideoVP9LoopFilter
-
copyFrom
Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
asBuffer
Converts this instance to a buffer.- Returns:
- the buffer
-
flags
Returnsflags
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
flags
at the given index
-
flags
-
flags
Setsflags
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
flags
Setsflags
with the given value.- Parameters:
value
- the value- Returns:
this
-
flags
Acceptsflags
with the given function.- Parameters:
func
- the function- Returns:
this
-
loop_filter_level
Returnsloop_filter_level
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
loop_filter_level
at the given index
-
loop_filter_level
public byte loop_filter_level()Returnsloop_filter_level
.- Returns:
loop_filter_level
-
loop_filter_level
Setsloop_filter_level
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
loop_filter_level
Setsloop_filter_level
with the given value.- Parameters:
value
- the value- Returns:
this
-
loop_filter_sharpness
Returnsloop_filter_sharpness
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
loop_filter_sharpness
at the given index
-
loop_filter_sharpness
public byte loop_filter_sharpness()Returnsloop_filter_sharpness
.- Returns:
loop_filter_sharpness
-
loop_filter_sharpness
Setsloop_filter_sharpness
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
loop_filter_sharpness
Setsloop_filter_sharpness
with the given value.- Parameters:
value
- the value- Returns:
this
-
update_ref_delta
Returnsupdate_ref_delta
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
update_ref_delta
at the given index
-
update_ref_delta
public byte update_ref_delta()Returnsupdate_ref_delta
.- Returns:
update_ref_delta
-
update_ref_delta
Setsupdate_ref_delta
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
update_ref_delta
Setsupdate_ref_delta
with the given value.- Parameters:
value
- the value- Returns:
this
-
loop_filter_ref_deltas
Returnsloop_filter_ref_deltas
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
loop_filter_ref_deltas
at the given index
-
loop_filter_ref_deltas
Returnsloop_filter_ref_deltas
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct bufferindex0
- the Index 0 of the array- Returns:
loop_filter_ref_deltas
at the given index
-
loop_filter_ref_deltas
Returnsloop_filter_ref_deltas
.- Returns:
loop_filter_ref_deltas
-
loop_filter_ref_deltas
public byte loop_filter_ref_deltas(long index0) Returnsloop_filter_ref_deltas
.- Parameters:
index0
- the Index 0 of the array- Returns:
loop_filter_ref_deltas
-
loop_filter_ref_deltas
Setsloop_filter_ref_deltas
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
loop_filter_ref_deltas
public static void loop_filter_ref_deltas(MemorySegment segment, long index, long index0, byte value) Setsloop_filter_ref_deltas
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct bufferindex0
- the Index 0 of the arrayvalue
- the value
-
loop_filter_ref_deltas
Setsloop_filter_ref_deltas
with the given value.- Parameters:
value
- the value- Returns:
this
-
loop_filter_ref_deltas
Setsloop_filter_ref_deltas
with the given value.- Parameters:
index0
- the Index 0 of the arrayvalue
- the value- Returns:
this
-
update_mode_delta
Returnsupdate_mode_delta
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
update_mode_delta
at the given index
-
update_mode_delta
public byte update_mode_delta()Returnsupdate_mode_delta
.- Returns:
update_mode_delta
-
update_mode_delta
Setsupdate_mode_delta
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
update_mode_delta
Setsupdate_mode_delta
with the given value.- Parameters:
value
- the value- Returns:
this
-
loop_filter_mode_deltas
Returnsloop_filter_mode_deltas
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
loop_filter_mode_deltas
at the given index
-
loop_filter_mode_deltas
Returnsloop_filter_mode_deltas
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct bufferindex0
- the Index 0 of the array- Returns:
loop_filter_mode_deltas
at the given index
-
loop_filter_mode_deltas
Returnsloop_filter_mode_deltas
.- Returns:
loop_filter_mode_deltas
-
loop_filter_mode_deltas
public byte loop_filter_mode_deltas(long index0) Returnsloop_filter_mode_deltas
.- Parameters:
index0
- the Index 0 of the array- Returns:
loop_filter_mode_deltas
-
loop_filter_mode_deltas
Setsloop_filter_mode_deltas
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
loop_filter_mode_deltas
public static void loop_filter_mode_deltas(MemorySegment segment, long index, long index0, byte value) Setsloop_filter_mode_deltas
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct bufferindex0
- the Index 0 of the arrayvalue
- the value
-
loop_filter_mode_deltas
Setsloop_filter_mode_deltas
with the given value.- Parameters:
value
- the value- Returns:
this
-
loop_filter_mode_deltas
Setsloop_filter_mode_deltas
with the given value.- Parameters:
index0
- the Index 0 of the arrayvalue
- the value- Returns:
this
-