From 9d35fa520e3b27f7dd9fe12c433eb596f1271515 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Mon, 25 Apr 2011 11:39:01 +0200 Subject: Add AVX FFT implementation. Signed-off-by: Reinhard Tartler --- libavcodec/fft.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/fft.h') 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); -- cgit v1.2.3