diff atrac3.c @ 9658:67a20f0eb42c libavcodec

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.
author serge
date Sat, 16 May 2009 14:17:08 +0000
parents 0dce4fe6e6f3
children c80df3181479
line wrap: on
line diff
--- a/atrac3.c	Sat May 16 06:39:08 2009 +0000
+++ b/atrac3.c	Sat May 16 14:17:08 2009 +0000
@@ -268,7 +268,7 @@
     }
 
     /* Initialize the MDCT transform. */
-    ff_mdct_init(&mdct_ctx, 9, 1);
+    ff_mdct_init(&mdct_ctx, 9, 1, 1.0);
 }
 
 /**