diff vp56dsp.c @ 12417:9f06475db098 libavcodec

Move vp6_filter_diag4() from DSPContext to VP56DSPContext.
author rbultje
date Wed, 25 Aug 2010 13:42:28 +0000
parents 1c6d78234e67
children 9f8d9abd7984
line wrap: on
line diff
--- a/vp56dsp.c	Wed Aug 25 11:47:50 2010 +0000
+++ b/vp56dsp.c	Wed Aug 25 13:42:28 2010 +0000
@@ -82,7 +82,12 @@
     } else {
         s->edge_filter_hor = vp6_edge_filter_hor;
         s->edge_filter_ver = vp6_edge_filter_ver;
+
+        if (CONFIG_VP6_DECODER) {
+            s->vp6_filter_diag4= ff_vp6_filter_diag4_c;
+        }
     }
 
     if (ARCH_ARM) ff_vp56dsp_init_arm(s, codec);
+    if (HAVE_MMX) ff_vp56dsp_init_x86(s, codec);
 }