diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-15 17:55:51 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-15 17:55:51 +0000 |
commit | 4ee726b67097dcba8435f78235953389dac4e06e (patch) | |
tree | 6e7022f1492d31b9034e16cd15e88b16a41058e5 /libavcodec/costablegen.c | |
parent | 91405541d5c9e5c0d5c16b1d0ce025c3e8943c7d (diff) | |
download | ffmpeg-4ee726b67097dcba8435f78235953389dac4e06e.tar.gz |
Move/add COSTABLE/SINTABLE macros to dsputil to add extern definitions
for ff_cos_* and ff_sin_* without introducing too much code duplication.
Originally committed as revision 20243 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/costablegen.c')
-rw-r--r-- | libavcodec/costablegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/costablegen.c b/libavcodec/costablegen.c index c27d887795..bb02666cf4 100644 --- a/libavcodec/costablegen.c +++ b/libavcodec/costablegen.c @@ -37,7 +37,7 @@ int main(void) for (i = 4; i <= BITS; i++) { int m = 1 << i; double freq = 2*M_PI/m; - printf("const DECLARE_ALIGNED_16(FFTSample, ff_cos_%i[]) = {\n ", m); + printf("COSTABLE(%i) = {\n ", m); for (j = 0; j < m/2 - 1; j++) { int idx = j > m/4 ? m/2 - j : j; printf(" "FLOATFMT",", cos(idx*freq)); |