OSDN Git Service

ac3enc: shift coefficients to 24-bit following MDCT rather than using an exponent...
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 8 Mar 2011 18:18:56 +0000 (13:18 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 8 Mar 2011 18:44:36 +0000 (19:44 +0100)
commit7e0a284b9f1967d46603711e85e0be01e084eadf
treecb88cd32531dec53cfdd6203cbc94944a22fec45
parent67fc32ac6197a7fe265795d0bf60bf704464394e
ac3enc: shift coefficients to 24-bit following MDCT rather than using an exponent offset.

This makes channel coupling more accurate, increasing quality for stereo
content.  It also simplifies exponent extraction and mantissa quantization
by no longer needing to apply an offset to the exponents.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ac3enc.c
libavcodec/ac3enc_fixed.c
tests/ref/acodec/ac3_fixed