aboutsummaryrefslogtreecommitdiffstats
path: root/postproc/postprocess.c
diff options
context:
space:
mode:
authorArpi <arpi@thot.banki.hu>2001-10-13 15:53:24 +0000
committerArpi <arpi@thot.banki.hu>2001-10-13 15:53:24 +0000
commite939e1c35ba0e6245829f7c523306bfa90be11bc (patch)
treee07a97ccbbab6d1249fb492b5584472d6557034b /postproc/postprocess.c
parent9f3328bc91ea610090a134b635c357dd556cee43 (diff)
downloadffmpeg-e939e1c35ba0e6245829f7c523306bfa90be11bc.tar.gz
Cleanup:
- TIMEING && MORE_TIMEING disabled by default - private stuff moved to postprocess.c to avoid possible conflicts Originally committed as revision 2190 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/postprocess.c')
-rw-r--r--postproc/postprocess.c10
1 files changed, 10 insertions, 0 deletions
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;