motion_est/filter_motion_est.c: the sse compilation flag logic was inverted
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 12 Dec 2008 19:10:00 +0000 (19:10 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 12 Dec 2008 19:10:00 +0000 (19:10 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1264 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/motion_est/filter_motion_est.c

index 3403a12..80a11ad 100644 (file)
@@ -34,7 +34,7 @@
 #include <sys/time.h>
 #include <unistd.h>
 
-#ifndef USE_SSE
+#ifdef USE_SSE
 #include "sad_sse.h"
 #endif
 
@@ -614,7 +614,7 @@ static void motion_search( uint8_t *from,                   //<! Image data.
         } /* End column loop */
        } /* End row loop */
 
-#ifndef USE_SSE
+#ifdef USE_SSE
        asm volatile ( "emms" );
 #endif
 
@@ -658,7 +658,7 @@ void collect_post_statistics( struct motion_est_context_s *c ) {
 static void init_optimizations( struct motion_est_context_s *c )
 {
        switch(c->mb_w){
-#ifndef USE_SSE
+#ifdef USE_SSE
                case 4:  if(c->mb_h == 4)       c->compare_optimized = sad_sse_422_luma_4x4;
                         else                           c->compare_optimized = sad_sse_422_luma_4w;
                         break;