Class StdVideoVP9LoopFilter
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.video.StdVideoVP9LoopFilter
- All Implemented Interfaces:
Addressable
Represents StdVideoVP9LoopFilter.
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 StructLayoutThe struct layout ofStdVideoVP9LoopFilter.static final MemoryLayoutThe memory layout offlags.static final MemoryLayoutThe memory layout ofloop_filter_level.static final MemoryLayoutThe memory layout ofloop_filter_mode_deltas.static final MemoryLayoutThe memory layout ofloop_filter_ref_deltas.static final MemoryLayoutThe memory layout ofloop_filter_sharpness.static final MemoryLayoutThe memory layout ofupdate_mode_delta.static final MemoryLayoutThe memory layout ofupdate_ref_delta.static final longThe byte offset offlags.static final longThe byte offset ofloop_filter_level.static final longThe byte offset ofloop_filter_mode_deltas.static final longThe byte offset ofloop_filter_ref_deltas.static final longThe byte offset ofloop_filter_sharpness.static final longThe byte offset ofupdate_mode_delta.static final longThe byte offset ofupdate_ref_delta.static final VarHandleTheVarHandleofloop_filter_levelof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofloop_filter_mode_deltasof type(MemorySegment base, long baseOffset, long index, long index0)MemorySegment.static final VarHandleTheVarHandleofloop_filter_ref_deltasof type(MemorySegment base, long baseOffset, long index, long index0)MemorySegment.static final VarHandleTheVarHandleofloop_filter_sharpnessof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofupdate_mode_deltaof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofupdate_ref_deltaof type(MemorySegment base, long baseOffset, long index)MemorySegment. -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoVP9LoopFilter(MemorySegment segment, long elementCount) CreatesStdVideoVP9LoopFilterwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoVP9LoopFilteralloc(SegmentAllocator allocator) Allocates aStdVideoVP9LoopFilterwith the given segment allocator.static StdVideoVP9LoopFilteralloc(SegmentAllocator allocator, long count) Allocates aStdVideoVP9LoopFilterwith 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) VisitsStdVideoVP9LoopFilterbuffer at the given index.Copies from the given source.flags()Returnsflags.flags(MemorySegment value) Setsflagswith the given value.static MemorySegmentflags(MemorySegment segment, long index) Returnsflagsat the given index.static voidflags(MemorySegment segment, long index, MemorySegment value) Setsflagswith the given value at the given index.Acceptsflagswith the given function.flagsAt(long index) Returnsflagsat the given index.flagsAt(long index, MemorySegment value) Setsflagswith the given value at the given index.flagsAt(long index, Consumer<StdVideoVP9LoopFilterFlags> func) Acceptsflagswith the given function.byteReturnsloop_filter_level.loop_filter_level(byte value) Setsloop_filter_levelwith the given value.static byteloop_filter_level(MemorySegment segment, long index) Returnsloop_filter_levelat the given index.static voidloop_filter_level(MemorySegment segment, long index, byte value) Setsloop_filter_levelwith the given value at the given index.byteloop_filter_levelAt(long index) Returnsloop_filter_levelat the given index.loop_filter_levelAt(long index, byte value) Setsloop_filter_levelwith the given value at the given index.Returnsloop_filter_mode_deltas.byteloop_filter_mode_deltas(long index0) Returnsloop_filter_mode_deltas.loop_filter_mode_deltas(long index0, byte value) Setsloop_filter_mode_deltaswith the given value.Setsloop_filter_mode_deltaswith the given value.static MemorySegmentloop_filter_mode_deltas(MemorySegment segment, long index) Returnsloop_filter_mode_deltasat the given index.static byteloop_filter_mode_deltas(MemorySegment segment, long index, long index0) Returnsloop_filter_mode_deltasat the given index.static voidloop_filter_mode_deltas(MemorySegment segment, long index, long index0, byte value) Setsloop_filter_mode_deltaswith the given value at the given index.static voidloop_filter_mode_deltas(MemorySegment segment, long index, MemorySegment value) Setsloop_filter_mode_deltaswith the given value at the given index.loop_filter_mode_deltasAt(long index) Returnsloop_filter_mode_deltasat the given index.byteloop_filter_mode_deltasAt(long index, long index0) Returnsloop_filter_mode_deltasat the given index.loop_filter_mode_deltasAt(long index, long index0, byte value) Setsloop_filter_mode_deltaswith the given value at the given index.loop_filter_mode_deltasAt(long index, MemorySegment value) Setsloop_filter_mode_deltaswith the given value at the given index.Returnsloop_filter_ref_deltas.byteloop_filter_ref_deltas(long index0) Returnsloop_filter_ref_deltas.loop_filter_ref_deltas(long index0, byte value) Setsloop_filter_ref_deltaswith the given value.Setsloop_filter_ref_deltaswith the given value.static MemorySegmentloop_filter_ref_deltas(MemorySegment segment, long index) Returnsloop_filter_ref_deltasat the given index.static byteloop_filter_ref_deltas(MemorySegment segment, long index, long index0) Returnsloop_filter_ref_deltasat the given index.static voidloop_filter_ref_deltas(MemorySegment segment, long index, long index0, byte value) Setsloop_filter_ref_deltaswith the given value at the given index.static voidloop_filter_ref_deltas(MemorySegment segment, long index, MemorySegment value) Setsloop_filter_ref_deltaswith the given value at the given index.loop_filter_ref_deltasAt(long index) Returnsloop_filter_ref_deltasat the given index.byteloop_filter_ref_deltasAt(long index, long index0) Returnsloop_filter_ref_deltasat the given index.loop_filter_ref_deltasAt(long index, long index0, byte value) Setsloop_filter_ref_deltaswith the given value at the given index.loop_filter_ref_deltasAt(long index, MemorySegment value) Setsloop_filter_ref_deltaswith the given value at the given index.byteReturnsloop_filter_sharpness.loop_filter_sharpness(byte value) Setsloop_filter_sharpnesswith the given value.static byteloop_filter_sharpness(MemorySegment segment, long index) Returnsloop_filter_sharpnessat the given index.static voidloop_filter_sharpness(MemorySegment segment, long index, byte value) Setsloop_filter_sharpnesswith the given value at the given index.byteloop_filter_sharpnessAt(long index) Returnsloop_filter_sharpnessat the given index.loop_filter_sharpnessAt(long index, byte value) Setsloop_filter_sharpnesswith the given value at the given index.static StdVideoVP9LoopFilterof(MemorySegment segment) CreatesStdVideoVP9LoopFilterwith the given segment.static StdVideoVP9LoopFilterofNative(MemorySegment segment) CreatesStdVideoVP9LoopFilterwith the given segment.static StdVideoVP9LoopFilterofNative(MemorySegment segment, long count) CreatesStdVideoVP9LoopFilterwith the given segment.reinterpret(long count) Reinterprets this buffer with the given count.byteReturnsupdate_mode_delta.update_mode_delta(byte value) Setsupdate_mode_deltawith the given value.static byteupdate_mode_delta(MemorySegment segment, long index) Returnsupdate_mode_deltaat the given index.static voidupdate_mode_delta(MemorySegment segment, long index, byte value) Setsupdate_mode_deltawith the given value at the given index.byteupdate_mode_deltaAt(long index) Returnsupdate_mode_deltaat the given index.update_mode_deltaAt(long index, byte value) Setsupdate_mode_deltawith the given value at the given index.byteReturnsupdate_ref_delta.update_ref_delta(byte value) Setsupdate_ref_deltawith the given value.static byteupdate_ref_delta(MemorySegment segment, long index) Returnsupdate_ref_deltaat the given index.static voidupdate_ref_delta(MemorySegment segment, long index, byte value) Setsupdate_ref_deltawith the given value at the given index.byteupdate_ref_deltaAt(long index) Returnsupdate_ref_deltaat the given index.update_ref_deltaAt(long index, byte value) Setsupdate_ref_deltawith the given value at the given index.Methods inherited from class 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
CreatesStdVideoVP9LoopFilterwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesStdVideoVP9LoopFilterwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
StdVideoVP9LoopFilterwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
StdVideoVP9LoopFilterwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segmentcount- the count of the buffer- Returns:
- the created instance or
nullif the segment isNULL
-
alloc
Allocates aStdVideoVP9LoopFilterwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
StdVideoVP9LoopFilter
-
alloc
Allocates aStdVideoVP9LoopFilterwith 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
Returnsflagsat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
flagsat the given index
-
flags
-
flags
Setsflagswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
flags
Setsflagswith the given value.- Parameters:
value- the value- Returns:
this
-
flags
Acceptsflagswith the given function.- Parameters:
func- the function- Returns:
this
-
loop_filter_level
Returnsloop_filter_levelat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
loop_filter_levelat the given index
-
loop_filter_level
public byte loop_filter_level()Returnsloop_filter_level.- Returns:
loop_filter_level
-
loop_filter_level
Setsloop_filter_levelwith 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_levelwith the given value.- Parameters:
value- the value- Returns:
this
-
loop_filter_sharpness
Returnsloop_filter_sharpnessat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
loop_filter_sharpnessat the given index
-
loop_filter_sharpness
public byte loop_filter_sharpness()Returnsloop_filter_sharpness.- Returns:
loop_filter_sharpness
-
loop_filter_sharpness
Setsloop_filter_sharpnesswith 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_sharpnesswith the given value.- Parameters:
value- the value- Returns:
this
-
update_ref_delta
Returnsupdate_ref_deltaat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
update_ref_deltaat the given index
-
update_ref_delta
public byte update_ref_delta()Returnsupdate_ref_delta.- Returns:
update_ref_delta
-
update_ref_delta
Setsupdate_ref_deltawith 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_deltawith the given value.- Parameters:
value- the value- Returns:
this
-
loop_filter_ref_deltas
Returnsloop_filter_ref_deltasat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
loop_filter_ref_deltasat the given index
-
loop_filter_ref_deltas
Returnsloop_filter_ref_deltasat 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_deltasat 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_deltaswith 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_deltaswith 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_deltaswith the given value.- Parameters:
value- the value- Returns:
this
-
loop_filter_ref_deltas
Setsloop_filter_ref_deltaswith the given value.- Parameters:
index0- the Index 0 of the arrayvalue- the value- Returns:
this
-
update_mode_delta
Returnsupdate_mode_deltaat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
update_mode_deltaat the given index
-
update_mode_delta
public byte update_mode_delta()Returnsupdate_mode_delta.- Returns:
update_mode_delta
-
update_mode_delta
Setsupdate_mode_deltawith 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_deltawith the given value.- Parameters:
value- the value- Returns:
this
-
loop_filter_mode_deltas
Returnsloop_filter_mode_deltasat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
loop_filter_mode_deltasat the given index
-
loop_filter_mode_deltas
Returnsloop_filter_mode_deltasat 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_deltasat 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_deltaswith 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_deltaswith 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_deltaswith the given value.- Parameters:
value- the value- Returns:
this
-
loop_filter_mode_deltas
Setsloop_filter_mode_deltaswith 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
VisitsStdVideoVP9LoopFilterbuffer at the given index.- Parameters:
index- the index of this bufferfunc- the function to run with the slice of this buffer- Returns:
this
-
flagsAt
Returnsflagsat the given index.- Parameters:
index- the index of the struct buffer- Returns:
flagsat the given index
-
flagsAt
Setsflagswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
flagsAt
Acceptsflagswith 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_levelat the given index.- Parameters:
index- the index of the struct buffer- Returns:
loop_filter_levelat the given index
-
loop_filter_levelAt
Setsloop_filter_levelwith 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_sharpnessat the given index.- Parameters:
index- the index of the struct buffer- Returns:
loop_filter_sharpnessat the given index
-
loop_filter_sharpnessAt
Setsloop_filter_sharpnesswith 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_deltaat the given index.- Parameters:
index- the index of the struct buffer- Returns:
update_ref_deltaat the given index
-
update_ref_deltaAt
Setsupdate_ref_deltawith 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_deltasat the given index.- Parameters:
index- the index of the struct buffer- Returns:
loop_filter_ref_deltasat the given index
-
loop_filter_ref_deltasAt
public byte loop_filter_ref_deltasAt(long index, long index0) Returnsloop_filter_ref_deltasat the given index.- Parameters:
index- the index of the struct bufferindex0- the Index 0 of the array- Returns:
loop_filter_ref_deltasat the given index
-
loop_filter_ref_deltasAt
Setsloop_filter_ref_deltaswith 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_deltaswith 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_deltaat the given index.- Parameters:
index- the index of the struct buffer- Returns:
update_mode_deltaat the given index
-
update_mode_deltaAt
Setsupdate_mode_deltawith 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_deltasat the given index.- Parameters:
index- the index of the struct buffer- Returns:
loop_filter_mode_deltasat the given index
-
loop_filter_mode_deltasAt
public byte loop_filter_mode_deltasAt(long index, long index0) Returnsloop_filter_mode_deltasat the given index.- Parameters:
index- the index of the struct bufferindex0- the Index 0 of the array- Returns:
loop_filter_mode_deltasat the given index
-
loop_filter_mode_deltasAt
Setsloop_filter_mode_deltaswith 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_deltaswith 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
-