Package org.lwjgl.vulkan.video
Class StdVideoDecodeVP9PictureInfoFlags
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoDecodeVP9PictureInfoFlags>
org.lwjgl.vulkan.video.StdVideoDecodeVP9PictureInfoFlags
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class StdVideoDecodeVP9PictureInfoFlags
extends Struct<StdVideoDecodeVP9PictureInfoFlags>
implements NativeResource
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 classAn array ofStdVideoDecodeVP9PictureInfoFlagsstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoDecodeVP9PictureInfoFlags(ByteBuffer container) Creates aStdVideoDecodeVP9PictureInfoFlagsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbooleanallow_high_precision_mv(boolean value) Sets the specified value to theallow_high_precision_mvfield.calloc()Returns a newStdVideoDecodeVP9PictureInfoFlagsinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoDecodeVP9PictureInfoFlags.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfoFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newStdVideoDecodeVP9PictureInfoFlagsinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoDecodeVP9PictureInfoFlags.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoDecodeVP9PictureInfoFlagsinstance for the specified memory address.create(long address, int capacity) Create aStdVideoDecodeVP9PictureInfoFlags.Bufferinstance at the specified memory.static @Nullable StdVideoDecodeVP9PictureInfoFlagscreateSafe(long address) static @Nullable StdVideoDecodeVP9PictureInfoFlags.BuffercreateSafe(long address, int capacity) 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.malloc()Returns a newStdVideoDecodeVP9PictureInfoFlagsinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoDecodeVP9PictureInfoFlags.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfoFlagsinstance allocated on the specifiedMemoryStack.static intnallow_high_precision_mv(long struct) Unsafe version ofallow_high_precision_mv().static voidnallow_high_precision_mv(long struct, int value) Unsafe version ofallow_high_precision_mv.static intnbitfield0(long struct) static voidnbitfield0(long struct, int value) static intnbitfield1(long struct) static voidnbitfield1(long struct, int value) static intnerror_resilient_mode(long struct) Unsafe version oferror_resilient_mode().static voidnerror_resilient_mode(long struct, int value) Unsafe version oferror_resilient_mode.static intnframe_parallel_decoding_mode(long struct) Unsafe version offrame_parallel_decoding_mode().static voidnframe_parallel_decoding_mode(long struct, int value) Unsafe version offrame_parallel_decoding_mode.static intnintra_only(long struct) Unsafe version ofintra_only().static voidnintra_only(long struct, int value) Unsafe version ofintra_only.static intnrefresh_frame_context(long struct) Unsafe version ofrefresh_frame_context().static voidnrefresh_frame_context(long struct, int value) Unsafe version ofrefresh_frame_context.static intnreserved(long struct) static voidnreserved(long struct, int value) static intnsegmentation_enabled(long struct) Unsafe version ofsegmentation_enabled().static voidnsegmentation_enabled(long struct, int value) Unsafe version ofsegmentation_enabled.static intnshow_frame(long struct) Unsafe version ofshow_frame().static voidnshow_frame(long struct, int value) Unsafe version ofshow_frame.static intnUsePrevFrameMvs(long struct) Unsafe version ofUsePrevFrameMvs().static voidnUsePrevFrameMvs(long struct, int value) Unsafe version ofUsePrevFrameMvs.booleanrefresh_frame_context(boolean value) Sets the specified value to therefresh_frame_contextfield.booleansegmentation_enabled(boolean value) Sets the specified value to thesegmentation_enabledfield.set(boolean error_resilient_mode, boolean intra_only, boolean allow_high_precision_mv, boolean refresh_frame_context, boolean frame_parallel_decoding_mode, boolean segmentation_enabled, boolean show_frame, boolean UsePrevFrameMvs) Initializes this struct with the specified values.Copies the specified struct data to this struct.booleanshow_frame(boolean value) Sets the specified value to theshow_framefield.intsizeof()Returnssizeof(struct).booleanUsePrevFrameMvs(boolean value) Sets the specified value to theUsePrevFrameMvsfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
BITFIELD0
public static final int BITFIELD0The struct member offsets. -
BITFIELD1
public static final int BITFIELD1The struct member offsets.
-
-
Constructor Details
-
StdVideoDecodeVP9PictureInfoFlags
Creates aStdVideoDecodeVP9PictureInfoFlagsinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<StdVideoDecodeVP9PictureInfoFlags>
-
error_resilient_mode
public boolean error_resilient_mode()- Returns:
- the value of the
error_resilient_modefield.
-
intra_only
public boolean intra_only()- Returns:
- the value of the
intra_onlyfield.
-
allow_high_precision_mv
public boolean allow_high_precision_mv()- Returns:
- the value of the
allow_high_precision_mvfield.
-
refresh_frame_context
public boolean refresh_frame_context()- Returns:
- the value of the
refresh_frame_contextfield.
-
frame_parallel_decoding_mode
public boolean frame_parallel_decoding_mode()- Returns:
- the value of the
frame_parallel_decoding_modefield.
-
segmentation_enabled
public boolean segmentation_enabled()- Returns:
- the value of the
segmentation_enabledfield.
-
show_frame
public boolean show_frame()- Returns:
- the value of the
show_framefield.
-
UsePrevFrameMvs
public boolean UsePrevFrameMvs()- Returns:
- the value of the
UsePrevFrameMvsfield.
-
error_resilient_mode
Sets the specified value to theerror_resilient_modefield. -
intra_only
Sets the specified value to theintra_onlyfield. -
allow_high_precision_mv
Sets the specified value to theallow_high_precision_mvfield. -
refresh_frame_context
Sets the specified value to therefresh_frame_contextfield. -
frame_parallel_decoding_mode
Sets the specified value to theframe_parallel_decoding_modefield. -
segmentation_enabled
Sets the specified value to thesegmentation_enabledfield. -
show_frame
Sets the specified value to theshow_framefield. -
UsePrevFrameMvs
Sets the specified value to theUsePrevFrameMvsfield. -
set
public StdVideoDecodeVP9PictureInfoFlags set(boolean error_resilient_mode, boolean intra_only, boolean allow_high_precision_mv, boolean refresh_frame_context, boolean frame_parallel_decoding_mode, boolean segmentation_enabled, boolean show_frame, boolean UsePrevFrameMvs) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newStdVideoDecodeVP9PictureInfoFlagsinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoDecodeVP9PictureInfoFlagsinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoDecodeVP9PictureInfoFlagsinstance allocated withBufferUtils. -
create
Returns a newStdVideoDecodeVP9PictureInfoFlagsinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoDecodeVP9PictureInfoFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoDecodeVP9PictureInfoFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoDecodeVP9PictureInfoFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoDecodeVP9PictureInfoFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable StdVideoDecodeVP9PictureInfoFlags.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoDecodeVP9PictureInfoFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoDecodeVP9PictureInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoDecodeVP9PictureInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoDecodeVP9PictureInfoFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nbitfield0
public static int nbitfield0(long struct) -
nerror_resilient_mode
public static int nerror_resilient_mode(long struct) Unsafe version oferror_resilient_mode(). -
nintra_only
public static int nintra_only(long struct) Unsafe version ofintra_only(). -
nallow_high_precision_mv
public static int nallow_high_precision_mv(long struct) Unsafe version ofallow_high_precision_mv(). -
nrefresh_frame_context
public static int nrefresh_frame_context(long struct) Unsafe version ofrefresh_frame_context(). -
nframe_parallel_decoding_mode
public static int nframe_parallel_decoding_mode(long struct) Unsafe version offrame_parallel_decoding_mode(). -
nsegmentation_enabled
public static int nsegmentation_enabled(long struct) Unsafe version ofsegmentation_enabled(). -
nshow_frame
public static int nshow_frame(long struct) Unsafe version ofshow_frame(). -
nUsePrevFrameMvs
public static int nUsePrevFrameMvs(long struct) Unsafe version ofUsePrevFrameMvs(). -
nbitfield1
public static int nbitfield1(long struct) -
nreserved
public static int nreserved(long struct) -
nbitfield0
public static void nbitfield0(long struct, int value) -
nerror_resilient_mode
public static void nerror_resilient_mode(long struct, int value) Unsafe version oferror_resilient_mode. -
nintra_only
public static void nintra_only(long struct, int value) Unsafe version ofintra_only. -
nallow_high_precision_mv
public static void nallow_high_precision_mv(long struct, int value) Unsafe version ofallow_high_precision_mv. -
nrefresh_frame_context
public static void nrefresh_frame_context(long struct, int value) Unsafe version ofrefresh_frame_context. -
nframe_parallel_decoding_mode
public static void nframe_parallel_decoding_mode(long struct, int value) Unsafe version offrame_parallel_decoding_mode. -
nsegmentation_enabled
public static void nsegmentation_enabled(long struct, int value) Unsafe version ofsegmentation_enabled. -
nshow_frame
public static void nshow_frame(long struct, int value) Unsafe version ofshow_frame. -
nUsePrevFrameMvs
public static void nUsePrevFrameMvs(long struct, int value) Unsafe version ofUsePrevFrameMvs. -
nbitfield1
public static void nbitfield1(long struct, int value) -
nreserved
public static void nreserved(long struct, int value)
-