Class StdVideoH264SequenceParameterSet.Buffer

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

public static class StdVideoH264SequenceParameterSet.Buffer extends StructBuffer<StdVideoH264SequenceParameterSet,StdVideoH264SequenceParameterSet.Buffer> implements NativeResource
  • Constructor Details

    • Buffer

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

      public StdVideoH264SpsFlags flags()
      Returns:
      a StdVideoH264SpsFlags view of the flags field.
    • profile_idc

      public int profile_idc()
      Returns:
      the value of the profile_idc field.
    • level_idc

      public int level_idc()
      Returns:
      the value of the level_idc field.
    • chroma_format_idc

      public int chroma_format_idc()
      Returns:
      the value of the chroma_format_idc field.
    • seq_parameter_set_id

      public byte seq_parameter_set_id()
      Returns:
      the value of the seq_parameter_set_id field.
    • bit_depth_luma_minus8

      public byte bit_depth_luma_minus8()
      Returns:
      the value of the bit_depth_luma_minus8 field.
    • bit_depth_chroma_minus8

      public byte bit_depth_chroma_minus8()
      Returns:
      the value of the bit_depth_chroma_minus8 field.
    • log2_max_frame_num_minus4

      public byte log2_max_frame_num_minus4()
      Returns:
      the value of the log2_max_frame_num_minus4 field.
    • pic_order_cnt_type

      public int pic_order_cnt_type()
      Returns:
      the value of the pic_order_cnt_type field.
    • offset_for_non_ref_pic

      public int offset_for_non_ref_pic()
      Returns:
      the value of the offset_for_non_ref_pic field.
    • offset_for_top_to_bottom_field

      public int offset_for_top_to_bottom_field()
      Returns:
      the value of the offset_for_top_to_bottom_field field.
    • log2_max_pic_order_cnt_lsb_minus4

      public byte log2_max_pic_order_cnt_lsb_minus4()
      Returns:
      the value of the log2_max_pic_order_cnt_lsb_minus4 field.
    • num_ref_frames_in_pic_order_cnt_cycle

      public byte num_ref_frames_in_pic_order_cnt_cycle()
      Returns:
      the value of the num_ref_frames_in_pic_order_cnt_cycle field.
    • max_num_ref_frames

      public byte max_num_ref_frames()
      Returns:
      the value of the max_num_ref_frames field.
    • pic_width_in_mbs_minus1

      public int pic_width_in_mbs_minus1()
      Returns:
      the value of the pic_width_in_mbs_minus1 field.
    • pic_height_in_map_units_minus1

      public int pic_height_in_map_units_minus1()
      Returns:
      the value of the pic_height_in_map_units_minus1 field.
    • frame_crop_left_offset

      public int frame_crop_left_offset()
      Returns:
      the value of the frame_crop_left_offset field.
    • frame_crop_right_offset

      public int frame_crop_right_offset()
      Returns:
      the value of the frame_crop_right_offset field.
    • frame_crop_top_offset

      public int frame_crop_top_offset()
      Returns:
      the value of the frame_crop_top_offset field.
    • frame_crop_bottom_offset

      public int frame_crop_bottom_offset()
      Returns:
      the value of the frame_crop_bottom_offset field.
    • pOffsetForRefFrame

      public @Nullable IntBuffer pOffsetForRefFrame()
      Returns:
      a IntBuffer view of the data pointed to by the pOffsetForRefFrame field.
    • pScalingLists

      public StdVideoH264ScalingLists pScalingLists()
      Returns:
      a StdVideoH264ScalingLists view of the struct pointed to by the pScalingLists field.
    • pSequenceParameterSetVui

      public StdVideoH264SequenceParameterSetVui pSequenceParameterSetVui()
      Returns:
      a StdVideoH264SequenceParameterSetVui view of the struct pointed to by the pSequenceParameterSetVui field.
    • flags

      Copies the specified StdVideoH264SpsFlags to the flags field.
    • flags

      Passes the flags field to the specified Consumer.
    • profile_idc

      public StdVideoH264SequenceParameterSet.Buffer profile_idc(int value)
      Sets the specified value to the profile_idc field.
    • level_idc

      public StdVideoH264SequenceParameterSet.Buffer level_idc(int value)
      Sets the specified value to the level_idc field.
    • chroma_format_idc

      public StdVideoH264SequenceParameterSet.Buffer chroma_format_idc(int value)
      Sets the specified value to the chroma_format_idc field.
    • seq_parameter_set_id

      public StdVideoH264SequenceParameterSet.Buffer seq_parameter_set_id(byte value)
      Sets the specified value to the seq_parameter_set_id field.
    • bit_depth_luma_minus8

      public StdVideoH264SequenceParameterSet.Buffer bit_depth_luma_minus8(byte value)
      Sets the specified value to the bit_depth_luma_minus8 field.
    • bit_depth_chroma_minus8

      public StdVideoH264SequenceParameterSet.Buffer bit_depth_chroma_minus8(byte value)
      Sets the specified value to the bit_depth_chroma_minus8 field.
    • log2_max_frame_num_minus4

      public StdVideoH264SequenceParameterSet.Buffer log2_max_frame_num_minus4(byte value)
      Sets the specified value to the log2_max_frame_num_minus4 field.
    • pic_order_cnt_type

      public StdVideoH264SequenceParameterSet.Buffer pic_order_cnt_type(int value)
      Sets the specified value to the pic_order_cnt_type field.
    • offset_for_non_ref_pic

      public StdVideoH264SequenceParameterSet.Buffer offset_for_non_ref_pic(int value)
      Sets the specified value to the offset_for_non_ref_pic field.
    • offset_for_top_to_bottom_field

      public StdVideoH264SequenceParameterSet.Buffer offset_for_top_to_bottom_field(int value)
      Sets the specified value to the offset_for_top_to_bottom_field field.
    • log2_max_pic_order_cnt_lsb_minus4

      public StdVideoH264SequenceParameterSet.Buffer log2_max_pic_order_cnt_lsb_minus4(byte value)
      Sets the specified value to the log2_max_pic_order_cnt_lsb_minus4 field.
    • num_ref_frames_in_pic_order_cnt_cycle

      public StdVideoH264SequenceParameterSet.Buffer num_ref_frames_in_pic_order_cnt_cycle(byte value)
      Sets the specified value to the num_ref_frames_in_pic_order_cnt_cycle field.
    • max_num_ref_frames

      public StdVideoH264SequenceParameterSet.Buffer max_num_ref_frames(byte value)
      Sets the specified value to the max_num_ref_frames field.
    • pic_width_in_mbs_minus1

      public StdVideoH264SequenceParameterSet.Buffer pic_width_in_mbs_minus1(int value)
      Sets the specified value to the pic_width_in_mbs_minus1 field.
    • pic_height_in_map_units_minus1

      public StdVideoH264SequenceParameterSet.Buffer pic_height_in_map_units_minus1(int value)
      Sets the specified value to the pic_height_in_map_units_minus1 field.
    • frame_crop_left_offset

      public StdVideoH264SequenceParameterSet.Buffer frame_crop_left_offset(int value)
      Sets the specified value to the frame_crop_left_offset field.
    • frame_crop_right_offset

      public StdVideoH264SequenceParameterSet.Buffer frame_crop_right_offset(int value)
      Sets the specified value to the frame_crop_right_offset field.
    • frame_crop_top_offset

      public StdVideoH264SequenceParameterSet.Buffer frame_crop_top_offset(int value)
      Sets the specified value to the frame_crop_top_offset field.
    • frame_crop_bottom_offset

      public StdVideoH264SequenceParameterSet.Buffer frame_crop_bottom_offset(int value)
      Sets the specified value to the frame_crop_bottom_offset field.
    • pOffsetForRefFrame

      public StdVideoH264SequenceParameterSet.Buffer pOffsetForRefFrame(@Nullable IntBuffer value)
      Sets the address of the specified IntBuffer to the pOffsetForRefFrame field.
    • pScalingLists

      Sets the address of the specified StdVideoH264ScalingLists to the pScalingLists field.
    • pSequenceParameterSetVui

      Sets the address of the specified StdVideoH264SequenceParameterSetVui to the pSequenceParameterSetVui field.