Package org.lwjgl.vulkan.video
Class StdVideoVP9SegmentationFlags
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoVP9SegmentationFlags>
org.lwjgl.vulkan.video.StdVideoVP9SegmentationFlags
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class StdVideoVP9SegmentationFlags
extends Struct<StdVideoVP9SegmentationFlags>
implements NativeResource
struct StdVideoVP9SegmentationFlags {
uint32_t segmentation_update_map : 1;
uint32_t segmentation_temporal_update : 1;
uint32_t segmentation_update_data : 1;
uint32_t segmentation_abs_or_delta_update : 1;
uint32_t reserved : 28;
}-
Nested Class Summary
Nested ClassesNested 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
ConstructorsConstructorDescriptionStdVideoVP9SegmentationFlags(ByteBuffer container) Creates aStdVideoVP9SegmentationFlagsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoVP9SegmentationFlagscalloc()Returns a newStdVideoVP9SegmentationFlagsinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoVP9SegmentationFlags.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoVP9SegmentationFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoVP9SegmentationFlagscalloc(MemoryStack stack) Returns a newStdVideoVP9SegmentationFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoVP9SegmentationFlagscreate()Returns a newStdVideoVP9SegmentationFlagsinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoVP9SegmentationFlags.Bufferinstance allocated withBufferUtils.static StdVideoVP9SegmentationFlagscreate(long address) Returns a newStdVideoVP9SegmentationFlagsinstance for the specified memory address.create(long address, int capacity) Create aStdVideoVP9SegmentationFlags.Bufferinstance at the specified memory.static @Nullable StdVideoVP9SegmentationFlagscreateSafe(long address) static @Nullable StdVideoVP9SegmentationFlags.BuffercreateSafe(long address, int capacity) static StdVideoVP9SegmentationFlagsmalloc()Returns a newStdVideoVP9SegmentationFlagsinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoVP9SegmentationFlags.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoVP9SegmentationFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoVP9SegmentationFlagsmalloc(MemoryStack stack) Returns a newStdVideoVP9SegmentationFlagsinstance allocated on the specifiedMemoryStack.static intnbitfield0(long struct) static voidnbitfield0(long struct, int value) static intnbitfield1(long struct) static voidnbitfield1(long struct, int value) static intnreserved(long struct) static voidnreserved(long struct, int value) static intnsegmentation_abs_or_delta_update(long struct) Unsafe version ofsegmentation_abs_or_delta_update().static voidnsegmentation_abs_or_delta_update(long struct, int value) Unsafe version ofsegmentation_abs_or_delta_update.static intnsegmentation_temporal_update(long struct) Unsafe version ofsegmentation_temporal_update().static voidnsegmentation_temporal_update(long struct, int value) Unsafe version ofsegmentation_temporal_update.static intnsegmentation_update_data(long struct) Unsafe version ofsegmentation_update_data().static voidnsegmentation_update_data(long struct, int value) Unsafe version ofsegmentation_update_data.static intnsegmentation_update_map(long struct) Unsafe version ofsegmentation_update_map().static voidnsegmentation_update_map(long struct, int value) Unsafe version ofsegmentation_update_map.booleansegmentation_abs_or_delta_update(boolean value) Sets the specified value to thesegmentation_abs_or_delta_updatefield.booleansegmentation_temporal_update(boolean value) Sets the specified value to thesegmentation_temporal_updatefield.booleansegmentation_update_data(boolean value) Sets the specified value to thesegmentation_update_datafield.booleansegmentation_update_map(boolean value) Sets the specified value to thesegmentation_update_mapfield.set(boolean segmentation_update_map, boolean segmentation_temporal_update, boolean segmentation_update_data, boolean segmentation_abs_or_delta_update) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).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
-
StdVideoVP9SegmentationFlags
Creates aStdVideoVP9SegmentationFlagsinstance 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<StdVideoVP9SegmentationFlags>
-
segmentation_update_map
public boolean segmentation_update_map()- Returns:
- the value of the
segmentation_update_mapfield.
-
segmentation_temporal_update
public boolean segmentation_temporal_update()- Returns:
- the value of the
segmentation_temporal_updatefield.
-
segmentation_update_data
public boolean segmentation_update_data()- Returns:
- the value of the
segmentation_update_datafield.
-
segmentation_abs_or_delta_update
public boolean segmentation_abs_or_delta_update()- Returns:
- the value of the
segmentation_abs_or_delta_updatefield.
-
segmentation_update_map
Sets the specified value to thesegmentation_update_mapfield. -
segmentation_temporal_update
Sets the specified value to thesegmentation_temporal_updatefield. -
segmentation_update_data
Sets the specified value to thesegmentation_update_datafield. -
segmentation_abs_or_delta_update
Sets the specified value to thesegmentation_abs_or_delta_updatefield. -
set
public StdVideoVP9SegmentationFlags set(boolean segmentation_update_map, boolean segmentation_temporal_update, boolean segmentation_update_data, boolean segmentation_abs_or_delta_update) 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 newStdVideoVP9SegmentationFlagsinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoVP9SegmentationFlagsinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoVP9SegmentationFlagsinstance allocated withBufferUtils. -
create
Returns a newStdVideoVP9SegmentationFlagsinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoVP9SegmentationFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoVP9SegmentationFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoVP9SegmentationFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoVP9SegmentationFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoVP9SegmentationFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoVP9SegmentationFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoVP9SegmentationFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoVP9SegmentationFlags.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) -
nsegmentation_update_map
public static int nsegmentation_update_map(long struct) Unsafe version ofsegmentation_update_map(). -
nsegmentation_temporal_update
public static int nsegmentation_temporal_update(long struct) Unsafe version ofsegmentation_temporal_update(). -
nsegmentation_update_data
public static int nsegmentation_update_data(long struct) Unsafe version ofsegmentation_update_data(). -
nsegmentation_abs_or_delta_update
public static int nsegmentation_abs_or_delta_update(long struct) Unsafe version ofsegmentation_abs_or_delta_update(). -
nbitfield1
public static int nbitfield1(long struct) -
nreserved
public static int nreserved(long struct) -
nbitfield0
public static void nbitfield0(long struct, int value) -
nsegmentation_update_map
public static void nsegmentation_update_map(long struct, int value) Unsafe version ofsegmentation_update_map. -
nsegmentation_temporal_update
public static void nsegmentation_temporal_update(long struct, int value) Unsafe version ofsegmentation_temporal_update. -
nsegmentation_update_data
public static void nsegmentation_update_data(long struct, int value) Unsafe version ofsegmentation_update_data. -
nsegmentation_abs_or_delta_update
public static void nsegmentation_abs_or_delta_update(long struct, int value) Unsafe version ofsegmentation_abs_or_delta_update. -
nbitfield1
public static void nbitfield1(long struct, int value) -
nreserved
public static void nreserved(long struct, int value)
-