Class StdVideoAV1CDEF.Buffer

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

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

    • Buffer

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

    • cdef_damping_minus_3

      public byte cdef_damping_minus_3()
      Returns:
      the value of the cdef_damping_minus_3 field.
    • cdef_bits

      public byte cdef_bits()
      Returns:
      the value of the cdef_bits field.
    • cdef_y_pri_strength

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

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

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

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

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

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

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

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

      public StdVideoAV1CDEF.Buffer cdef_damping_minus_3(byte value)
      Sets the specified value to the cdef_damping_minus_3 field.
    • cdef_bits

      public StdVideoAV1CDEF.Buffer cdef_bits(byte value)
      Sets the specified value to the cdef_bits field.
    • cdef_y_pri_strength

      public StdVideoAV1CDEF.Buffer cdef_y_pri_strength(ByteBuffer value)
      Copies the specified ByteBuffer to the cdef_y_pri_strength field.
    • cdef_y_pri_strength

      public StdVideoAV1CDEF.Buffer cdef_y_pri_strength(int index, byte value)
      Sets the specified value at the specified index of the cdef_y_pri_strength field.
    • cdef_y_sec_strength

      public StdVideoAV1CDEF.Buffer cdef_y_sec_strength(ByteBuffer value)
      Copies the specified ByteBuffer to the cdef_y_sec_strength field.
    • cdef_y_sec_strength

      public StdVideoAV1CDEF.Buffer cdef_y_sec_strength(int index, byte value)
      Sets the specified value at the specified index of the cdef_y_sec_strength field.
    • cdef_uv_pri_strength

      public StdVideoAV1CDEF.Buffer cdef_uv_pri_strength(ByteBuffer value)
      Copies the specified ByteBuffer to the cdef_uv_pri_strength field.
    • cdef_uv_pri_strength

      public StdVideoAV1CDEF.Buffer cdef_uv_pri_strength(int index, byte value)
      Sets the specified value at the specified index of the cdef_uv_pri_strength field.
    • cdef_uv_sec_strength

      public StdVideoAV1CDEF.Buffer cdef_uv_sec_strength(ByteBuffer value)
      Copies the specified ByteBuffer to the cdef_uv_sec_strength field.
    • cdef_uv_sec_strength

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