X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fmotion_est%2Ffilter_motion_est.c;h=6e8b021880e0938cebe6bf4cfe34293c2cf6718b;hb=f4d4669b66a9f23be85527f65dec19a566db561c;hp=3403a1273f9c758e6fe56b5553c92114914f0ac5;hpb=7858760000edcb3217441259b462604c834804dd;p=melted diff --git a/src/modules/motion_est/filter_motion_est.c b/src/modules/motion_est/filter_motion_est.c index 3403a12..6e8b021 100644 --- a/src/modules/motion_est/filter_motion_est.c +++ b/src/modules/motion_est/filter_motion_est.c @@ -34,7 +34,7 @@ #include #include -#ifndef USE_SSE +#ifdef USE_SSE #include "sad_sse.h" #endif @@ -392,7 +392,7 @@ static void full_search( int ncompare (const void * a, const void * b) { - return ( *(int*)a - *(int*)b ); + return ( *(const int*)a - *(const int*)b ); } // motion vector denoising @@ -614,7 +614,7 @@ static void motion_search( uint8_t *from, //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;