Class StdVideoEncodeH264SliceHeader.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new StdVideoEncodeH264SliceHeader.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 StdVideoEncodeH264SliceHeader.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 Detail

      • first_mb_in_slice

        public int first_mb_in_slice()
        Returns:
        the value of the first_mb_in_slice field.
      • slice_type

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

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

        public byte pic_parameter_set_id()
        Returns:
        the value of the pic_parameter_set_id field.
      • idr_pic_id

        public short idr_pic_id()
        Returns:
        the value of the idr_pic_id field.
      • num_ref_idx_l0_active_minus1

        public byte num_ref_idx_l0_active_minus1()
        Returns:
        the value of the num_ref_idx_l0_active_minus1 field.
      • num_ref_idx_l1_active_minus1

        public byte num_ref_idx_l1_active_minus1()
        Returns:
        the value of the num_ref_idx_l1_active_minus1 field.
      • cabac_init_idc

        public int cabac_init_idc()
        Returns:
        the value of the cabac_init_idc field.
      • disable_deblocking_filter_idc

        public int disable_deblocking_filter_idc()
        Returns:
        the value of the disable_deblocking_filter_idc field.
      • slice_alpha_c0_offset_div2

        public byte slice_alpha_c0_offset_div2()
        Returns:
        the value of the slice_alpha_c0_offset_div2 field.
      • slice_beta_offset_div2

        public byte slice_beta_offset_div2()
        Returns:
        the value of the slice_beta_offset_div2 field.
      • num_ref_idx_l0_active_minus1

        public StdVideoEncodeH264SliceHeader.Buffer num_ref_idx_l0_active_minus1​(byte value)
        Sets the specified value to the num_ref_idx_l0_active_minus1 field.
      • num_ref_idx_l1_active_minus1

        public StdVideoEncodeH264SliceHeader.Buffer num_ref_idx_l1_active_minus1​(byte value)
        Sets the specified value to the num_ref_idx_l1_active_minus1 field.
      • disable_deblocking_filter_idc

        public StdVideoEncodeH264SliceHeader.Buffer disable_deblocking_filter_idc​(int value)
        Sets the specified value to the disable_deblocking_filter_idc field.
      • slice_alpha_c0_offset_div2

        public StdVideoEncodeH264SliceHeader.Buffer slice_alpha_c0_offset_div2​(byte value)
        Sets the specified value to the slice_alpha_c0_offset_div2 field.