[FFmpeg-cvslog] r14701 - trunk/libavcodec/mdct.c
lorenm
subversion
Tue Aug 12 02:34:08 CEST 2008
Author: lorenm
Date: Tue Aug 12 02:34:08 2008
New Revision: 14701
Log:
remove a float->double->float conversion.
1.8x faster imdct_c with fpmath=sse, no change with x87
Modified:
trunk/libavcodec/mdct.c
Modified: trunk/libavcodec/mdct.c
==============================================================================
--- trunk/libavcodec/mdct.c (original)
+++ trunk/libavcodec/mdct.c Tue Aug 12 02:34:08 2008
@@ -92,10 +92,10 @@ int ff_mdct_init(MDCTContext *s, int nbi
/* complex multiplication: p = a * b */
#define CMUL(pre, pim, are, aim, bre, bim) \
{\
- double _are = (are);\
- double _aim = (aim);\
- double _bre = (bre);\
- double _bim = (bim);\
+ FFTSample _are = (are);\
+ FFTSample _aim = (aim);\
+ FFTSample _bre = (bre);\
+ FFTSample _bim = (bim);\
(pre) = _are * _bre - _aim * _bim;\
(pim) = _are * _bim + _aim * _bre;\
}
More information about the ffmpeg-cvslog
mailing list