Class StdVideoDecodeVP9PictureInfoFlags.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoDecodeVP9PictureInfoFlags.Buffer>
org.lwjgl.system.StructBuffer<StdVideoDecodeVP9PictureInfoFlags, StdVideoDecodeVP9PictureInfoFlags.Buffer>
org.lwjgl.vulkan.video.StdVideoDecodeVP9PictureInfoFlags.Buffer
- All Implemented Interfaces:
AutoCloseable, Iterable<StdVideoDecodeVP9PictureInfoFlags>, NativeResource, Pointer
- Enclosing class:
StdVideoDecodeVP9PictureInfoFlags
public static class StdVideoDecodeVP9PictureInfoFlags.Buffer
extends StructBuffer<StdVideoDecodeVP9PictureInfoFlags, StdVideoDecodeVP9PictureInfoFlags.Buffer>
implements NativeResource
An array of
StdVideoDecodeVP9PictureInfoFlags structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newStdVideoDecodeVP9PictureInfoFlags.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbooleanallow_high_precision_mv(boolean value) Sets the specified value to theallow_high_precision_mvfield.booleanerror_resilient_mode(boolean value) Sets the specified value to theerror_resilient_modefield.booleanframe_parallel_decoding_mode(boolean value) Sets the specified value to theframe_parallel_decoding_modefield.booleanintra_only(boolean value) Sets the specified value to theintra_onlyfield.booleanrefresh_frame_context(boolean value) Sets the specified value to therefresh_frame_contextfield.booleansegmentation_enabled(boolean value) Sets the specified value to thesegmentation_enabledfield.booleanshow_frame(boolean value) Sets the specified value to theshow_framefield.booleanUsePrevFrameMvs(boolean value) Sets the specified value to theUsePrevFrameMvsfield.Methods inherited from class StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class Pointer.Default
equals, hashCodeMethods inherited from interface NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoDecodeVP9PictureInfoFlags.Bufferinstance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
StdVideoDecodeVP9PictureInfoFlags.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
error_resilient_mode
- Returns:
- the value of the
error_resilient_modefield.
-
intra_only
- Returns:
- the value of the
intra_onlyfield.
-
allow_high_precision_mv
- Returns:
- the value of the
allow_high_precision_mvfield.
-
refresh_frame_context
- Returns:
- the value of the
refresh_frame_contextfield.
-
frame_parallel_decoding_mode
- Returns:
- the value of the
frame_parallel_decoding_modefield.
-
segmentation_enabled
- Returns:
- the value of the
segmentation_enabledfield.
-
show_frame
- Returns:
- the value of the
show_framefield.
-
UsePrevFrameMvs
- Returns:
- the value of the
UsePrevFrameMvsfield.
-
error_resilient_mode
public StdVideoDecodeVP9PictureInfoFlags.Buffer error_resilient_mode(@NativeType("uint32_t") boolean value) Sets the specified value to theerror_resilient_modefield. -
intra_only
Sets the specified value to theintra_onlyfield. -
allow_high_precision_mv
public StdVideoDecodeVP9PictureInfoFlags.Buffer allow_high_precision_mv(@NativeType("uint32_t") boolean value) Sets the specified value to theallow_high_precision_mvfield. -
refresh_frame_context
public StdVideoDecodeVP9PictureInfoFlags.Buffer refresh_frame_context(@NativeType("uint32_t") boolean value) Sets the specified value to therefresh_frame_contextfield. -
frame_parallel_decoding_mode
public StdVideoDecodeVP9PictureInfoFlags.Buffer frame_parallel_decoding_mode(@NativeType("uint32_t") boolean value) Sets the specified value to theframe_parallel_decoding_modefield. -
segmentation_enabled
public StdVideoDecodeVP9PictureInfoFlags.Buffer segmentation_enabled(@NativeType("uint32_t") boolean value) Sets the specified value to thesegmentation_enabledfield. -
show_frame
Sets the specified value to theshow_framefield. -
UsePrevFrameMvs
public StdVideoDecodeVP9PictureInfoFlags.Buffer UsePrevFrameMvs(@NativeType("uint32_t") boolean value) Sets the specified value to theUsePrevFrameMvsfield.
-