Class StdVideoVP9LoopFilter
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.video.StdVideoVP9LoopFilter
- All Implemented Interfaces:
Addressable
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];
};
-
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, long elementCount) CreatesStdVideoVP9LoopFilter
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoVP9LoopFilter
alloc
(SegmentAllocator allocator) Allocates aStdVideoVP9LoopFilter
with the given segment allocator.static StdVideoVP9LoopFilter
alloc
(SegmentAllocator allocator, long count) Allocates aStdVideoVP9LoopFilter
with the given segment allocator and count.asSlice
(long index) Creates a slice ofStdVideoVP9LoopFilter
.asSlice
(long index, long count) Creates a slice ofStdVideoVP9LoopFilter
.at
(long index, Consumer<StdVideoVP9LoopFilter> func) VisitsStdVideoVP9LoopFilter
buffer at the given index.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.flagsAt
(long index) Returnsflags
at the given index.flagsAt
(long index, MemorySegment value) Setsflags
with the given value at the given index.flagsAt
(long index, Consumer<StdVideoVP9LoopFilterFlags> func) 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.byte
loop_filter_levelAt
(long index) Returnsloop_filter_level
at the given index.loop_filter_levelAt
(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.loop_filter_mode_deltasAt
(long index) Returnsloop_filter_mode_deltas
at the given index.byte
loop_filter_mode_deltasAt
(long index, long index0) Returnsloop_filter_mode_deltas
at the given index.loop_filter_mode_deltasAt
(long index, long index0, byte value) Setsloop_filter_mode_deltas
with the given value at the given index.loop_filter_mode_deltasAt
(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.loop_filter_ref_deltasAt
(long index) Returnsloop_filter_ref_deltas
at the given index.byte
loop_filter_ref_deltasAt
(long index, long index0) Returnsloop_filter_ref_deltas
at the given index.loop_filter_ref_deltasAt
(long index, long index0, byte value) Setsloop_filter_ref_deltas
with the given value at the given index.loop_filter_ref_deltasAt
(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.byte
loop_filter_sharpnessAt
(long index) Returnsloop_filter_sharpness
at the given index.loop_filter_sharpnessAt
(long index, byte value) Setsloop_filter_sharpness
with the given value at the given index.static StdVideoVP9LoopFilter
of
(MemorySegment segment) CreatesStdVideoVP9LoopFilter
with the given segment.static StdVideoVP9LoopFilter
ofNative
(MemorySegment segment) CreatesStdVideoVP9LoopFilter
with the given segment.static StdVideoVP9LoopFilter
ofNative
(MemorySegment segment, long count) CreatesStdVideoVP9LoopFilter
with the given segment.reinterpret
(long count) Reinterprets this buffer with the given count.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
update_mode_deltaAt
(long index) Returnsupdate_mode_delta
at the given index.update_mode_deltaAt
(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.byte
update_ref_deltaAt
(long index) Returnsupdate_ref_delta
at the given index.update_ref_deltaAt
(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 segmentelementCount
- the element count of this struct buffer
-
-
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
-
copyFrom
Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
reinterpret
Reinterprets this buffer with the given count.- Parameters:
count
- the new count- Returns:
- the reinterpreted 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
-
asSlice
Creates a slice ofStdVideoVP9LoopFilter
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
StdVideoVP9LoopFilter
-
asSlice
Creates a slice ofStdVideoVP9LoopFilter
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
StdVideoVP9LoopFilter
-
at
VisitsStdVideoVP9LoopFilter
buffer at the given index.- Parameters:
index
- the index of this bufferfunc
- the function to run with the slice of this buffer- Returns:
this
-
flagsAt
Returnsflags
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
flags
at the given index
-
flagsAt
Setsflags
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
flagsAt
Acceptsflags
with the given function.- Parameters:
index
- the index of the struct bufferfunc
- the function- Returns:
this
-
loop_filter_levelAt
public byte loop_filter_levelAt(long index) Returnsloop_filter_level
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
loop_filter_level
at the given index
-
loop_filter_levelAt
Setsloop_filter_level
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
loop_filter_sharpnessAt
public byte loop_filter_sharpnessAt(long index) Returnsloop_filter_sharpness
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
loop_filter_sharpness
at the given index
-
loop_filter_sharpnessAt
Setsloop_filter_sharpness
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
update_ref_deltaAt
public byte update_ref_deltaAt(long index) Returnsupdate_ref_delta
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
update_ref_delta
at the given index
-
update_ref_deltaAt
Setsupdate_ref_delta
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
loop_filter_ref_deltasAt
Returnsloop_filter_ref_deltas
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
loop_filter_ref_deltas
at the given index
-
loop_filter_ref_deltasAt
public byte loop_filter_ref_deltasAt(long index, long index0) Returnsloop_filter_ref_deltas
at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the array- Returns:
loop_filter_ref_deltas
at the given index
-
loop_filter_ref_deltasAt
Setsloop_filter_ref_deltas
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
loop_filter_ref_deltasAt
Setsloop_filter_ref_deltas
with the given value at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the arrayvalue
- the value- Returns:
this
-
update_mode_deltaAt
public byte update_mode_deltaAt(long index) Returnsupdate_mode_delta
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
update_mode_delta
at the given index
-
update_mode_deltaAt
Setsupdate_mode_delta
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
loop_filter_mode_deltasAt
Returnsloop_filter_mode_deltas
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
loop_filter_mode_deltas
at the given index
-
loop_filter_mode_deltasAt
public byte loop_filter_mode_deltasAt(long index, long index0) Returnsloop_filter_mode_deltas
at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the array- Returns:
loop_filter_mode_deltas
at the given index
-
loop_filter_mode_deltasAt
Setsloop_filter_mode_deltas
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
loop_filter_mode_deltasAt
Setsloop_filter_mode_deltas
with the given value at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the arrayvalue
- the value- Returns:
this
-