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 class
An array ofStdVideoDecodeVP9PictureInfoFlags
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The 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 aStdVideoDecodeVP9PictureInfoFlags
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionboolean
allow_high_precision_mv
(boolean value) Sets the specified value to theallow_high_precision_mv
field.calloc()
Returns a newStdVideoDecodeVP9PictureInfoFlags
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoDecodeVP9PictureInfoFlags.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfoFlags.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfoFlags
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newStdVideoDecodeVP9PictureInfoFlags
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoDecodeVP9PictureInfoFlags.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoDecodeVP9PictureInfoFlags
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoDecodeVP9PictureInfoFlags.Buffer
instance at the specified memory.static @Nullable StdVideoDecodeVP9PictureInfoFlags
createSafe
(long address) static @Nullable StdVideoDecodeVP9PictureInfoFlags.Buffer
createSafe
(long address, int capacity) boolean
error_resilient_mode
(boolean value) Sets the specified value to theerror_resilient_mode
field.boolean
frame_parallel_decoding_mode
(boolean value) Sets the specified value to theframe_parallel_decoding_mode
field.boolean
intra_only
(boolean value) Sets the specified value to theintra_only
field.malloc()
Returns a newStdVideoDecodeVP9PictureInfoFlags
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoDecodeVP9PictureInfoFlags.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfoFlags.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfoFlags
instance allocated on the specifiedMemoryStack
.static int
nallow_high_precision_mv
(long struct) Unsafe version ofallow_high_precision_mv()
.static void
nallow_high_precision_mv
(long struct, int value) Unsafe version ofallow_high_precision_mv
.static int
nbitfield0
(long struct) static void
nbitfield0
(long struct, int value) static int
nbitfield1
(long struct) static void
nbitfield1
(long struct, int value) static int
nerror_resilient_mode
(long struct) Unsafe version oferror_resilient_mode()
.static void
nerror_resilient_mode
(long struct, int value) Unsafe version oferror_resilient_mode
.static int
nframe_parallel_decoding_mode
(long struct) Unsafe version offrame_parallel_decoding_mode()
.static void
nframe_parallel_decoding_mode
(long struct, int value) Unsafe version offrame_parallel_decoding_mode
.static int
nintra_only
(long struct) Unsafe version ofintra_only()
.static void
nintra_only
(long struct, int value) Unsafe version ofintra_only
.static int
nrefresh_frame_context
(long struct) Unsafe version ofrefresh_frame_context()
.static void
nrefresh_frame_context
(long struct, int value) Unsafe version ofrefresh_frame_context
.static int
nreserved
(long struct) static void
nreserved
(long struct, int value) static int
nsegmentation_enabled
(long struct) Unsafe version ofsegmentation_enabled()
.static void
nsegmentation_enabled
(long struct, int value) Unsafe version ofsegmentation_enabled
.static int
nshow_frame
(long struct) Unsafe version ofshow_frame()
.static void
nshow_frame
(long struct, int value) Unsafe version ofshow_frame
.static int
nUsePrevFrameMvs
(long struct) Unsafe version ofUsePrevFrameMvs()
.static void
nUsePrevFrameMvs
(long struct, int value) Unsafe version ofUsePrevFrameMvs
.boolean
refresh_frame_context
(boolean value) Sets the specified value to therefresh_frame_context
field.boolean
segmentation_enabled
(boolean value) Sets the specified value to thesegmentation_enabled
field.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.boolean
show_frame
(boolean value) Sets the specified value to theshow_frame
field.int
sizeof()
Returnssizeof(struct)
.boolean
UsePrevFrameMvs
(boolean value) Sets the specified value to theUsePrevFrameMvs
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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 aStdVideoDecodeVP9PictureInfoFlags
instance at the current position of the specifiedByteBuffer
container. 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:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<StdVideoDecodeVP9PictureInfoFlags>
-
error_resilient_mode
public boolean error_resilient_mode()- Returns:
- the value of the
error_resilient_mode
field.
-
intra_only
public boolean intra_only()- Returns:
- the value of the
intra_only
field.
-
allow_high_precision_mv
public boolean allow_high_precision_mv()- Returns:
- the value of the
allow_high_precision_mv
field.
-
refresh_frame_context
public boolean refresh_frame_context()- Returns:
- the value of the
refresh_frame_context
field.
-
frame_parallel_decoding_mode
public boolean frame_parallel_decoding_mode()- Returns:
- the value of the
frame_parallel_decoding_mode
field.
-
segmentation_enabled
public boolean segmentation_enabled()- Returns:
- the value of the
segmentation_enabled
field.
-
show_frame
public boolean show_frame()- Returns:
- the value of the
show_frame
field.
-
UsePrevFrameMvs
public boolean UsePrevFrameMvs()- Returns:
- the value of the
UsePrevFrameMvs
field.
-
error_resilient_mode
Sets the specified value to theerror_resilient_mode
field. -
intra_only
Sets the specified value to theintra_only
field. -
allow_high_precision_mv
Sets the specified value to theallow_high_precision_mv
field. -
refresh_frame_context
Sets the specified value to therefresh_frame_context
field. -
frame_parallel_decoding_mode
Sets the specified value to theframe_parallel_decoding_mode
field. -
segmentation_enabled
Sets the specified value to thesegmentation_enabled
field. -
show_frame
Sets the specified value to theshow_frame
field. -
UsePrevFrameMvs
Sets the specified value to theUsePrevFrameMvs
field. -
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 newStdVideoDecodeVP9PictureInfoFlags
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoDecodeVP9PictureInfoFlags
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoDecodeVP9PictureInfoFlags
instance allocated withBufferUtils
. -
create
Returns a newStdVideoDecodeVP9PictureInfoFlags
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoDecodeVP9PictureInfoFlags.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoDecodeVP9PictureInfoFlags.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoDecodeVP9PictureInfoFlags.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoDecodeVP9PictureInfoFlags.Buffer
instance 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 newStdVideoDecodeVP9PictureInfoFlags
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoDecodeVP9PictureInfoFlags
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoDecodeVP9PictureInfoFlags.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoDecodeVP9PictureInfoFlags.Buffer
instance allocated on the specifiedMemoryStack
and 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)
-