Mercurial > mplayer.hg
comparison postproc/postprocess.c @ 2189:82556b3a1228
Cleanup:
- TIMEING && MORE_TIMEING disabled by default
- private stuff moved to postprocess.c to avoid possible conflicts
author | arpi |
---|---|
date | Sat, 13 Oct 2001 15:53:24 +0000 |
parents | c5162871cf2b |
children | d67223ae168f |
comparison
equal
deleted
inserted
replaced
2188:1e6ea72b9b87 | 2189:82556b3a1228 |
---|---|
88 //#undef HAVE_MMX2 | 88 //#undef HAVE_MMX2 |
89 //#define HAVE_3DNOW | 89 //#define HAVE_3DNOW |
90 //#undef HAVE_MMX | 90 //#undef HAVE_MMX |
91 #include "postprocess.h" | 91 #include "postprocess.h" |
92 | 92 |
93 #define MIN(a,b) ((a) > (b) ? (b) : (a)) | |
94 #define MAX(a,b) ((a) < (b) ? (b) : (a)) | |
95 #define ABS(a) ((a) > 0 ? (a) : (-(a))) | |
96 #define SIGN(a) ((a) > 0 ? 1 : -1) | |
97 | |
98 #ifdef HAVE_MMX2 | |
99 #define PAVGB(a,b) "pavgb " #a ", " #b " \n\t" | |
100 #elif defined (HAVE_3DNOW) | |
101 #define PAVGB(a,b) "pavgusb " #a ", " #b " \n\t" | |
102 #endif | |
93 | 103 |
94 static uint64_t packedYOffset= 0x0000000000000000LL; | 104 static uint64_t packedYOffset= 0x0000000000000000LL; |
95 static uint64_t packedYScale= 0x0100010001000100LL; | 105 static uint64_t packedYScale= 0x0100010001000100LL; |
96 static uint64_t w05= 0x0005000500050005LL; | 106 static uint64_t w05= 0x0005000500050005LL; |
97 static uint64_t w20= 0x0020002000200020LL; | 107 static uint64_t w20= 0x0020002000200020LL; |