Package org.lwjgl.vulkan.video
Class StdVideoAV1CDEF
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct StdVideoAV1CDEF {
uint8_t cdef_damping_minus_3;
uint8_t cdef_bits;
uint8_t cdef_y_pri_strength[STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS];
uint8_t cdef_y_sec_strength[STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS];
uint8_t cdef_uv_pri_strength[STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS];
uint8_t cdef_uv_sec_strength[STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS];
}
-
Nested Class Summary
Nested ClassesNested 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 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
ConstructorsConstructorDescriptionStdVideoAV1CDEF
(ByteBuffer container) Creates aStdVideoAV1CDEF
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoAV1CDEF
calloc()
Returns a newStdVideoAV1CDEF
instance allocated withmemCalloc
.static StdVideoAV1CDEF.Buffer
calloc
(int capacity) Returns a newStdVideoAV1CDEF.Buffer
instance allocated withmemCalloc
.static StdVideoAV1CDEF.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newStdVideoAV1CDEF.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoAV1CDEF
calloc
(MemoryStack stack) Returns a newStdVideoAV1CDEF
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.byte
cdef_bits
(byte value) Sets the specified value to thecdef_bits
field.byte
cdef_damping_minus_3
(byte value) Sets the specified value to thecdef_damping_minus_3
field.byte
cdef_uv_pri_strength
(int index) cdef_uv_pri_strength
(int index, byte value) Sets the specified value at the specified index of thecdef_uv_pri_strength
field.cdef_uv_pri_strength
(ByteBuffer value) Copies the specifiedByteBuffer
to thecdef_uv_pri_strength
field.byte
cdef_uv_sec_strength
(int index) cdef_uv_sec_strength
(int index, byte value) Sets the specified value at the specified index of thecdef_uv_sec_strength
field.cdef_uv_sec_strength
(ByteBuffer value) Copies the specifiedByteBuffer
to thecdef_uv_sec_strength
field.byte
cdef_y_pri_strength
(int index) cdef_y_pri_strength
(int index, byte value) Sets the specified value at the specified index of thecdef_y_pri_strength
field.cdef_y_pri_strength
(ByteBuffer value) Copies the specifiedByteBuffer
to thecdef_y_pri_strength
field.byte
cdef_y_sec_strength
(int index) cdef_y_sec_strength
(int index, byte value) Sets the specified value at the specified index of thecdef_y_sec_strength
field.cdef_y_sec_strength
(ByteBuffer value) Copies the specifiedByteBuffer
to thecdef_y_sec_strength
field.static StdVideoAV1CDEF
create()
Returns a newStdVideoAV1CDEF
instance allocated withBufferUtils
.static StdVideoAV1CDEF.Buffer
create
(int capacity) Returns a newStdVideoAV1CDEF.Buffer
instance allocated withBufferUtils
.static StdVideoAV1CDEF
create
(long address) Returns a newStdVideoAV1CDEF
instance for the specified memory address.static StdVideoAV1CDEF.Buffer
create
(long address, int capacity) Create aStdVideoAV1CDEF.Buffer
instance at the specified memory.static @Nullable StdVideoAV1CDEF
createSafe
(long address) static @Nullable StdVideoAV1CDEF.Buffer
createSafe
(long address, int capacity) static StdVideoAV1CDEF
malloc()
Returns a newStdVideoAV1CDEF
instance allocated withmemAlloc
.static StdVideoAV1CDEF.Buffer
malloc
(int capacity) Returns a newStdVideoAV1CDEF.Buffer
instance allocated withmemAlloc
.static StdVideoAV1CDEF.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newStdVideoAV1CDEF.Buffer
instance allocated on the specifiedMemoryStack
.static StdVideoAV1CDEF
malloc
(MemoryStack stack) Returns a newStdVideoAV1CDEF
instance allocated on the specifiedMemoryStack
.static byte
ncdef_bits
(long struct) Unsafe version ofcdef_bits()
.static void
ncdef_bits
(long struct, byte value) Unsafe version ofcdef_bits
.static byte
ncdef_damping_minus_3
(long struct) Unsafe version ofcdef_damping_minus_3()
.static void
ncdef_damping_minus_3
(long struct, byte value) Unsafe version ofcdef_damping_minus_3
.static ByteBuffer
ncdef_uv_pri_strength
(long struct) Unsafe version ofcdef_uv_pri_strength()
.static byte
ncdef_uv_pri_strength
(long struct, int index) Unsafe version ofcdef_uv_pri_strength
.static void
ncdef_uv_pri_strength
(long struct, int index, byte value) Unsafe version ofcdef_uv_pri_strength
.static void
ncdef_uv_pri_strength
(long struct, ByteBuffer value) Unsafe version ofcdef_uv_pri_strength
.static ByteBuffer
ncdef_uv_sec_strength
(long struct) Unsafe version ofcdef_uv_sec_strength()
.static byte
ncdef_uv_sec_strength
(long struct, int index) Unsafe version ofcdef_uv_sec_strength
.static void
ncdef_uv_sec_strength
(long struct, int index, byte value) Unsafe version ofcdef_uv_sec_strength
.static void
ncdef_uv_sec_strength
(long struct, ByteBuffer value) Unsafe version ofcdef_uv_sec_strength
.static ByteBuffer
ncdef_y_pri_strength
(long struct) Unsafe version ofcdef_y_pri_strength()
.static byte
ncdef_y_pri_strength
(long struct, int index) Unsafe version ofcdef_y_pri_strength
.static void
ncdef_y_pri_strength
(long struct, int index, byte value) Unsafe version ofcdef_y_pri_strength
.static void
ncdef_y_pri_strength
(long struct, ByteBuffer value) Unsafe version ofcdef_y_pri_strength
.static ByteBuffer
ncdef_y_sec_strength
(long struct) Unsafe version ofcdef_y_sec_strength()
.static byte
ncdef_y_sec_strength
(long struct, int index) Unsafe version ofcdef_y_sec_strength
.static void
ncdef_y_sec_strength
(long struct, int index, byte value) Unsafe version ofcdef_y_sec_strength
.static void
ncdef_y_sec_strength
(long struct, ByteBuffer value) Unsafe version ofcdef_y_sec_strength
.set
(byte cdef_damping_minus_3, byte cdef_bits, ByteBuffer cdef_y_pri_strength, ByteBuffer cdef_y_sec_strength, ByteBuffer cdef_uv_pri_strength, ByteBuffer cdef_uv_sec_strength) Initializes this struct with the specified values.set
(StdVideoAV1CDEF src) 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. -
CDEF_DAMPING_MINUS_3
public static final int CDEF_DAMPING_MINUS_3The struct member offsets. -
CDEF_BITS
public static final int CDEF_BITSThe struct member offsets. -
CDEF_Y_PRI_STRENGTH
public static final int CDEF_Y_PRI_STRENGTHThe struct member offsets. -
CDEF_Y_SEC_STRENGTH
public static final int CDEF_Y_SEC_STRENGTHThe struct member offsets. -
CDEF_UV_PRI_STRENGTH
public static final int CDEF_UV_PRI_STRENGTHThe struct member offsets. -
CDEF_UV_SEC_STRENGTH
public static final int CDEF_UV_SEC_STRENGTHThe struct member offsets.
-
-
Constructor Details
-
StdVideoAV1CDEF
Creates aStdVideoAV1CDEF
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<StdVideoAV1CDEF>
-
cdef_damping_minus_3
public byte cdef_damping_minus_3()- Returns:
- the value of the
cdef_damping_minus_3
field.
-
cdef_bits
public byte cdef_bits()- Returns:
- the value of the
cdef_bits
field.
-
cdef_y_pri_strength
- Returns:
- a
ByteBuffer
view of thecdef_y_pri_strength
field.
-
cdef_y_pri_strength
public byte cdef_y_pri_strength(int index) - Returns:
- the value at the specified index of the
cdef_y_pri_strength
field.
-
cdef_y_sec_strength
- Returns:
- a
ByteBuffer
view of thecdef_y_sec_strength
field.
-
cdef_y_sec_strength
public byte cdef_y_sec_strength(int index) - Returns:
- the value at the specified index of the
cdef_y_sec_strength
field.
-
cdef_uv_pri_strength
- Returns:
- a
ByteBuffer
view of thecdef_uv_pri_strength
field.
-
cdef_uv_pri_strength
public byte cdef_uv_pri_strength(int index) - Returns:
- the value at the specified index of the
cdef_uv_pri_strength
field.
-
cdef_uv_sec_strength
- Returns:
- a
ByteBuffer
view of thecdef_uv_sec_strength
field.
-
cdef_uv_sec_strength
public byte cdef_uv_sec_strength(int index) - Returns:
- the value at the specified index of the
cdef_uv_sec_strength
field.
-
cdef_damping_minus_3
Sets the specified value to thecdef_damping_minus_3
field. -
cdef_bits
Sets the specified value to thecdef_bits
field. -
cdef_y_pri_strength
Copies the specifiedByteBuffer
to thecdef_y_pri_strength
field. -
cdef_y_pri_strength
Sets the specified value at the specified index of thecdef_y_pri_strength
field. -
cdef_y_sec_strength
Copies the specifiedByteBuffer
to thecdef_y_sec_strength
field. -
cdef_y_sec_strength
Sets the specified value at the specified index of thecdef_y_sec_strength
field. -
cdef_uv_pri_strength
Copies the specifiedByteBuffer
to thecdef_uv_pri_strength
field. -
cdef_uv_pri_strength
Sets the specified value at the specified index of thecdef_uv_pri_strength
field. -
cdef_uv_sec_strength
Copies the specifiedByteBuffer
to thecdef_uv_sec_strength
field. -
cdef_uv_sec_strength
Sets the specified value at the specified index of thecdef_uv_sec_strength
field. -
set
public StdVideoAV1CDEF set(byte cdef_damping_minus_3, byte cdef_bits, ByteBuffer cdef_y_pri_strength, ByteBuffer cdef_y_sec_strength, ByteBuffer cdef_uv_pri_strength, ByteBuffer cdef_uv_sec_strength) 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 newStdVideoAV1CDEF
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoAV1CDEF
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoAV1CDEF
instance allocated withBufferUtils
. -
create
Returns a newStdVideoAV1CDEF
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoAV1CDEF.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoAV1CDEF.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoAV1CDEF.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoAV1CDEF.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoAV1CDEF
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1CDEF
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoAV1CDEF.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1CDEF.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
ncdef_damping_minus_3
public static byte ncdef_damping_minus_3(long struct) Unsafe version ofcdef_damping_minus_3()
. -
ncdef_bits
public static byte ncdef_bits(long struct) Unsafe version ofcdef_bits()
. -
ncdef_y_pri_strength
Unsafe version ofcdef_y_pri_strength()
. -
ncdef_y_pri_strength
public static byte ncdef_y_pri_strength(long struct, int index) Unsafe version ofcdef_y_pri_strength
. -
ncdef_y_sec_strength
Unsafe version ofcdef_y_sec_strength()
. -
ncdef_y_sec_strength
public static byte ncdef_y_sec_strength(long struct, int index) Unsafe version ofcdef_y_sec_strength
. -
ncdef_uv_pri_strength
Unsafe version ofcdef_uv_pri_strength()
. -
ncdef_uv_pri_strength
public static byte ncdef_uv_pri_strength(long struct, int index) Unsafe version ofcdef_uv_pri_strength
. -
ncdef_uv_sec_strength
Unsafe version ofcdef_uv_sec_strength()
. -
ncdef_uv_sec_strength
public static byte ncdef_uv_sec_strength(long struct, int index) Unsafe version ofcdef_uv_sec_strength
. -
ncdef_damping_minus_3
public static void ncdef_damping_minus_3(long struct, byte value) Unsafe version ofcdef_damping_minus_3
. -
ncdef_bits
public static void ncdef_bits(long struct, byte value) Unsafe version ofcdef_bits
. -
ncdef_y_pri_strength
Unsafe version ofcdef_y_pri_strength
. -
ncdef_y_pri_strength
public static void ncdef_y_pri_strength(long struct, int index, byte value) Unsafe version ofcdef_y_pri_strength
. -
ncdef_y_sec_strength
Unsafe version ofcdef_y_sec_strength
. -
ncdef_y_sec_strength
public static void ncdef_y_sec_strength(long struct, int index, byte value) Unsafe version ofcdef_y_sec_strength
. -
ncdef_uv_pri_strength
Unsafe version ofcdef_uv_pri_strength
. -
ncdef_uv_pri_strength
public static void ncdef_uv_pri_strength(long struct, int index, byte value) Unsafe version ofcdef_uv_pri_strength
. -
ncdef_uv_sec_strength
Unsafe version ofcdef_uv_sec_strength
. -
ncdef_uv_sec_strength
public static void ncdef_uv_sec_strength(long struct, int index, byte value) Unsafe version ofcdef_uv_sec_strength
.
-