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/rdft.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/rdft.c')
-rw-r--r-- | libavcodec/rdft.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libavcodec/rdft.c b/libavcodec/rdft.c index ed4e39aa08..5d3a07c146 100644 --- a/libavcodec/rdft.c +++ b/libavcodec/rdft.c @@ -27,19 +27,19 @@ */ /* sin(2*pi*x/n) for 0<=x<n/4, followed by n/2<=x<3n/4 */ -DECLARE_ALIGNED_16(FFTSample, ff_sin_16[8]); -DECLARE_ALIGNED_16(FFTSample, ff_sin_32[16]); -DECLARE_ALIGNED_16(FFTSample, ff_sin_64[32]); -DECLARE_ALIGNED_16(FFTSample, ff_sin_128[64]); -DECLARE_ALIGNED_16(FFTSample, ff_sin_256[128]); -DECLARE_ALIGNED_16(FFTSample, ff_sin_512[256]); -DECLARE_ALIGNED_16(FFTSample, ff_sin_1024[512]); -DECLARE_ALIGNED_16(FFTSample, ff_sin_2048[1024]); -DECLARE_ALIGNED_16(FFTSample, ff_sin_4096[2048]); -DECLARE_ALIGNED_16(FFTSample, ff_sin_8192[4096]); -DECLARE_ALIGNED_16(FFTSample, ff_sin_16384[8192]); -DECLARE_ALIGNED_16(FFTSample, ff_sin_32768[16384]); -DECLARE_ALIGNED_16(FFTSample, ff_sin_65536[32768]); +SINTABLE(16); +SINTABLE(32); +SINTABLE(64); +SINTABLE(128); +SINTABLE(256); +SINTABLE(512); +SINTABLE(1024); +SINTABLE(2048); +SINTABLE(4096); +SINTABLE(8192); +SINTABLE(16384); +SINTABLE(32768); +SINTABLE(65536); FFTSample * const ff_sin_tabs[] = { ff_sin_16, ff_sin_32, ff_sin_64, ff_sin_128, ff_sin_256, ff_sin_512, ff_sin_1024, ff_sin_2048, ff_sin_4096, ff_sin_8192, ff_sin_16384, ff_sin_32768, ff_sin_65536, |