Hello,

On Sun, 2007-11-25 at 23:42 +0100, superdump wrote:
> Author: superdump
> Date: Sun Nov 25 23:42:47 2007
> New Revision: 1458
> 
> Log:
> Pitch sharpening

There are some other cases to add but this is the basic implementation.
I'll do the rest as I get to it.

> Modified:
>    amr/amrnbfloatdec.c
> 
> Modified: amr/amrnbfloatdec.c
> ==============================================================================
> --- amr/amrnbfloatdec.c       (original)
> +++ amr/amrnbfloatdec.c       Sun Nov 25 23:42:47 2007
> @@ -807,6 +807,20 @@ static float fixed_gain_prediction(float
>  /*** end of gain decoding functions ***/
>  
> 
> +/*** pre-processing functions ***/
> +
> +static inline float av_clipf(float a, float min, float max) {
> +    if(a>max)
> +        return max;
> +    else if(a<min)
> +        return min;
> +    else
> +        return a;
> +}
> +
> +/*** end of pre-processing functions ***/

I guess this should be added to libavutil, and maybe it can be improved. :)

Rob

_______________________________________________
FFmpeg-soc mailing list
[email protected]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to