diff options
| author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2005-06-05 16:00:06 +0000 |
|---|---|---|
| committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2005-06-05 16:00:06 +0000 |
| commit | 45488a925b73cbefa2dfd93de3588486012e6132 (patch) | |
| tree | 4e97a5176fa055d8736de6448dc5e80e1f40c388 /src/post/deinterlace/plugins/tomsmocomp/TomsMoCompAll.inc | |
| parent | d3e0104e88cfe385e0cfba9ac7a2ab1100029f18 (diff) | |
| download | xine-lib-45488a925b73cbefa2dfd93de3588486012e6132.tar.gz xine-lib-45488a925b73cbefa2dfd93de3588486012e6132.tar.bz2 | |
quite some hacks for gcc 2.95 compatibility
CVS patchset: 7612
CVS date: 2005/06/05 16:00:06
Diffstat (limited to 'src/post/deinterlace/plugins/tomsmocomp/TomsMoCompAll.inc')
| -rw-r--r-- | src/post/deinterlace/plugins/tomsmocomp/TomsMoCompAll.inc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/post/deinterlace/plugins/tomsmocomp/TomsMoCompAll.inc b/src/post/deinterlace/plugins/tomsmocomp/TomsMoCompAll.inc index 4a223138b..80f96b7bd 100644 --- a/src/post/deinterlace/plugins/tomsmocomp/TomsMoCompAll.inc +++ b/src/post/deinterlace/plugins/tomsmocomp/TomsMoCompAll.inc @@ -21,6 +21,22 @@ // See www.eff.org for details ///////////////////////////////////////////////////////////////////////////// +#include <mangle.h> + +#if !defined(MASKS_DEFINED) +#define MASKS_DEFINED +static const int64_t __attribute__((__used__)) Max_Mov = 0x0404040404040404ull; +static const int64_t __attribute__((__used__)) DiffThres = 0x0f0f0f0f0f0f0f0full; +static const int64_t __attribute__((__used__)) YMask = 0x00ff00ff00ff00ffull; // keeps only luma +static const int64_t __attribute__((__used__)) UVMask = 0xff00ff00ff00ff00ull; // keeps only chroma +static const int64_t __attribute__((__used__)) TENS = 0x0a0a0a0a0a0a0a0aull; +static const int64_t __attribute__((__used__)) FOURS = 0x0404040404040404ull; +static const int64_t __attribute__((__used__)) ONES = 0x0101010101010101ull; +static const int64_t __attribute__((__used__)) ShiftMask = 0xfefffefffefffeffull; +static int64_t Min_Vals = 0x0000000000000000ull; +static int64_t Max_Vals = 0x0000000000000000ull; +#endif + #ifndef TopFirst #define TopFirst IsOdd #endif |
