Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264WeightTableFlags
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoEncodeH264WeightTableFlags>
org.lwjgl.vulkan.video.StdVideoEncodeH264WeightTableFlags
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class StdVideoEncodeH264WeightTableFlags
extends Struct<StdVideoEncodeH264WeightTableFlags>
implements NativeResource
struct StdVideoEncodeH264WeightTableFlags {
uint32_t luma_weight_l0_flag;
uint32_t chroma_weight_l0_flag;
uint32_t luma_weight_l1_flag;
uint32_t chroma_weight_l1_flag;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofStdVideoEncodeH264WeightTableFlagsstructs.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 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
ConstructorsConstructorDescriptionStdVideoEncodeH264WeightTableFlags(ByteBuffer container) Creates aStdVideoEncodeH264WeightTableFlagsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newStdVideoEncodeH264WeightTableFlagsinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoEncodeH264WeightTableFlags.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264WeightTableFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newStdVideoEncodeH264WeightTableFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.intchroma_weight_l0_flag(int value) Sets the specified value to thechroma_weight_l0_flagfield.intchroma_weight_l1_flag(int value) Sets the specified value to thechroma_weight_l1_flagfield.create()Returns a newStdVideoEncodeH264WeightTableFlagsinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoEncodeH264WeightTableFlags.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoEncodeH264WeightTableFlagsinstance for the specified memory address.create(long address, int capacity) Create aStdVideoEncodeH264WeightTableFlags.Bufferinstance at the specified memory.static @Nullable StdVideoEncodeH264WeightTableFlagscreateSafe(long address) static @Nullable StdVideoEncodeH264WeightTableFlags.BuffercreateSafe(long address, int capacity) intluma_weight_l0_flag(int value) Sets the specified value to theluma_weight_l0_flagfield.intluma_weight_l1_flag(int value) Sets the specified value to theluma_weight_l1_flagfield.malloc()Returns a newStdVideoEncodeH264WeightTableFlagsinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoEncodeH264WeightTableFlags.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264WeightTableFlags.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newStdVideoEncodeH264WeightTableFlagsinstance allocated on the specifiedMemoryStack.static intnchroma_weight_l0_flag(long struct) Unsafe version ofchroma_weight_l0_flag().static voidnchroma_weight_l0_flag(long struct, int value) Unsafe version ofchroma_weight_l0_flag.static intnchroma_weight_l1_flag(long struct) Unsafe version ofchroma_weight_l1_flag().static voidnchroma_weight_l1_flag(long struct, int value) Unsafe version ofchroma_weight_l1_flag.static intnluma_weight_l0_flag(long struct) Unsafe version ofluma_weight_l0_flag().static voidnluma_weight_l0_flag(long struct, int value) Unsafe version ofluma_weight_l0_flag.static intnluma_weight_l1_flag(long struct) Unsafe version ofluma_weight_l1_flag().static voidnluma_weight_l1_flag(long struct, int value) Unsafe version ofluma_weight_l1_flag.set(int luma_weight_l0_flag, int chroma_weight_l0_flag, int luma_weight_l1_flag, int chroma_weight_l1_flag) 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. -
LUMA_WEIGHT_L0_FLAG
public static final int LUMA_WEIGHT_L0_FLAGThe struct member offsets. -
CHROMA_WEIGHT_L0_FLAG
public static final int CHROMA_WEIGHT_L0_FLAGThe struct member offsets. -
LUMA_WEIGHT_L1_FLAG
public static final int LUMA_WEIGHT_L1_FLAGThe struct member offsets. -
CHROMA_WEIGHT_L1_FLAG
public static final int CHROMA_WEIGHT_L1_FLAGThe struct member offsets.
-
-
Constructor Details
-
StdVideoEncodeH264WeightTableFlags
Creates aStdVideoEncodeH264WeightTableFlagsinstance 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<StdVideoEncodeH264WeightTableFlags>
-
luma_weight_l0_flag
public int luma_weight_l0_flag()- Returns:
- the value of the
luma_weight_l0_flagfield.
-
chroma_weight_l0_flag
public int chroma_weight_l0_flag()- Returns:
- the value of the
chroma_weight_l0_flagfield.
-
luma_weight_l1_flag
public int luma_weight_l1_flag()- Returns:
- the value of the
luma_weight_l1_flagfield.
-
chroma_weight_l1_flag
public int chroma_weight_l1_flag()- Returns:
- the value of the
chroma_weight_l1_flagfield.
-
luma_weight_l0_flag
Sets the specified value to theluma_weight_l0_flagfield. -
chroma_weight_l0_flag
Sets the specified value to thechroma_weight_l0_flagfield. -
luma_weight_l1_flag
Sets the specified value to theluma_weight_l1_flagfield. -
chroma_weight_l1_flag
Sets the specified value to thechroma_weight_l1_flagfield. -
set
public StdVideoEncodeH264WeightTableFlags set(int luma_weight_l0_flag, int chroma_weight_l0_flag, int luma_weight_l1_flag, int chroma_weight_l1_flag) 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 newStdVideoEncodeH264WeightTableFlagsinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH264WeightTableFlagsinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH264WeightTableFlagsinstance allocated withBufferUtils. -
create
Returns a newStdVideoEncodeH264WeightTableFlagsinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH264WeightTableFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH264WeightTableFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoEncodeH264WeightTableFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoEncodeH264WeightTableFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable StdVideoEncodeH264WeightTableFlags.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoEncodeH264WeightTableFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264WeightTableFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeH264WeightTableFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264WeightTableFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nluma_weight_l0_flag
public static int nluma_weight_l0_flag(long struct) Unsafe version ofluma_weight_l0_flag(). -
nchroma_weight_l0_flag
public static int nchroma_weight_l0_flag(long struct) Unsafe version ofchroma_weight_l0_flag(). -
nluma_weight_l1_flag
public static int nluma_weight_l1_flag(long struct) Unsafe version ofluma_weight_l1_flag(). -
nchroma_weight_l1_flag
public static int nchroma_weight_l1_flag(long struct) Unsafe version ofchroma_weight_l1_flag(). -
nluma_weight_l0_flag
public static void nluma_weight_l0_flag(long struct, int value) Unsafe version ofluma_weight_l0_flag. -
nchroma_weight_l0_flag
public static void nchroma_weight_l0_flag(long struct, int value) Unsafe version ofchroma_weight_l0_flag. -
nluma_weight_l1_flag
public static void nluma_weight_l1_flag(long struct, int value) Unsafe version ofluma_weight_l1_flag. -
nchroma_weight_l1_flag
public static void nchroma_weight_l1_flag(long struct, int value) Unsafe version ofchroma_weight_l1_flag.
-