Class StdVideoAV1LoopFilter.Buffer

All Implemented Interfaces:
Addressable
Enclosing class:
StdVideoAV1LoopFilter

public static final class StdVideoAV1LoopFilter.Buffer extends StdVideoAV1LoopFilter
  • Constructor Details

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates StdVideoAV1LoopFilter.Buffer with the given segment.
      Parameters:
      segment - the memory segment
      elementCount - the element count
  • Method Details

    • estimateCount

      public long estimateCount()
      Description copied from class: GroupType
      Estimates the element count of this group type buffer.
      Overrides:
      estimateCount in class GroupType
      Returns:
      the estimated element count of the group type buffer
    • asSlice

      public StdVideoAV1LoopFilter asSlice(long index)
      Creates a slice of StdVideoAV1LoopFilter.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of StdVideoAV1LoopFilter
    • asSlice

      public StdVideoAV1LoopFilter.Buffer asSlice(long index, long count)
      Creates a slice of StdVideoAV1LoopFilter.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of StdVideoAV1LoopFilter
    • flagsAt

      public MemorySegment flagsAt(long index)
      Returns flags at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      flags at the given index
    • flagsAt

      public StdVideoAV1LoopFilter.Buffer flagsAt(long index, MemorySegment value)
      Sets flags with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • loop_filter_levelAt

      public MemorySegment loop_filter_levelAt(long index)
      Returns loop_filter_level at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      loop_filter_level at the given index
    • loop_filter_levelAt

      public byte loop_filter_levelAt(long index, long index0)
      Returns loop_filter_level at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      loop_filter_level at the given index
    • loop_filter_levelAt

      public StdVideoAV1LoopFilter.Buffer loop_filter_levelAt(long index, MemorySegment value)
      Sets loop_filter_level with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • loop_filter_levelAt

      public StdVideoAV1LoopFilter.Buffer loop_filter_levelAt(long index, long index0, byte value)
      Sets loop_filter_level with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      value - the value
      Returns:
      this
    • loop_filter_sharpnessAt

      public byte loop_filter_sharpnessAt(long index)
      Returns loop_filter_sharpness at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      loop_filter_sharpness at the given index
    • loop_filter_sharpnessAt

      public StdVideoAV1LoopFilter.Buffer loop_filter_sharpnessAt(long index, byte value)
      Sets loop_filter_sharpness with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • update_ref_deltaAt

      public byte update_ref_deltaAt(long index)
      Returns update_ref_delta at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      update_ref_delta at the given index
    • update_ref_deltaAt

      public StdVideoAV1LoopFilter.Buffer update_ref_deltaAt(long index, byte value)
      Sets update_ref_delta with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • loop_filter_ref_deltasAt

      public MemorySegment loop_filter_ref_deltasAt(long index)
      Returns loop_filter_ref_deltas at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      loop_filter_ref_deltas at the given index
    • loop_filter_ref_deltasAt

      public byte loop_filter_ref_deltasAt(long index, long index0)
      Returns loop_filter_ref_deltas at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      loop_filter_ref_deltas at the given index
    • loop_filter_ref_deltasAt

      public StdVideoAV1LoopFilter.Buffer loop_filter_ref_deltasAt(long index, MemorySegment value)
      Sets loop_filter_ref_deltas with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • loop_filter_ref_deltasAt

      public StdVideoAV1LoopFilter.Buffer loop_filter_ref_deltasAt(long index, long index0, byte value)
      Sets loop_filter_ref_deltas with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      value - the value
      Returns:
      this
    • update_mode_deltaAt

      public byte update_mode_deltaAt(long index)
      Returns update_mode_delta at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      update_mode_delta at the given index
    • update_mode_deltaAt

      public StdVideoAV1LoopFilter.Buffer update_mode_deltaAt(long index, byte value)
      Sets update_mode_delta with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • loop_filter_mode_deltasAt

      public MemorySegment loop_filter_mode_deltasAt(long index)
      Returns loop_filter_mode_deltas at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      loop_filter_mode_deltas at the given index
    • loop_filter_mode_deltasAt

      public byte loop_filter_mode_deltasAt(long index, long index0)
      Returns loop_filter_mode_deltas at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      loop_filter_mode_deltas at the given index
    • loop_filter_mode_deltasAt

      public StdVideoAV1LoopFilter.Buffer loop_filter_mode_deltasAt(long index, MemorySegment value)
      Sets loop_filter_mode_deltas with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • loop_filter_mode_deltasAt

      public StdVideoAV1LoopFilter.Buffer loop_filter_mode_deltasAt(long index, long index0, byte value)
      Sets loop_filter_mode_deltas with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      value - the value
      Returns:
      this