Class StdVideoVP9LoopFilter.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new StdVideoVP9LoopFilter.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 StdVideoVP9LoopFilter.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 StdVideoVP9LoopFilterFlags view of the flags field.
    • loop_filter_level

      public byte loop_filter_level()
      Returns:
      the value 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 StdVideoVP9LoopFilterFlags to the flags field.
    • flags

      Passes the flags field to the specified Consumer.
    • loop_filter_level

      public StdVideoVP9LoopFilter.Buffer loop_filter_level(byte value)
      Sets the specified value to the loop_filter_level field.
    • loop_filter_sharpness

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

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

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

      public StdVideoVP9LoopFilter.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 StdVideoVP9LoopFilter.Buffer update_mode_delta(byte value)
      Sets the specified value to the update_mode_delta field.
    • loop_filter_mode_deltas

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

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