Package org.lwjgl.vulkan.video
Class StdVideoAV1LoopRestoration
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoAV1LoopRestoration>
org.lwjgl.vulkan.video.StdVideoAV1LoopRestoration
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoAV1LoopRestoration
extends Struct<StdVideoAV1LoopRestoration>
implements NativeResource
struct StdVideoAV1LoopRestoration {
StdVideoAV1FrameRestorationType FrameRestorationType[STD_VIDEO_AV1_MAX_NUM_PLANES];
uint16_t LoopRestorationSize[STD_VIDEO_AV1_MAX_NUM_PLANES];
}
-
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 size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoAV1LoopRestoration
(ByteBuffer container) Creates aStdVideoAV1LoopRestoration
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoAV1LoopRestoration
calloc()
Returns a newStdVideoAV1LoopRestoration
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoAV1LoopRestoration.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoAV1LoopRestoration.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoAV1LoopRestoration
calloc
(MemoryStack stack) Returns a newStdVideoAV1LoopRestoration
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoAV1LoopRestoration
create()
Returns a newStdVideoAV1LoopRestoration
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoAV1LoopRestoration.Buffer
instance allocated withBufferUtils
.static StdVideoAV1LoopRestoration
create
(long address) Returns a newStdVideoAV1LoopRestoration
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoAV1LoopRestoration.Buffer
instance at the specified memory.static @Nullable StdVideoAV1LoopRestoration
createSafe
(long address) static @Nullable StdVideoAV1LoopRestoration.Buffer
createSafe
(long address, int capacity) int
FrameRestorationType
(int index) FrameRestorationType
(int index, int value) Sets the specified value at the specified index of theFrameRestorationType
field.FrameRestorationType
(IntBuffer value) Copies the specifiedIntBuffer
to theFrameRestorationType
field.short
LoopRestorationSize
(int index) LoopRestorationSize
(int index, short value) Sets the specified value at the specified index of theLoopRestorationSize
field.LoopRestorationSize
(ShortBuffer value) Copies the specifiedShortBuffer
to theLoopRestorationSize
field.static StdVideoAV1LoopRestoration
malloc()
Returns a newStdVideoAV1LoopRestoration
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoAV1LoopRestoration.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoAV1LoopRestoration.Buffer
instance allocated on the specifiedMemoryStack
.static StdVideoAV1LoopRestoration
malloc
(MemoryStack stack) Returns a newStdVideoAV1LoopRestoration
instance allocated on the specifiedMemoryStack
.static IntBuffer
nFrameRestorationType
(long struct) Unsafe version ofFrameRestorationType()
.static int
nFrameRestorationType
(long struct, int index) Unsafe version ofFrameRestorationType
.static void
nFrameRestorationType
(long struct, int index, int value) Unsafe version ofFrameRestorationType
.static void
nFrameRestorationType
(long struct, IntBuffer value) Unsafe version ofFrameRestorationType
.static ShortBuffer
nLoopRestorationSize
(long struct) Unsafe version ofLoopRestorationSize()
.static short
nLoopRestorationSize
(long struct, int index) Unsafe version ofLoopRestorationSize
.static void
nLoopRestorationSize
(long struct, int index, short value) Unsafe version ofLoopRestorationSize
.static void
nLoopRestorationSize
(long struct, ShortBuffer value) Unsafe version ofLoopRestorationSize
.set
(IntBuffer FrameRestorationType, ShortBuffer LoopRestorationSize) 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. -
FRAMERESTORATIONTYPE
public static final int FRAMERESTORATIONTYPEThe struct member offsets. -
LOOPRESTORATIONSIZE
public static final int LOOPRESTORATIONSIZEThe struct member offsets.
-
-
Constructor Details
-
StdVideoAV1LoopRestoration
Creates aStdVideoAV1LoopRestoration
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<StdVideoAV1LoopRestoration>
-
FrameRestorationType
- Returns:
- a
IntBuffer
view of theFrameRestorationType
field.
-
FrameRestorationType
public int FrameRestorationType(int index) - Returns:
- the value at the specified index of the
FrameRestorationType
field.
-
LoopRestorationSize
- Returns:
- a
ShortBuffer
view of theLoopRestorationSize
field.
-
LoopRestorationSize
public short LoopRestorationSize(int index) - Returns:
- the value at the specified index of the
LoopRestorationSize
field.
-
FrameRestorationType
Copies the specifiedIntBuffer
to theFrameRestorationType
field. -
FrameRestorationType
Sets the specified value at the specified index of theFrameRestorationType
field. -
LoopRestorationSize
Copies the specifiedShortBuffer
to theLoopRestorationSize
field. -
LoopRestorationSize
Sets the specified value at the specified index of theLoopRestorationSize
field. -
set
public StdVideoAV1LoopRestoration set(IntBuffer FrameRestorationType, ShortBuffer LoopRestorationSize) 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 newStdVideoAV1LoopRestoration
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoAV1LoopRestoration
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoAV1LoopRestoration
instance allocated withBufferUtils
. -
create
Returns a newStdVideoAV1LoopRestoration
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoAV1LoopRestoration.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoAV1LoopRestoration.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoAV1LoopRestoration.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoAV1LoopRestoration.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoAV1LoopRestoration
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1LoopRestoration
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoAV1LoopRestoration.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1LoopRestoration.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nFrameRestorationType
Unsafe version ofFrameRestorationType()
. -
nFrameRestorationType
public static int nFrameRestorationType(long struct, int index) Unsafe version ofFrameRestorationType
. -
nLoopRestorationSize
Unsafe version ofLoopRestorationSize()
. -
nLoopRestorationSize
public static short nLoopRestorationSize(long struct, int index) Unsafe version ofLoopRestorationSize
. -
nFrameRestorationType
Unsafe version ofFrameRestorationType
. -
nFrameRestorationType
public static void nFrameRestorationType(long struct, int index, int value) Unsafe version ofFrameRestorationType
. -
nLoopRestorationSize
Unsafe version ofLoopRestorationSize
. -
nLoopRestorationSize
public static void nLoopRestorationSize(long struct, int index, short value) Unsafe version ofLoopRestorationSize
.
-