Convert floating-point MDCT coefficients to 24-bit fixed-point all at once
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 5 Jan 2011 20:35:36 +0000 (20:35 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Wed, 5 Jan 2011 20:35:36 +0000 (20:35 +0000)
commitac05f9030ed4baae317071d0321c91afabaf1080
tree89e2030d2568763b382a1a27756bb6c8134d6926
parent87c1410d11c34670ab2bec1ee97fc18354aa3c8d
Convert floating-point MDCT coefficients to 24-bit fixed-point all at once
instead of doing it separately in 2 different functions.
This makes float AC-3 encoding approx. 3-7% faster overall.
Also, the coefficient conversion can now be easily SIMD-optimized.

Originally committed as revision 26232 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3enc.c
libavcodec/ac3enc_fixed.c
libavcodec/ac3enc_fixed.h
libavcodec/ac3enc_float.c
libavcodec/ac3enc_float.h