#include <sys/time.h>
#include <unistd.h>
-#ifndef USE_SSE
+#ifdef USE_SSE
#include "sad_sse.h"
#endif
int ncompare (const void * a, const void * b)
{
- return ( *(int*)a - *(int*)b );
+ return ( *(const int*)a - *(const int*)b );
}
// motion vector denoising
} /* End column loop */
} /* End row loop */
-#ifndef USE_SSE
+#ifdef USE_SSE
asm volatile ( "emms" );
#endif
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;