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.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 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
ConstructorsConstructorDescriptionStdVideoAV1CDEF(ByteBuffer container) Creates aStdVideoAV1CDEFinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoAV1CDEFcalloc()Returns a newStdVideoAV1CDEFinstance allocated withmemCalloc.static StdVideoAV1CDEF.Buffercalloc(int capacity) Returns a newStdVideoAV1CDEF.Bufferinstance allocated withmemCalloc.static StdVideoAV1CDEF.Buffercalloc(int capacity, MemoryStack stack) Returns a newStdVideoAV1CDEF.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoAV1CDEFcalloc(MemoryStack stack) Returns a newStdVideoAV1CDEFinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.bytecdef_bits(byte value) Sets the specified value to thecdef_bitsfield.bytecdef_damping_minus_3(byte value) Sets the specified value to thecdef_damping_minus_3field.bytecdef_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_strengthfield.cdef_uv_pri_strength(ByteBuffer value) Copies the specifiedByteBufferto thecdef_uv_pri_strengthfield.bytecdef_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_strengthfield.cdef_uv_sec_strength(ByteBuffer value) Copies the specifiedByteBufferto thecdef_uv_sec_strengthfield.bytecdef_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_strengthfield.cdef_y_pri_strength(ByteBuffer value) Copies the specifiedByteBufferto thecdef_y_pri_strengthfield.bytecdef_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_strengthfield.cdef_y_sec_strength(ByteBuffer value) Copies the specifiedByteBufferto thecdef_y_sec_strengthfield.static StdVideoAV1CDEFcreate()Returns a newStdVideoAV1CDEFinstance allocated withBufferUtils.static StdVideoAV1CDEF.Buffercreate(int capacity) Returns a newStdVideoAV1CDEF.Bufferinstance allocated withBufferUtils.static StdVideoAV1CDEFcreate(long address) Returns a newStdVideoAV1CDEFinstance for the specified memory address.static StdVideoAV1CDEF.Buffercreate(long address, int capacity) Create aStdVideoAV1CDEF.Bufferinstance at the specified memory.static @Nullable StdVideoAV1CDEFcreateSafe(long address) static @Nullable StdVideoAV1CDEF.BuffercreateSafe(long address, int capacity) static StdVideoAV1CDEFmalloc()Returns a newStdVideoAV1CDEFinstance allocated withmemAlloc.static StdVideoAV1CDEF.Buffermalloc(int capacity) Returns a newStdVideoAV1CDEF.Bufferinstance allocated withmemAlloc.static StdVideoAV1CDEF.Buffermalloc(int capacity, MemoryStack stack) Returns a newStdVideoAV1CDEF.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoAV1CDEFmalloc(MemoryStack stack) Returns a newStdVideoAV1CDEFinstance allocated on the specifiedMemoryStack.static bytencdef_bits(long struct) Unsafe version ofcdef_bits().static voidncdef_bits(long struct, byte value) Unsafe version ofcdef_bits.static bytencdef_damping_minus_3(long struct) Unsafe version ofcdef_damping_minus_3().static voidncdef_damping_minus_3(long struct, byte value) Unsafe version ofcdef_damping_minus_3.static ByteBufferncdef_uv_pri_strength(long struct) Unsafe version ofcdef_uv_pri_strength().static bytencdef_uv_pri_strength(long struct, int index) Unsafe version ofcdef_uv_pri_strength.static voidncdef_uv_pri_strength(long struct, int index, byte value) Unsafe version ofcdef_uv_pri_strength.static voidncdef_uv_pri_strength(long struct, ByteBuffer value) Unsafe version ofcdef_uv_pri_strength.static ByteBufferncdef_uv_sec_strength(long struct) Unsafe version ofcdef_uv_sec_strength().static bytencdef_uv_sec_strength(long struct, int index) Unsafe version ofcdef_uv_sec_strength.static voidncdef_uv_sec_strength(long struct, int index, byte value) Unsafe version ofcdef_uv_sec_strength.static voidncdef_uv_sec_strength(long struct, ByteBuffer value) Unsafe version ofcdef_uv_sec_strength.static ByteBufferncdef_y_pri_strength(long struct) Unsafe version ofcdef_y_pri_strength().static bytencdef_y_pri_strength(long struct, int index) Unsafe version ofcdef_y_pri_strength.static voidncdef_y_pri_strength(long struct, int index, byte value) Unsafe version ofcdef_y_pri_strength.static voidncdef_y_pri_strength(long struct, ByteBuffer value) Unsafe version ofcdef_y_pri_strength.static ByteBufferncdef_y_sec_strength(long struct) Unsafe version ofcdef_y_sec_strength().static bytencdef_y_sec_strength(long struct, int index) Unsafe version ofcdef_y_sec_strength.static voidncdef_y_sec_strength(long struct, int index, byte value) Unsafe version ofcdef_y_sec_strength.static voidncdef_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.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. -
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 aStdVideoAV1CDEFinstance 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<StdVideoAV1CDEF>
-
cdef_damping_minus_3
public byte cdef_damping_minus_3()- Returns:
- the value of the
cdef_damping_minus_3field.
-
cdef_bits
public byte cdef_bits()- Returns:
- the value of the
cdef_bitsfield.
-
cdef_y_pri_strength
- Returns:
- a
ByteBufferview of thecdef_y_pri_strengthfield.
-
cdef_y_pri_strength
public byte cdef_y_pri_strength(int index) - Returns:
- the value at the specified index of the
cdef_y_pri_strengthfield.
-
cdef_y_sec_strength
- Returns:
- a
ByteBufferview of thecdef_y_sec_strengthfield.
-
cdef_y_sec_strength
public byte cdef_y_sec_strength(int index) - Returns:
- the value at the specified index of the
cdef_y_sec_strengthfield.
-
cdef_uv_pri_strength
- Returns:
- a
ByteBufferview of thecdef_uv_pri_strengthfield.
-
cdef_uv_pri_strength
public byte cdef_uv_pri_strength(int index) - Returns:
- the value at the specified index of the
cdef_uv_pri_strengthfield.
-
cdef_uv_sec_strength
- Returns:
- a
ByteBufferview of thecdef_uv_sec_strengthfield.
-
cdef_uv_sec_strength
public byte cdef_uv_sec_strength(int index) - Returns:
- the value at the specified index of the
cdef_uv_sec_strengthfield.
-
cdef_damping_minus_3
Sets the specified value to thecdef_damping_minus_3field. -
cdef_bits
Sets the specified value to thecdef_bitsfield. -
cdef_y_pri_strength
Copies the specifiedByteBufferto thecdef_y_pri_strengthfield. -
cdef_y_pri_strength
Sets the specified value at the specified index of thecdef_y_pri_strengthfield. -
cdef_y_sec_strength
Copies the specifiedByteBufferto thecdef_y_sec_strengthfield. -
cdef_y_sec_strength
Sets the specified value at the specified index of thecdef_y_sec_strengthfield. -
cdef_uv_pri_strength
Copies the specifiedByteBufferto thecdef_uv_pri_strengthfield. -
cdef_uv_pri_strength
Sets the specified value at the specified index of thecdef_uv_pri_strengthfield. -
cdef_uv_sec_strength
Copies the specifiedByteBufferto thecdef_uv_sec_strengthfield. -
cdef_uv_sec_strength
Sets the specified value at the specified index of thecdef_uv_sec_strengthfield. -
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 newStdVideoAV1CDEFinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoAV1CDEFinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoAV1CDEFinstance allocated withBufferUtils. -
create
Returns a newStdVideoAV1CDEFinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoAV1CDEF.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoAV1CDEF.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoAV1CDEF.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoAV1CDEF.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoAV1CDEFinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1CDEFinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoAV1CDEF.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1CDEF.Bufferinstance allocated on the specifiedMemoryStackand 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.
-