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.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 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 aStdVideoAV1LoopRestorationinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoAV1LoopRestorationcalloc()Returns a newStdVideoAV1LoopRestorationinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoAV1LoopRestoration.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoAV1LoopRestoration.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoAV1LoopRestorationcalloc(MemoryStack stack) Returns a newStdVideoAV1LoopRestorationinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoAV1LoopRestorationcreate()Returns a newStdVideoAV1LoopRestorationinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoAV1LoopRestoration.Bufferinstance allocated withBufferUtils.static StdVideoAV1LoopRestorationcreate(long address) Returns a newStdVideoAV1LoopRestorationinstance for the specified memory address.create(long address, int capacity) Create aStdVideoAV1LoopRestoration.Bufferinstance at the specified memory.static @Nullable StdVideoAV1LoopRestorationcreateSafe(long address) static @Nullable StdVideoAV1LoopRestoration.BuffercreateSafe(long address, int capacity) intFrameRestorationType(int index) FrameRestorationType(int index, int value) Sets the specified value at the specified index of theFrameRestorationTypefield.FrameRestorationType(IntBuffer value) Copies the specifiedIntBufferto theFrameRestorationTypefield.shortLoopRestorationSize(int index) LoopRestorationSize(int index, short value) Sets the specified value at the specified index of theLoopRestorationSizefield.LoopRestorationSize(ShortBuffer value) Copies the specifiedShortBufferto theLoopRestorationSizefield.static StdVideoAV1LoopRestorationmalloc()Returns a newStdVideoAV1LoopRestorationinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoAV1LoopRestoration.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoAV1LoopRestoration.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoAV1LoopRestorationmalloc(MemoryStack stack) Returns a newStdVideoAV1LoopRestorationinstance allocated on the specifiedMemoryStack.static IntBuffernFrameRestorationType(long struct) Unsafe version ofFrameRestorationType().static intnFrameRestorationType(long struct, int index) Unsafe version ofFrameRestorationType.static voidnFrameRestorationType(long struct, int index, int value) Unsafe version ofFrameRestorationType.static voidnFrameRestorationType(long struct, IntBuffer value) Unsafe version ofFrameRestorationType.static ShortBuffernLoopRestorationSize(long struct) Unsafe version ofLoopRestorationSize().static shortnLoopRestorationSize(long struct, int index) Unsafe version ofLoopRestorationSize.static voidnLoopRestorationSize(long struct, int index, short value) Unsafe version ofLoopRestorationSize.static voidnLoopRestorationSize(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.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. -
FRAMERESTORATIONTYPE
public static final int FRAMERESTORATIONTYPEThe struct member offsets. -
LOOPRESTORATIONSIZE
public static final int LOOPRESTORATIONSIZEThe struct member offsets.
-
-
Constructor Details
-
StdVideoAV1LoopRestoration
Creates aStdVideoAV1LoopRestorationinstance 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<StdVideoAV1LoopRestoration>
-
FrameRestorationType
- Returns:
- a
IntBufferview of theFrameRestorationTypefield.
-
FrameRestorationType
public int FrameRestorationType(int index) - Returns:
- the value at the specified index of the
FrameRestorationTypefield.
-
LoopRestorationSize
- Returns:
- a
ShortBufferview of theLoopRestorationSizefield.
-
LoopRestorationSize
public short LoopRestorationSize(int index) - Returns:
- the value at the specified index of the
LoopRestorationSizefield.
-
FrameRestorationType
Copies the specifiedIntBufferto theFrameRestorationTypefield. -
FrameRestorationType
Sets the specified value at the specified index of theFrameRestorationTypefield. -
LoopRestorationSize
Copies the specifiedShortBufferto theLoopRestorationSizefield. -
LoopRestorationSize
Sets the specified value at the specified index of theLoopRestorationSizefield. -
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 newStdVideoAV1LoopRestorationinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoAV1LoopRestorationinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoAV1LoopRestorationinstance allocated withBufferUtils. -
create
Returns a newStdVideoAV1LoopRestorationinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoAV1LoopRestoration.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoAV1LoopRestoration.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoAV1LoopRestoration.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoAV1LoopRestoration.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoAV1LoopRestorationinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1LoopRestorationinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoAV1LoopRestoration.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1LoopRestoration.Bufferinstance allocated on the specifiedMemoryStackand 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.
-