Class StdVideoAV1LoopRestoration.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<StdVideoAV1LoopRestoration>, NativeResource, Pointer
Enclosing class:
StdVideoAV1LoopRestoration

public static class StdVideoAV1LoopRestoration.Buffer extends StructBuffer<StdVideoAV1LoopRestoration,StdVideoAV1LoopRestoration.Buffer> implements NativeResource
An array of StdVideoAV1LoopRestoration structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new StdVideoAV1LoopRestoration.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by StdVideoAV1LoopRestoration.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • 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.Buffer FrameRestorationType(IntBuffer value)
      Copies the specified IntBuffer to the FrameRestorationType field.
    • FrameRestorationType

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

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

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