[FFmpeg-cvslog] r20470 - trunk/libavcodec/mpegaudio_tablegen.h

Reimar Döffinger Reimar.Doeffinger
Sat Nov 7 21:25:12 CET 2009


On Sat, Nov 07, 2009 at 09:10:03PM +0100, michael wrote:
> +    for(exponent=0; exponent<512; exponent++) {
> +        for(value=0; value<16; value++) {
> +            int i= value + 16*exponent;
> +            double f= (double)value * cbrtf(value) * pow(2, (exponent-400)*0.25 + FRAC_BITS + 5);
> +            expval_table[exponent][value]= llrint(f);
> +        }
> +        exp_table[exponent]= expval_table[exponent][1];

*scratches head*
what are you doing with that "i" variable there?



More information about the ffmpeg-cvslog mailing list