[FFmpeg-devel] [PATCH 03/12] Add vector_clipf_interleave() function to dsputil

Diego Biurrun diego
Sun Sep 27 13:37:22 CEST 2009


On Sun, Sep 27, 2009 at 11:49:19AM +0100, Mans Rullgard wrote:
> 
> --- a/libavcodec/dsputil.c
> +++ b/libavcodec/dsputil.c
> @@ -4229,6 +4229,50 @@ static void vector_clipf_c(float *dst, const float *src, float min, float max, i
>  
> +    uint32_t maxisign = maxi ^ (1<<31);

I find spaces around << more readable..

> +        for(i = 0; i < len; i++){

for (

> +    } else if (channels == 2) {
> +        for(i = 0; i < len; i++){

ditto

Diego



More information about the ffmpeg-devel mailing list