diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2011-04-25 11:39:01 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-04-26 18:25:24 +0200 |
commit | 9d35fa520e3b27f7dd9fe12c433eb596f1271515 (patch) | |
tree | 9810f7a2e7d8e19dc5bcc5f6b9ac4a6c70d84388 /libavcodec/fft.h | |
parent | 13dfce3d44f99a2d7df71aba8ae003d58db726f7 (diff) | |
download | ffmpeg-9d35fa520e3b27f7dd9fe12c433eb596f1271515.tar.gz |
Add AVX FFT implementation.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavcodec/fft.h')
-rw-r--r-- | libavcodec/fft.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/fft.h b/libavcodec/fft.h index a4fee0033b..dc3c1909b0 100644 --- a/libavcodec/fft.h +++ b/libavcodec/fft.h @@ -85,6 +85,7 @@ struct FFTContext { int fft_permutation; #define FF_FFT_PERM_DEFAULT 0 #define FF_FFT_PERM_SWAP_LSBS 1 +#define FF_FFT_PERM_AVX 2 int mdct_permutation; #define FF_MDCT_PERM_NONE 0 #define FF_MDCT_PERM_INTERLEAVE 1 @@ -97,7 +98,7 @@ struct FFTContext { #endif #define COSTABLE(size) \ - COSTABLE_CONST DECLARE_ALIGNED(16, FFTSample, FFT_NAME(ff_cos_##size))[size/2] + COSTABLE_CONST DECLARE_ALIGNED(32, FFTSample, FFT_NAME(ff_cos_##size))[size/2] extern COSTABLE(16); extern COSTABLE(32); |