Mercurial > mplayer.hg
diff libmpcodecs/pullup.c @ 13720:821f464b4d90
adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64
| author | aurel |
|---|---|
| date | Thu, 21 Oct 2004 11:55:20 +0000 |
| parents | bc7cb8cf36b2 |
| children | f5e2fa7ec219 |
line wrap: on
line diff
--- a/libmpcodecs/pullup.c Thu Oct 21 11:36:20 2004 +0000 +++ b/libmpcodecs/pullup.c Thu Oct 21 11:55:20 2004 +0000 @@ -8,6 +8,7 @@ +#ifdef ARCH_X86 #ifdef HAVE_MMX static int diff_y_mmx(unsigned char *a, unsigned char *b, int s) { @@ -147,6 +148,7 @@ return ret; } #endif +#endif #define ABS(a) (((a)^((a)>>31))-((a)>>31)) @@ -682,12 +684,14 @@ case PULLUP_FMT_Y: c->diff = diff_y; c->comb = licomb_y; +#ifdef ARCH_X86 #ifdef HAVE_MMX if (c->cpu & PULLUP_CPU_MMX) { c->diff = diff_y_mmx; c->comb = licomb_y_mmx; } #endif +#endif /* c->comb = qpcomb_y; */ break; #if 0
