Mercurial > libavcodec.hg
diff dsputil.h @ 10400:866dffa620d1 libavcodec
Use hardcoded instead of runtime-calculated ff_cos_* tables if
--enable-hardcoded-tables was used.
Due to the size, the code for the tables is generated at compile time.
author | reimar |
---|---|
date | Wed, 14 Oct 2009 21:41:24 +0000 |
parents | 6009feb54020 |
children | 06bdadf410a9 |
line wrap: on
line diff
--- a/dsputil.h Wed Oct 14 05:28:24 2009 +0000 +++ b/dsputil.h Wed Oct 14 21:41:24 2009 +0000 @@ -742,7 +742,11 @@ #define FF_MDCT_PERM_INTERLEAVE 1 } FFTContext; +#if CONFIG_HARDCODED_TABLES +extern const FFTSample* const ff_cos_tabs[13]; +#else extern FFTSample* const ff_cos_tabs[13]; +#endif /** * Sets up a complex FFT.