diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-13 15:53:24 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-13 15:53:24 +0000 |
commit | 3001ca41f3d6be15e75a0c3d032f03556c23fd87 (patch) | |
tree | fde7fcdf47570d8748a3700ceabbe871d063301e /postproc/postprocess_template.c | |
parent | e34f902cebcf211a389c7e995312cbbfca42ce4a (diff) | |
download | mpv-3001ca41f3d6be15e75a0c3d032f03556c23fd87.tar.bz2 mpv-3001ca41f3d6be15e75a0c3d032f03556c23fd87.tar.xz |
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
Diffstat (limited to 'postproc/postprocess_template.c')
-rw-r--r-- | postproc/postprocess_template.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/postproc/postprocess_template.c b/postproc/postprocess_template.c index 8e317dc6ab..5c13e53f19 100644 --- a/postproc/postprocess_template.c +++ b/postproc/postprocess_template.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; |