Class StdVideoH265HrdParameters

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class StdVideoH265HrdParameters
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource

    Layout

    
     struct StdVideoH265HrdParameters {
         uint8_t tick_divisor_minus2;
         uint8_t du_cpb_removal_delay_increment_length_minus1;
         uint8_t dpb_output_delay_du_length_minus1;
         uint8_t bit_rate_scale;
         uint8_t cpb_size_scale;
         uint8_t cpb_size_du_scale;
         uint8_t initial_cpb_removal_delay_length_minus1;
         uint8_t au_cpb_removal_delay_length_minus1;
         uint8_t dpb_output_delay_length_minus1;
         uint8_t cpb_cnt_minus1[STD_VIDEO_H265_SUBLAYERS_MINUS1_LIST_SIZE];
         uint16_t elemental_duration_in_tc_minus1[STD_VIDEO_H265_SUBLAYERS_MINUS1_LIST_SIZE];
         StdVideoH265SubLayerHrdParameters * pSubLayerHrdParametersNal()[STD_VIDEO_H265_SUBLAYERS_MINUS1_LIST_SIZE];
         StdVideoH265SubLayerHrdParameters * pSubLayerHrdParametersVcl()[STD_VIDEO_H265_SUBLAYERS_MINUS1_LIST_SIZE];
         StdVideoH265HrdFlags flags;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TICK_DIVISOR_MINUS2, DU_CPB_REMOVAL_DELAY_INCREMENT_LENGTH_MINUS1, DPB_OUTPUT_DELAY_DU_LENGTH_MINUS1, BIT_RATE_SCALE, CPB_SIZE_SCALE, CPB_SIZE_DU_SCALE, INITIAL_CPB_REMOVAL_DELAY_LENGTH_MINUS1, AU_CPB_REMOVAL_DELAY_LENGTH_MINUS1, DPB_OUTPUT_DELAY_LENGTH_MINUS1, CPB_CNT_MINUS1, ELEMENTAL_DURATION_IN_TC_MINUS1, PSUBLAYERHRDPARAMETERSNAL, PSUBLAYERHRDPARAMETERSVCL, FLAGS

        The struct member offsets.
    • Constructor Detail

      • StdVideoH265HrdParameters

        public StdVideoH265HrdParameters​(java.nio.ByteBuffer container)
        Creates a StdVideoH265HrdParameters instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

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

    • Method Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • tick_divisor_minus2

        public byte tick_divisor_minus2()
        Returns:
        the value of the tick_divisor_minus2 field.
      • du_cpb_removal_delay_increment_length_minus1

        public byte du_cpb_removal_delay_increment_length_minus1()
        Returns:
        the value of the du_cpb_removal_delay_increment_length_minus1 field.
      • dpb_output_delay_du_length_minus1

        public byte dpb_output_delay_du_length_minus1()
        Returns:
        the value of the dpb_output_delay_du_length_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.
      • cpb_size_du_scale

        public byte cpb_size_du_scale()
        Returns:
        the value of the cpb_size_du_scale field.
      • initial_cpb_removal_delay_length_minus1

        public byte initial_cpb_removal_delay_length_minus1()
        Returns:
        the value of the initial_cpb_removal_delay_length_minus1 field.
      • au_cpb_removal_delay_length_minus1

        public byte au_cpb_removal_delay_length_minus1()
        Returns:
        the value of the au_cpb_removal_delay_length_minus1 field.
      • dpb_output_delay_length_minus1

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

        public java.nio.ByteBuffer cpb_cnt_minus1()
        Returns:
        a ByteBuffer view of the cpb_cnt_minus1 field.
      • cpb_cnt_minus1

        public byte cpb_cnt_minus1​(int index)
        Returns:
        the value at the specified index of the cpb_cnt_minus1 field.
      • elemental_duration_in_tc_minus1

        public java.nio.ShortBuffer elemental_duration_in_tc_minus1()
        Returns:
        a ShortBuffer view of the elemental_duration_in_tc_minus1 field.
      • elemental_duration_in_tc_minus1

        public short elemental_duration_in_tc_minus1​(int index)
        Returns:
        the value at the specified index of the elemental_duration_in_tc_minus1 field.
      • pSubLayerHrdParametersNal

        public org.lwjgl.PointerBuffer pSubLayerHrdParametersNal()
        
        public StdVideoH265SubLayerHrdParameters pSubLayerHrdParametersNal​(int index)
        
        NAL per layer ptr to sub_layer_hrd_parameters
      • pSubLayerHrdParametersVcl

        public org.lwjgl.PointerBuffer pSubLayerHrdParametersVcl()
        
        public StdVideoH265SubLayerHrdParameters pSubLayerHrdParametersVcl​(int index)
        
        VCL per layer ptr to sub_layer_hrd_parameters
      • tick_divisor_minus2

        public StdVideoH265HrdParameters tick_divisor_minus2​(byte value)
        Sets the specified value to the tick_divisor_minus2 field.
      • du_cpb_removal_delay_increment_length_minus1

        public StdVideoH265HrdParameters du_cpb_removal_delay_increment_length_minus1​(byte value)
        Sets the specified value to the du_cpb_removal_delay_increment_length_minus1 field.
      • dpb_output_delay_du_length_minus1

        public StdVideoH265HrdParameters dpb_output_delay_du_length_minus1​(byte value)
        Sets the specified value to the dpb_output_delay_du_length_minus1 field.
      • bit_rate_scale

        public StdVideoH265HrdParameters bit_rate_scale​(byte value)
        Sets the specified value to the bit_rate_scale field.
      • cpb_size_scale

        public StdVideoH265HrdParameters cpb_size_scale​(byte value)
        Sets the specified value to the cpb_size_scale field.
      • cpb_size_du_scale

        public StdVideoH265HrdParameters cpb_size_du_scale​(byte value)
        Sets the specified value to the cpb_size_du_scale field.
      • initial_cpb_removal_delay_length_minus1

        public StdVideoH265HrdParameters initial_cpb_removal_delay_length_minus1​(byte value)
        Sets the specified value to the initial_cpb_removal_delay_length_minus1 field.
      • au_cpb_removal_delay_length_minus1

        public StdVideoH265HrdParameters au_cpb_removal_delay_length_minus1​(byte value)
        Sets the specified value to the au_cpb_removal_delay_length_minus1 field.
      • dpb_output_delay_length_minus1

        public StdVideoH265HrdParameters dpb_output_delay_length_minus1​(byte value)
        Sets the specified value to the dpb_output_delay_length_minus1 field.
      • cpb_cnt_minus1

        public StdVideoH265HrdParameters cpb_cnt_minus1​(java.nio.ByteBuffer value)
        Copies the specified ByteBuffer to the cpb_cnt_minus1 field.
      • cpb_cnt_minus1

        public StdVideoH265HrdParameters cpb_cnt_minus1​(int index,
                                                        byte value)
        Sets the specified value at the specified index of the cpb_cnt_minus1 field.
      • elemental_duration_in_tc_minus1

        public StdVideoH265HrdParameters elemental_duration_in_tc_minus1​(java.nio.ShortBuffer value)
        Copies the specified ShortBuffer to the elemental_duration_in_tc_minus1 field.
      • elemental_duration_in_tc_minus1

        public StdVideoH265HrdParameters elemental_duration_in_tc_minus1​(int index,
                                                                         short value)
        Sets the specified value at the specified index of the elemental_duration_in_tc_minus1 field.
      • set

        public StdVideoH265HrdParameters set​(byte tick_divisor_minus2,
                                             byte du_cpb_removal_delay_increment_length_minus1,
                                             byte dpb_output_delay_du_length_minus1,
                                             byte bit_rate_scale,
                                             byte cpb_size_scale,
                                             byte cpb_size_du_scale,
                                             byte initial_cpb_removal_delay_length_minus1,
                                             byte au_cpb_removal_delay_length_minus1,
                                             byte dpb_output_delay_length_minus1,
                                             java.nio.ByteBuffer cpb_cnt_minus1,
                                             java.nio.ShortBuffer elemental_duration_in_tc_minus1,
                                             org.lwjgl.PointerBuffer pSubLayerHrdParametersNal,
                                             org.lwjgl.PointerBuffer pSubLayerHrdParametersVcl,
                                             StdVideoH265HrdFlags flags)
        Initializes this struct with the specified values.
      • malloc

        public static StdVideoH265HrdParameters malloc()
        Returns a new StdVideoH265HrdParameters instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static StdVideoH265HrdParameters calloc()
        Returns a new StdVideoH265HrdParameters instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static StdVideoH265HrdParameters create()
        Returns a new StdVideoH265HrdParameters instance allocated with BufferUtils.
      • create

        public static StdVideoH265HrdParameters create​(long address)
        Returns a new StdVideoH265HrdParameters instance for the specified memory address.
      • malloc

        public static StdVideoH265HrdParameters malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new StdVideoH265HrdParameters instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static StdVideoH265HrdParameters calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new StdVideoH265HrdParameters instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static StdVideoH265HrdParameters.Buffer calloc​(int capacity,
                                                              org.lwjgl.system.MemoryStack stack)
        Returns a new StdVideoH265HrdParameters.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • ntick_divisor_minus2

        public static byte ntick_divisor_minus2​(long struct)
        Unsafe version of tick_divisor_minus2().
      • nbit_rate_scale

        public static byte nbit_rate_scale​(long struct)
        Unsafe version of bit_rate_scale().
      • ncpb_size_scale

        public static byte ncpb_size_scale​(long struct)
        Unsafe version of cpb_size_scale().
      • ncpb_size_du_scale

        public static byte ncpb_size_du_scale​(long struct)
        Unsafe version of cpb_size_du_scale().
      • ncpb_cnt_minus1

        public static java.nio.ByteBuffer ncpb_cnt_minus1​(long struct)
        Unsafe version of cpb_cnt_minus1().
      • ncpb_cnt_minus1

        public static byte ncpb_cnt_minus1​(long struct,
                                           int index)
        Unsafe version of cpb_cnt_minus1.
      • nelemental_duration_in_tc_minus1

        public static java.nio.ShortBuffer nelemental_duration_in_tc_minus1​(long struct)
      • nelemental_duration_in_tc_minus1

        public static short nelemental_duration_in_tc_minus1​(long struct,
                                                             int index)
      • npSubLayerHrdParametersNal

        public static org.lwjgl.PointerBuffer npSubLayerHrdParametersNal​(long struct)
        Unsafe version of pSubLayerHrdParametersNal().
      • npSubLayerHrdParametersVcl

        public static org.lwjgl.PointerBuffer npSubLayerHrdParametersVcl​(long struct)
        Unsafe version of pSubLayerHrdParametersVcl().
      • ntick_divisor_minus2

        public static void ntick_divisor_minus2​(long struct,
                                                byte value)
        Unsafe version of tick_divisor_minus2.
      • ndpb_output_delay_du_length_minus1

        public static void ndpb_output_delay_du_length_minus1​(long struct,
                                                              byte value)
      • nbit_rate_scale

        public static void nbit_rate_scale​(long struct,
                                           byte value)
        Unsafe version of bit_rate_scale.
      • ncpb_size_scale

        public static void ncpb_size_scale​(long struct,
                                           byte value)
        Unsafe version of cpb_size_scale.
      • ncpb_size_du_scale

        public static void ncpb_size_du_scale​(long struct,
                                              byte value)
        Unsafe version of cpb_size_du_scale.
      • nau_cpb_removal_delay_length_minus1

        public static void nau_cpb_removal_delay_length_minus1​(long struct,
                                                               byte value)
      • ndpb_output_delay_length_minus1

        public static void ndpb_output_delay_length_minus1​(long struct,
                                                           byte value)
      • ncpb_cnt_minus1

        public static void ncpb_cnt_minus1​(long struct,
                                           java.nio.ByteBuffer value)
        Unsafe version of cpb_cnt_minus1.
      • ncpb_cnt_minus1

        public static void ncpb_cnt_minus1​(long struct,
                                           int index,
                                           byte value)
        Unsafe version of cpb_cnt_minus1.
      • nelemental_duration_in_tc_minus1

        public static void nelemental_duration_in_tc_minus1​(long struct,
                                                            java.nio.ShortBuffer value)
      • nelemental_duration_in_tc_minus1

        public static void nelemental_duration_in_tc_minus1​(long struct,
                                                            int index,
                                                            short value)
      • npSubLayerHrdParametersNal

        public static void npSubLayerHrdParametersNal​(long struct,
                                                      org.lwjgl.PointerBuffer value)
        Unsafe version of pSubLayerHrdParametersNal.
      • npSubLayerHrdParametersVcl

        public static void npSubLayerHrdParametersVcl​(long struct,
                                                      org.lwjgl.PointerBuffer value)
        Unsafe version of pSubLayerHrdParametersVcl.
      • validate

        public static void validate​(long struct)
        Validates pointer members that should not be NULL.
        Parameters:
        struct - the struct to validate