From 3001ca41f3d6be15e75a0c3d032f03556c23fd87 Mon Sep 17 00:00:00 2001 From: arpi Date: Sat, 13 Oct 2001 15:53:24 +0000 Subject: Cleanup: - TIMEING && MORE_TIMEING disabled by default - private stuff moved to postprocess.c to avoid possible conflicts git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2190 b3059339-0415-0410-9bf9-f77b7e298cf2 --- postproc/postprocess.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'postproc/postprocess.c') diff --git a/postproc/postprocess.c b/postproc/postprocess.c index 8e317dc6ab..5c13e53f19 100644 --- a/postproc/postprocess.c +++ b/postproc/postprocess.c @@ -90,6 +90,16 @@ Changelog: use the CVS log //#undef HAVE_MMX #include "postprocess.h" +#define MIN(a,b) ((a) > (b) ? (b) : (a)) +#define MAX(a,b) ((a) < (b) ? (b) : (a)) +#define ABS(a) ((a) > 0 ? (a) : (-(a))) +#define SIGN(a) ((a) > 0 ? 1 : -1) + +#ifdef HAVE_MMX2 +#define PAVGB(a,b) "pavgb " #a ", " #b " \n\t" +#elif defined (HAVE_3DNOW) +#define PAVGB(a,b) "pavgusb " #a ", " #b " \n\t" +#endif static uint64_t packedYOffset= 0x0000000000000000LL; static uint64_t packedYScale= 0x0100010001000100LL; -- cgit v1.2.3