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 class
An array ofStdVideoEncodeH264WeightTableFlags
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 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
ConstructorsConstructorDescriptionStdVideoEncodeH264WeightTableFlags
(ByteBuffer container) Creates aStdVideoEncodeH264WeightTableFlags
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newStdVideoEncodeH264WeightTableFlags
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoEncodeH264WeightTableFlags.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264WeightTableFlags.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoEncodeH264WeightTableFlags
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.int
chroma_weight_l0_flag
(int value) Sets the specified value to thechroma_weight_l0_flag
field.int
chroma_weight_l1_flag
(int value) Sets the specified value to thechroma_weight_l1_flag
field.create()
Returns a newStdVideoEncodeH264WeightTableFlags
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoEncodeH264WeightTableFlags.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoEncodeH264WeightTableFlags
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoEncodeH264WeightTableFlags.Buffer
instance at the specified memory.static @Nullable StdVideoEncodeH264WeightTableFlags
createSafe
(long address) static @Nullable StdVideoEncodeH264WeightTableFlags.Buffer
createSafe
(long address, int capacity) int
luma_weight_l0_flag
(int value) Sets the specified value to theluma_weight_l0_flag
field.int
luma_weight_l1_flag
(int value) Sets the specified value to theluma_weight_l1_flag
field.malloc()
Returns a newStdVideoEncodeH264WeightTableFlags
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoEncodeH264WeightTableFlags.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264WeightTableFlags.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoEncodeH264WeightTableFlags
instance allocated on the specifiedMemoryStack
.static int
nchroma_weight_l0_flag
(long struct) Unsafe version ofchroma_weight_l0_flag()
.static void
nchroma_weight_l0_flag
(long struct, int value) Unsafe version ofchroma_weight_l0_flag
.static int
nchroma_weight_l1_flag
(long struct) Unsafe version ofchroma_weight_l1_flag()
.static void
nchroma_weight_l1_flag
(long struct, int value) Unsafe version ofchroma_weight_l1_flag
.static int
nluma_weight_l0_flag
(long struct) Unsafe version ofluma_weight_l0_flag()
.static void
nluma_weight_l0_flag
(long struct, int value) Unsafe version ofluma_weight_l0_flag
.static int
nluma_weight_l1_flag
(long struct) Unsafe version ofluma_weight_l1_flag()
.static void
nluma_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.int
sizeof()
Returnssizeof(struct)
.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. -
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 aStdVideoEncodeH264WeightTableFlags
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<StdVideoEncodeH264WeightTableFlags>
-
luma_weight_l0_flag
public int luma_weight_l0_flag()- Returns:
- the value of the
luma_weight_l0_flag
field.
-
chroma_weight_l0_flag
public int chroma_weight_l0_flag()- Returns:
- the value of the
chroma_weight_l0_flag
field.
-
luma_weight_l1_flag
public int luma_weight_l1_flag()- Returns:
- the value of the
luma_weight_l1_flag
field.
-
chroma_weight_l1_flag
public int chroma_weight_l1_flag()- Returns:
- the value of the
chroma_weight_l1_flag
field.
-
luma_weight_l0_flag
Sets the specified value to theluma_weight_l0_flag
field. -
chroma_weight_l0_flag
Sets the specified value to thechroma_weight_l0_flag
field. -
luma_weight_l1_flag
Sets the specified value to theluma_weight_l1_flag
field. -
chroma_weight_l1_flag
Sets the specified value to thechroma_weight_l1_flag
field. -
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 newStdVideoEncodeH264WeightTableFlags
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH264WeightTableFlags
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH264WeightTableFlags
instance allocated withBufferUtils
. -
create
Returns a newStdVideoEncodeH264WeightTableFlags
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH264WeightTableFlags.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH264WeightTableFlags.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoEncodeH264WeightTableFlags.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoEncodeH264WeightTableFlags.Buffer
instance 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 newStdVideoEncodeH264WeightTableFlags
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264WeightTableFlags
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeH264WeightTableFlags.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264WeightTableFlags.Buffer
instance allocated on the specifiedMemoryStack
and 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
.
-