imagingmodules/jp2kcodec/Inc/JP2KUtils.h
changeset 10 ac33adcbae0f
parent 0 469c91dae73b
equal deleted inserted replaced
0:469c91dae73b 10:ac33adcbae0f
    62         * @since 2.6
    62         * @since 2.6
    63         * @param aL: first integer to compute.
    63         * @param aL: first integer to compute.
    64         * @param aR: second integer to compute.
    64         * @param aR: second integer to compute.
    65         * @return TInt32: the ceiling between two integers aL and aR.
    65         * @return TInt32: the ceiling between two integers aL and aR.
    66         */
    66         */
    67         static TInt32 Ceil( TInt32 aL, TInt32 aR );
    67         static TInt32 CeilL( TInt32 aL, TInt32 aR );
    68 
    68 
    69         /**
    69         /**
    70         * Get the floor between two integers
    70         * Get the floor between two integers
    71         * @since 2.6
    71         * @since 2.6
    72         * @param aL: first integer to compute.
    72         * @param aL: first integer to compute.
    73         * @param aR: second integer to compute.
    73         * @param aR: second integer to compute.
    74         * @return TInt32: the floor between two integers aL and aR.
    74         * @return TInt32: the floor between two integers aL and aR.
    75         */
    75         */
    76         static TInt32 Floor( TInt32 aL, TInt32 aR );
    76         static TInt32 FloorL( TInt32 aL, TInt32 aR );
    77 
    77 
    78         /**
    78         /**
    79         * Get the quotient and remainder
    79         * Get the quotient and remainder
    80         * @since 2.6
    80         * @since 2.6
    81         * @param aNum: first integer to compute.
    81         * @param aNum: first integer to compute.
    82         * @param aDenom: divisor integer.
    82         * @param aDenom: divisor integer.
    83         * @return TDiv: the structure contains the quotient and remainder.
    83         * @return TDiv: the structure contains the quotient and remainder.
    84         */
    84         */
    85         static TDiv Div( TInt aNum, TInt aDenom );
    85         static TDiv DivL( TInt aNum, TInt aDenom );
    86 
    86 
    87         /**
    87         /**
    88         * Get the log2 value of an integer
    88         * Get the log2 value of an integer
    89         * @since 2.6
    89         * @since 2.6
    90         * @param aI: an integer to compute.
    90         * @param aI: an integer to compute.