Class StdVideoAV1LoopFilter.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new StdVideoAV1LoopFilter.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 StdVideoAV1LoopFilter.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

    • flags

      Returns:
      a StdVideoAV1LoopFilterFlags view of the flags field.
    • loop_filter_level

      public ByteBuffer loop_filter_level()
      Returns:
      a ByteBuffer view of the loop_filter_level field.
    • loop_filter_level

      public byte loop_filter_level(int index)
      Returns:
      the value at the specified index of the loop_filter_level field.
    • loop_filter_sharpness

      public byte loop_filter_sharpness()
      Returns:
      the value of the loop_filter_sharpness field.
    • update_ref_delta

      public byte update_ref_delta()
      Returns:
      the value of the update_ref_delta field.
    • loop_filter_ref_deltas

      public ByteBuffer loop_filter_ref_deltas()
      Returns:
      a ByteBuffer view of the loop_filter_ref_deltas field.
    • loop_filter_ref_deltas

      public byte loop_filter_ref_deltas(int index)
      Returns:
      the value at the specified index of the loop_filter_ref_deltas field.
    • update_mode_delta

      public byte update_mode_delta()
      Returns:
      the value of the update_mode_delta field.
    • loop_filter_mode_deltas

      public ByteBuffer loop_filter_mode_deltas()
      Returns:
      a ByteBuffer view of the loop_filter_mode_deltas field.
    • loop_filter_mode_deltas

      public byte loop_filter_mode_deltas(int index)
      Returns:
      the value at the specified index of the loop_filter_mode_deltas field.
    • flags

      Copies the specified StdVideoAV1LoopFilterFlags to the flags field.
    • flags

      Passes the flags field to the specified Consumer.
    • loop_filter_level

      public StdVideoAV1LoopFilter.Buffer loop_filter_level(ByteBuffer value)
      Copies the specified ByteBuffer to the loop_filter_level field.
    • loop_filter_level

      public StdVideoAV1LoopFilter.Buffer loop_filter_level(int index, byte value)
      Sets the specified value at the specified index of the loop_filter_level field.
    • loop_filter_sharpness

      public StdVideoAV1LoopFilter.Buffer loop_filter_sharpness(byte value)
      Sets the specified value to the loop_filter_sharpness field.
    • update_ref_delta

      public StdVideoAV1LoopFilter.Buffer update_ref_delta(byte value)
      Sets the specified value to the update_ref_delta field.
    • loop_filter_ref_deltas

      public StdVideoAV1LoopFilter.Buffer loop_filter_ref_deltas(ByteBuffer value)
      Copies the specified ByteBuffer to the loop_filter_ref_deltas field.
    • loop_filter_ref_deltas

      public StdVideoAV1LoopFilter.Buffer loop_filter_ref_deltas(int index, byte value)
      Sets the specified value at the specified index of the loop_filter_ref_deltas field.
    • update_mode_delta

      public StdVideoAV1LoopFilter.Buffer update_mode_delta(byte value)
      Sets the specified value to the update_mode_delta field.
    • loop_filter_mode_deltas

      public StdVideoAV1LoopFilter.Buffer loop_filter_mode_deltas(ByteBuffer value)
      Copies the specified ByteBuffer to the loop_filter_mode_deltas field.
    • loop_filter_mode_deltas

      public StdVideoAV1LoopFilter.Buffer loop_filter_mode_deltas(int index, byte value)
      Sets the specified value at the specified index of the loop_filter_mode_deltas field.