Class StdVideoH264ScalingLists.Buffer

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

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

    • Buffer Link icon

      public Buffer(ByteBuffer container)
      Creates a new StdVideoH264ScalingLists.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 StdVideoH264ScalingLists.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer Link icon

      public Buffer(long address, int cap)
  • Method Details Link icon

    • scaling_list_present_mask Link icon

      public short scaling_list_present_mask()
      Returns:
      the value of the scaling_list_present_mask field.
    • use_default_scaling_matrix_mask Link icon

      public short use_default_scaling_matrix_mask()
      Returns:
      the value of the use_default_scaling_matrix_mask field.
    • ScalingList4x4 Link icon

      public ByteBuffer ScalingList4x4()
      Returns:
      a ByteBuffer view of the ScalingList4x4 field.
    • ScalingList4x4 Link icon

      public byte ScalingList4x4(int index)
      Returns:
      the value at the specified index of the ScalingList4x4 field.
    • ScalingList8x8 Link icon

      public ByteBuffer ScalingList8x8()
      Returns:
      a ByteBuffer view of the ScalingList8x8 field.
    • ScalingList8x8 Link icon

      public byte ScalingList8x8(int index)
      Returns:
      the value at the specified index of the ScalingList8x8 field.
    • scaling_list_present_mask Link icon

      public StdVideoH264ScalingLists.Buffer scaling_list_present_mask(short value)
      Sets the specified value to the scaling_list_present_mask field.
    • use_default_scaling_matrix_mask Link icon

      public StdVideoH264ScalingLists.Buffer use_default_scaling_matrix_mask(short value)
      Sets the specified value to the use_default_scaling_matrix_mask field.
    • ScalingList4x4 Link icon

      public StdVideoH264ScalingLists.Buffer ScalingList4x4(ByteBuffer value)
      Copies the specified ByteBuffer to the ScalingList4x4 field.
    • ScalingList4x4 Link icon

      public StdVideoH264ScalingLists.Buffer ScalingList4x4(int index, byte value)
      Sets the specified value at the specified index of the ScalingList4x4 field.
    • ScalingList8x8 Link icon

      public StdVideoH264ScalingLists.Buffer ScalingList8x8(ByteBuffer value)
      Copies the specified ByteBuffer to the ScalingList8x8 field.
    • ScalingList8x8 Link icon

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