Class StdVideoAV1CDEF.Buffer

All Implemented Interfaces:
Addressable
Enclosing class:
StdVideoAV1CDEF

public static final class StdVideoAV1CDEF.Buffer extends StdVideoAV1CDEF
A buffer of StdVideoAV1CDEF.
  • Constructor Details

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates StdVideoAV1CDEF.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 StdVideoAV1CDEF asSlice(long index)
      Creates a slice of StdVideoAV1CDEF.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of StdVideoAV1CDEF
    • asSlice

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

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

      public StdVideoAV1CDEF.Buffer cdef_damping_minus_3At(long index, byte value)
      Sets cdef_damping_minus_3 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • cdef_bitsAt

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

      public StdVideoAV1CDEF.Buffer cdef_bitsAt(long index, byte value)
      Sets cdef_bits with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • cdef_y_pri_strengthAt

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

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

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

      public StdVideoAV1CDEF.Buffer cdef_y_pri_strengthAt(long index, long index0, byte value)
      Sets cdef_y_pri_strength 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
    • cdef_y_sec_strengthAt

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

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

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

      public StdVideoAV1CDEF.Buffer cdef_y_sec_strengthAt(long index, long index0, byte value)
      Sets cdef_y_sec_strength 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
    • cdef_uv_pri_strengthAt

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

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

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

      public StdVideoAV1CDEF.Buffer cdef_uv_pri_strengthAt(long index, long index0, byte value)
      Sets cdef_uv_pri_strength 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
    • cdef_uv_sec_strengthAt

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

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

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

      public StdVideoAV1CDEF.Buffer cdef_uv_sec_strengthAt(long index, long index0, byte value)
      Sets cdef_uv_sec_strength 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