[FFmpeg-devel] [PATCH 2/3] ac3enc: shift coefficients to 24-bit following MDCT rather than using an exponent offset.

Måns Rullgård mans
Wed Mar 9 22:48:47 CET 2011


Justin Ruggles <justin.ruggles at gmail.com> writes:

> 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.
> ---
>  libavcodec/ac3enc.c        |   13 ++++++-------
>  libavcodec/ac3enc_fixed.c  |   42 ++++++++++++++++++++++++++++++++++--------
>  tests/ref/acodec/ac3_fixed |    2 +-
>  3 files changed, 41 insertions(+), 16 deletions(-)

Looks OK.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list