summaryrefslogtreecommitdiff
path: root/libavcodec/fft-test.c
diff options
context:
space:
mode:
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>2009-05-16 14:17:08 +0000
committerSiarhei Siamashka <siarhei.siamashka@gmail.com>2009-05-16 14:17:08 +0000
commit7d485f165f7f6313002da1fe67c2742f0fbb16c9 (patch)
tree87e68249904f3c5bc7dcfc05df2eea10fd318ea2 /libavcodec/fft-test.c
parent3ac56e28b0a3fc84ccac9ac7e359f0f29567f8a0 (diff)
downloadffmpeg-7d485f165f7f6313002da1fe67c2742f0fbb16c9.tar.gz
Support for getting (i)MDCT output multiplied by a constant scaling factor.
Scaling (i)MDCT output has no runtime overhead and can be used to improve performance of audio codecs. All the changes are only needed in 'ff_mdct_init' function and slow down initialization a bit. Originally committed as revision 18855 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/fft-test.c')
-rw-r--r--libavcodec/fft-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c
index 1cefa3202f..a1e436c11c 100644
--- a/libavcodec/fft-test.c
+++ b/libavcodec/fft-test.c
@@ -223,7 +223,7 @@ int main(int argc, char **argv)
av_log(NULL, AV_LOG_INFO,"IMDCT");
else
av_log(NULL, AV_LOG_INFO,"MDCT");
- ff_mdct_init(m, fft_nbits, do_inverse);
+ ff_mdct_init(m, fft_nbits, do_inverse, 1.0);
} else {
if (do_inverse)
av_log(NULL, AV_LOG_INFO,"IFFT");