diff x86/dsputil_mmx.c @ 8817:492f8911992c libavcodec

add MMX version of vp6_filter_diag original patch by Sebastien Lucas sebastien.lucas _at_ gmail _dot_ com
author aurel
date Thu, 12 Feb 2009 23:52:52 +0000
parents 53f9f3994ec8
children 17cc6df384a6
line wrap: on
line diff
--- a/x86/dsputil_mmx.c	Thu Feb 12 23:48:07 2009 +0000
+++ b/x86/dsputil_mmx.c	Thu Feb 12 23:52:52 2009 +0000
@@ -31,6 +31,7 @@
 #include "mmx.h"
 #include "vp3dsp_mmx.h"
 #include "vp3dsp_sse2.h"
+#include "vp6dsp_mmx.h"
 #include "idct_xvid.h"
 
 //#undef NDEBUG
@@ -2688,6 +2689,10 @@
         c->h264_idct_add8      = ff_h264_idct_add8_mmx;
         c->h264_idct_add16intra= ff_h264_idct_add16intra_mmx;
 
+        if (CONFIG_VP6_DECODER) {
+            c->vp6_filter_diag4 = ff_vp6_filter_diag4_mmx;
+        }
+
         if (mm_flags & FF_MM_MMXEXT) {
             c->prefetch = prefetch_mmx2;