Class StdVideoDecodeVP9PictureInfoFlags
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.video.StdVideoDecodeVP9PictureInfoFlags
- All Implemented Interfaces:
Addressable
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;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofStdVideoDecodeVP9PictureInfoFlags
. -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoDecodeVP9PictureInfoFlags
(MemorySegment segment, long elementCount) CreatesStdVideoDecodeVP9PictureInfoFlags
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.asSlice
(long index) Creates a slice ofStdVideoDecodeVP9PictureInfoFlags
.asSlice
(long index, long count) Creates a slice ofStdVideoDecodeVP9PictureInfoFlags
.at
(long index, Consumer<StdVideoDecodeVP9PictureInfoFlags> func) VisitsStdVideoDecodeVP9PictureInfoFlags
buffer at the given index.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.reinterpret
(long count) Reinterprets this buffer with the given count.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 segmentelementCount
- the element count of this struct buffer
-
-
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
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
-
reinterpret
Reinterprets this buffer with the given count.- Parameters:
count
- the new count- Returns:
- the reinterpreted buffer
-
asSlice
Creates a slice ofStdVideoDecodeVP9PictureInfoFlags
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
StdVideoDecodeVP9PictureInfoFlags
-
asSlice
Creates a slice ofStdVideoDecodeVP9PictureInfoFlags
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
StdVideoDecodeVP9PictureInfoFlags
-
at
public StdVideoDecodeVP9PictureInfoFlags at(long index, Consumer<StdVideoDecodeVP9PictureInfoFlags> func) VisitsStdVideoDecodeVP9PictureInfoFlags
buffer at the given index.- Parameters:
index
- the index of this bufferfunc
- the function to run with the slice of this buffer- Returns:
this
-