Class StdVideoEncodeH265WeightTable.Buffer

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

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

    • Buffer

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

      public byte luma_log2_weight_denom()
      Returns:
      the value of the luma_log2_weight_denom field.
    • delta_chroma_log2_weight_denom

      public byte delta_chroma_log2_weight_denom()
      Returns:
      the value of the delta_chroma_log2_weight_denom field.
    • delta_luma_weight_l0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      Copies the specified StdVideoEncodeH265WeightTableFlags to the flags field.
    • flags

      Passes the flags field to the specified Consumer.
    • luma_log2_weight_denom

      public StdVideoEncodeH265WeightTable.Buffer luma_log2_weight_denom(byte value)
      Sets the specified value to the luma_log2_weight_denom field.
    • delta_chroma_log2_weight_denom

      public StdVideoEncodeH265WeightTable.Buffer delta_chroma_log2_weight_denom(byte value)
      Sets the specified value to the delta_chroma_log2_weight_denom field.
    • delta_luma_weight_l0

      public StdVideoEncodeH265WeightTable.Buffer delta_luma_weight_l0(ByteBuffer value)
      Copies the specified ByteBuffer to the delta_luma_weight_l0 field.
    • delta_luma_weight_l0

      public StdVideoEncodeH265WeightTable.Buffer delta_luma_weight_l0(int index, byte value)
      Sets the specified value at the specified index of the delta_luma_weight_l0 field.
    • luma_offset_l0

      public StdVideoEncodeH265WeightTable.Buffer luma_offset_l0(ByteBuffer value)
      Copies the specified ByteBuffer to the luma_offset_l0 field.
    • luma_offset_l0

      public StdVideoEncodeH265WeightTable.Buffer luma_offset_l0(int index, byte value)
      Sets the specified value at the specified index of the luma_offset_l0 field.
    • delta_chroma_weight_l0

      public StdVideoEncodeH265WeightTable.Buffer delta_chroma_weight_l0(ByteBuffer value)
      Copies the specified ByteBuffer to the delta_chroma_weight_l0 field.
    • delta_chroma_weight_l0

      public StdVideoEncodeH265WeightTable.Buffer delta_chroma_weight_l0(int index, byte value)
      Sets the specified value at the specified index of the delta_chroma_weight_l0 field.
    • delta_chroma_offset_l0

      public StdVideoEncodeH265WeightTable.Buffer delta_chroma_offset_l0(ByteBuffer value)
      Copies the specified ByteBuffer to the delta_chroma_offset_l0 field.
    • delta_chroma_offset_l0

      public StdVideoEncodeH265WeightTable.Buffer delta_chroma_offset_l0(int index, byte value)
      Sets the specified value at the specified index of the delta_chroma_offset_l0 field.
    • delta_luma_weight_l1

      public StdVideoEncodeH265WeightTable.Buffer delta_luma_weight_l1(ByteBuffer value)
      Copies the specified ByteBuffer to the delta_luma_weight_l1 field.
    • delta_luma_weight_l1

      public StdVideoEncodeH265WeightTable.Buffer delta_luma_weight_l1(int index, byte value)
      Sets the specified value at the specified index of the delta_luma_weight_l1 field.
    • luma_offset_l1

      public StdVideoEncodeH265WeightTable.Buffer luma_offset_l1(ByteBuffer value)
      Copies the specified ByteBuffer to the luma_offset_l1 field.
    • luma_offset_l1

      public StdVideoEncodeH265WeightTable.Buffer luma_offset_l1(int index, byte value)
      Sets the specified value at the specified index of the luma_offset_l1 field.
    • delta_chroma_weight_l1

      public StdVideoEncodeH265WeightTable.Buffer delta_chroma_weight_l1(ByteBuffer value)
      Copies the specified ByteBuffer to the delta_chroma_weight_l1 field.
    • delta_chroma_weight_l1

      public StdVideoEncodeH265WeightTable.Buffer delta_chroma_weight_l1(int index, byte value)
      Sets the specified value at the specified index of the delta_chroma_weight_l1 field.
    • delta_chroma_offset_l1

      public StdVideoEncodeH265WeightTable.Buffer delta_chroma_offset_l1(ByteBuffer value)
      Copies the specified ByteBuffer to the delta_chroma_offset_l1 field.
    • delta_chroma_offset_l1

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