diff i386/dsputil_mmx.c @ 5591:642588a60570 libavcodec

update mmx code to latest snow changes note, the code likely can overflow and thus needs some more changes sse2 updated too but disabled as it is untested
author michael
date Sat, 25 Aug 2007 15:20:56 +0000
parents 3ae03eacbe9f
children 384629ebcb93
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Sat Aug 25 09:23:17 2007 +0000
+++ b/i386/dsputil_mmx.c	Sat Aug 25 15:20:56 2007 +0000
@@ -3621,8 +3621,7 @@
 #endif
 
 #ifdef CONFIG_SNOW_DECODER
-#if 0
-        if(mm_flags & MM_SSE2){
+        if(mm_flags & MM_SSE2 & 0){
             c->horizontal_compose97i = ff_snow_horizontal_compose97i_sse2;
             c->vertical_compose97i = ff_snow_vertical_compose97i_sse2;
             c->inner_add_yblock = ff_snow_inner_add_yblock_sse2;
@@ -3633,7 +3632,6 @@
             c->inner_add_yblock = ff_snow_inner_add_yblock_mmx;
         }
 #endif
-#endif
 
         if(mm_flags & MM_3DNOW){
 #ifdef CONFIG_ENCODERS