Mercurial > libavcodec.hg
diff mdct.c @ 10161:a349795e8dca libavcodec
Prepare for optimised forward MDCT implementations
This adds a function pointer for forward MDCT to FFTContext and
initialises it with the existing C function. ff_calc_mdct() is
changed to an inline function calling the selected version as
done for other fft/mdct functions.
author | mru |
---|---|
date | Fri, 11 Sep 2009 02:24:19 +0000 |
parents | 50ec8930f99e |
children | 89cd870ca180 |
line wrap: on
line diff
--- a/mdct.c Fri Sep 11 02:01:18 2009 +0000 +++ b/mdct.c Fri Sep 11 02:24:19 2009 +0000 @@ -180,7 +180,7 @@ * @param input N samples * @param out N/2 samples */ -void ff_mdct_calc(MDCTContext *s, FFTSample *out, const FFTSample *input) +void ff_mdct_calc_c(MDCTContext *s, FFTSample *out, const FFTSample *input) { int i, j, n, n8, n4, n2, n3; FFTSample re, im;