Class StdVideoAV1LoopRestoration

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoAV1LoopRestoration>
org.lwjgl.vulkan.video.StdVideoAV1LoopRestoration
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class StdVideoAV1LoopRestoration extends org.lwjgl.system.Struct<StdVideoAV1LoopRestoration> implements org.lwjgl.system.NativeResource

Layout


 struct StdVideoAV1LoopRestoration {
     StdVideoAV1FrameRestorationType FrameRestorationType[STD_VIDEO_AV1_MAX_NUM_PLANES];
     uint16_t LoopRestorationSize[STD_VIDEO_AV1_MAX_NUM_PLANES];
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • FRAMERESTORATIONTYPE

      public static final int FRAMERESTORATIONTYPE
      The struct member offsets.
    • LOOPRESTORATIONSIZE

      public static final int LOOPRESTORATIONSIZE
      The struct member offsets.
  • Constructor Details

    • StdVideoAV1LoopRestoration

      public StdVideoAV1LoopRestoration(ByteBuffer container)
      Creates a StdVideoAV1LoopRestoration instance at the current position of the specified ByteBuffer 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()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<StdVideoAV1LoopRestoration>
    • FrameRestorationType

      public IntBuffer FrameRestorationType()
      Returns:
      a IntBuffer view of the FrameRestorationType field.
    • FrameRestorationType

      public int FrameRestorationType(int index)
      Returns:
      the value at the specified index of the FrameRestorationType field.
    • LoopRestorationSize

      public ShortBuffer LoopRestorationSize()
      Returns:
      a ShortBuffer view of the LoopRestorationSize field.
    • LoopRestorationSize

      public short LoopRestorationSize(int index)
      Returns:
      the value at the specified index of the LoopRestorationSize field.
    • FrameRestorationType

      public StdVideoAV1LoopRestoration FrameRestorationType(IntBuffer value)
      Copies the specified IntBuffer to the FrameRestorationType field.
    • FrameRestorationType

      public StdVideoAV1LoopRestoration FrameRestorationType(int index, int value)
      Sets the specified value at the specified index of the FrameRestorationType field.
    • LoopRestorationSize

      public StdVideoAV1LoopRestoration LoopRestorationSize(ShortBuffer value)
      Copies the specified ShortBuffer to the LoopRestorationSize field.
    • LoopRestorationSize

      public StdVideoAV1LoopRestoration LoopRestorationSize(int index, short value)
      Sets the specified value at the specified index of the LoopRestorationSize 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

      public static StdVideoAV1LoopRestoration malloc()
      Returns a new StdVideoAV1LoopRestoration instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static StdVideoAV1LoopRestoration calloc()
      Returns a new StdVideoAV1LoopRestoration instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static StdVideoAV1LoopRestoration create()
      Returns a new StdVideoAV1LoopRestoration instance allocated with BufferUtils.
    • create

      public static StdVideoAV1LoopRestoration create(long address)
      Returns a new StdVideoAV1LoopRestoration instance for the specified memory address.
    • createSafe

      public static @Nullable StdVideoAV1LoopRestoration createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static StdVideoAV1LoopRestoration.Buffer malloc(int capacity)
      Returns a new StdVideoAV1LoopRestoration.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static StdVideoAV1LoopRestoration.Buffer calloc(int capacity)
      Returns a new StdVideoAV1LoopRestoration.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static StdVideoAV1LoopRestoration.Buffer create(int capacity)
      Returns a new StdVideoAV1LoopRestoration.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static StdVideoAV1LoopRestoration.Buffer create(long address, int capacity)
      Create a StdVideoAV1LoopRestoration.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable StdVideoAV1LoopRestoration.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      public static StdVideoAV1LoopRestoration malloc(org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoAV1LoopRestoration instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static StdVideoAV1LoopRestoration calloc(org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoAV1LoopRestoration instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static StdVideoAV1LoopRestoration.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoAV1LoopRestoration.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static StdVideoAV1LoopRestoration.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoAV1LoopRestoration.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nFrameRestorationType

      public static IntBuffer nFrameRestorationType(long struct)
      Unsafe version of FrameRestorationType().
    • nFrameRestorationType

      public static int nFrameRestorationType(long struct, int index)
      Unsafe version of FrameRestorationType.
    • nLoopRestorationSize

      public static ShortBuffer nLoopRestorationSize(long struct)
      Unsafe version of LoopRestorationSize().
    • nLoopRestorationSize

      public static short nLoopRestorationSize(long struct, int index)
      Unsafe version of LoopRestorationSize.
    • nFrameRestorationType

      public static void nFrameRestorationType(long struct, IntBuffer value)
      Unsafe version of FrameRestorationType.
    • nFrameRestorationType

      public static void nFrameRestorationType(long struct, int index, int value)
      Unsafe version of FrameRestorationType.
    • nLoopRestorationSize

      public static void nLoopRestorationSize(long struct, ShortBuffer value)
      Unsafe version of LoopRestorationSize.
    • nLoopRestorationSize

      public static void nLoopRestorationSize(long struct, int index, short value)
      Unsafe version of LoopRestorationSize.