Class StdVideoH264HrdParameters.Buffer

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

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

    • Buffer

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

    • cpb_cnt_minus1

      public byte cpb_cnt_minus1()
      Returns:
      the value of the cpb_cnt_minus1 field.
    • bit_rate_scale

      public byte bit_rate_scale()
      Returns:
      the value of the bit_rate_scale field.
    • cpb_size_scale

      public byte cpb_size_scale()
      Returns:
      the value of the cpb_size_scale field.
    • bit_rate_value_minus1

      public IntBuffer bit_rate_value_minus1()
      Returns:
      a IntBuffer view of the bit_rate_value_minus1 field.
    • bit_rate_value_minus1

      public int bit_rate_value_minus1(int index)
      Returns:
      the value at the specified index of the bit_rate_value_minus1 field.
    • cpb_size_value_minus1

      public IntBuffer cpb_size_value_minus1()
      Returns:
      a IntBuffer view of the cpb_size_value_minus1 field.
    • cpb_size_value_minus1

      public int cpb_size_value_minus1(int index)
      Returns:
      the value at the specified index of the cpb_size_value_minus1 field.
    • cbr_flag

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

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

      public int initial_cpb_removal_delay_length_minus1()
      Returns:
      the value of the initial_cpb_removal_delay_length_minus1 field.
    • cpb_removal_delay_length_minus1

      public int cpb_removal_delay_length_minus1()
      Returns:
      the value of the cpb_removal_delay_length_minus1 field.
    • dpb_output_delay_length_minus1

      public int dpb_output_delay_length_minus1()
      Returns:
      the value of the dpb_output_delay_length_minus1 field.
    • time_offset_length

      public int time_offset_length()
      Returns:
      the value of the time_offset_length field.
    • cpb_cnt_minus1

      public StdVideoH264HrdParameters.Buffer cpb_cnt_minus1(byte value)
      Sets the specified value to the cpb_cnt_minus1 field.
    • bit_rate_scale

      public StdVideoH264HrdParameters.Buffer bit_rate_scale(byte value)
      Sets the specified value to the bit_rate_scale field.
    • cpb_size_scale

      public StdVideoH264HrdParameters.Buffer cpb_size_scale(byte value)
      Sets the specified value to the cpb_size_scale field.
    • bit_rate_value_minus1

      public StdVideoH264HrdParameters.Buffer bit_rate_value_minus1(IntBuffer value)
      Copies the specified IntBuffer to the bit_rate_value_minus1 field.
    • bit_rate_value_minus1

      public StdVideoH264HrdParameters.Buffer bit_rate_value_minus1(int index, int value)
      Sets the specified value at the specified index of the bit_rate_value_minus1 field.
    • cpb_size_value_minus1

      public StdVideoH264HrdParameters.Buffer cpb_size_value_minus1(IntBuffer value)
      Copies the specified IntBuffer to the cpb_size_value_minus1 field.
    • cpb_size_value_minus1

      public StdVideoH264HrdParameters.Buffer cpb_size_value_minus1(int index, int value)
      Sets the specified value at the specified index of the cpb_size_value_minus1 field.
    • cbr_flag

      Copies the specified ByteBuffer to the cbr_flag field.
    • cbr_flag

      public StdVideoH264HrdParameters.Buffer cbr_flag(int index, byte value)
      Sets the specified value at the specified index of the cbr_flag field.
    • initial_cpb_removal_delay_length_minus1

      public StdVideoH264HrdParameters.Buffer initial_cpb_removal_delay_length_minus1(int value)
      Sets the specified value to the initial_cpb_removal_delay_length_minus1 field.
    • cpb_removal_delay_length_minus1

      public StdVideoH264HrdParameters.Buffer cpb_removal_delay_length_minus1(int value)
      Sets the specified value to the cpb_removal_delay_length_minus1 field.
    • dpb_output_delay_length_minus1

      public StdVideoH264HrdParameters.Buffer dpb_output_delay_length_minus1(int value)
      Sets the specified value to the dpb_output_delay_length_minus1 field.
    • time_offset_length

      public StdVideoH264HrdParameters.Buffer time_offset_length(int value)
      Sets the specified value to the time_offset_length field.