diff dct.c @ 12099:1bf322283429 libavcodec

SSE optimized 32-point DCT
author vitor
date Tue, 06 Jul 2010 16:58:54 +0000
parents 3f3d08bb5cf8
children
line wrap: on
line diff
--- a/dct.c	Tue Jul 06 13:22:44 2010 +0000
+++ b/dct.c	Tue Jul 06 16:58:54 2010 +0000
@@ -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 @@
         s->dct_calc = dct32_func;
 
     s->dct32 = dct32;
+    if (HAVE_MMX)     ff_dct_init_mmx(s);
 
     return 0;
 }