Class StdVideoDecodeVP9PictureInfoFlags
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.video.StdVideoDecodeVP9PictureInfoFlags
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
StdVideoDecodeVP9PictureInfoFlags.Buffer
public sealed class StdVideoDecodeVP9PictureInfoFlags
extends GroupType
permits StdVideoDecodeVP9PictureInfoFlags.Buffer
Layout
struct StdVideoDecodeVP9PictureInfoFlags {
uint32_t error_resilient_mode : 1;
uint32_t intra_only : 1;
uint32_t allow_high_precision_mv : 1;
uint32_t refresh_frame_context : 1;
uint32_t frame_parallel_decoding_mode : 1;
uint32_t segmentation_enabled : 1;
uint32_t show_frame : 1;
uint32_t UsePrevFrameMvs : 1;
uint32_t reserved : 24;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A buffer ofStdVideoDecodeVP9PictureInfoFlags
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofStdVideoDecodeVP9PictureInfoFlags
. -
Constructor Summary
ConstructorsConstructorDescriptionCreatesStdVideoDecodeVP9PictureInfoFlags
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc
(SegmentAllocator allocator) Allocates aStdVideoDecodeVP9PictureInfoFlags
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aStdVideoDecodeVP9PictureInfoFlags
with the given segment allocator and count.asBuffer()
Converts this instance to a buffer.Copies from the given source.of
(MemorySegment segment) CreatesStdVideoDecodeVP9PictureInfoFlags
with the given segment.ofNative
(MemorySegment segment) CreatesStdVideoDecodeVP9PictureInfoFlags
with the given segment.ofNative
(MemorySegment segment, long count) CreatesStdVideoDecodeVP9PictureInfoFlags
with the given segment.Methods inherited from class overrungl.struct.GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofStdVideoDecodeVP9PictureInfoFlags
.
-
-
Constructor Details
-
StdVideoDecodeVP9PictureInfoFlags
CreatesStdVideoDecodeVP9PictureInfoFlags
with the given segment.- Parameters:
segment
- the memory segment
-
-
Method Details
-
of
CreatesStdVideoDecodeVP9PictureInfoFlags
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
StdVideoDecodeVP9PictureInfoFlags
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
StdVideoDecodeVP9PictureInfoFlags
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 aStdVideoDecodeVP9PictureInfoFlags
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
StdVideoDecodeVP9PictureInfoFlags
-
alloc
public static StdVideoDecodeVP9PictureInfoFlags.Buffer alloc(SegmentAllocator allocator, long count) Allocates aStdVideoDecodeVP9PictureInfoFlags
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
StdVideoDecodeVP9PictureInfoFlags
-
copyFrom
Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
asBuffer
Converts this instance to a buffer.- Returns:
- the buffer
-