On Wed, 21 Oct 1998, Laukala Juha wrote:
...
> step = pow(2.0, quantizerStepSize * 0.25);
> dest[counter] = nint(pow(fabs(source[counter]) / step, 0.75) - 0.0946);
...
> This idea can be used for better quality; quantizerStepSize is a double
> value, but with the current implementation the iterations are done with
> integer steps..
Just want to verify this, I replaced the quantizerStepSize double to int
and got no change in the output dfrom the encoder. (the mp3:s encoded was
the same as in the original double, using diff.)
Oh.. and anyone knows why the -0.0946 in the code above? Just curious..
the AAC encoder has this too.. (neither the mp3 or aac standards explains
why..)
/Jan