summaryrefslogtreecommitdiff
path: root/libavcodec/dct.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2010-07-06 16:58:54 +0000
committerVitor Sessak <vitor1001@gmail.com>2010-07-06 16:58:54 +0000
commit4dcc4f8eaa23dc3ff85f6b4eed58d719e50cbe92 (patch)
tree5e72e1f3252b0a225d401749011ab953ba5f1767 /libavcodec/dct.c
parentdefb0009cff57d66fe952915917864cc5b3a417f (diff)
downloadffmpeg-4dcc4f8eaa23dc3ff85f6b4eed58d719e50cbe92.tar.gz
SSE optimized 32-point DCT
Originally committed as revision 24077 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dct.c')
-rw-r--r--libavcodec/dct.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dct.c b/libavcodec/dct.c
index 682fe99f80..dab94c30a0 100644
--- a/libavcodec/dct.c
+++ b/libavcodec/dct.c
@@ -30,6 +30,7 @@
#include <math.h>
#include "libavutil/mathematics.h"
#include "fft.h"
+#include "x86/fft.h"
#define DCT32_FLOAT
#include "dct32.c"
@@ -213,6 +214,7 @@ av_cold int ff_dct_init(DCTContext *s, int nbits, enum DCTTransformType inverse)
s->dct_calc = dct32_func;
s->dct32 = dct32;
+ if (HAVE_MMX) ff_dct_init_mmx(s);
return 0;
}