Mercurial > mplayer.hg
comparison libmpcodecs/cmmx.h @ 23689:3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
author | diego |
---|---|
date | Mon, 02 Jul 2007 22:34:45 +0000 |
parents | 5eb66d37d539 |
children | 3baf6a2283da |
comparison
equal
deleted
inserted
replaced
23688:3454aed9d083 | 23689:3f0d00abc073 |
---|---|
2 * x86 MMX and MMX2 packed byte operations in portable C. | 2 * x86 MMX and MMX2 packed byte operations in portable C. |
3 * Extra instructions: pdiffub, pcmpzb, psumbw, pcmpgtub | 3 * Extra instructions: pdiffub, pcmpzb, psumbw, pcmpgtub |
4 * Author: Zoltan Hidvegi | 4 * Author: Zoltan Hidvegi |
5 */ | 5 */ |
6 | 6 |
7 #ifndef __CMMX_H | 7 #ifndef CMMX_H |
8 #define __CMMX_H | 8 #define CMMX_H |
9 | 9 |
10 typedef unsigned long cmmx_t; | 10 typedef unsigned long cmmx_t; |
11 | 11 |
12 #define ONE_BYTES (~(cmmx_t)0 / 255) | 12 #define ONE_BYTES (~(cmmx_t)0 / 255) |
13 #define SIGN_BITS (ONE_BYTES << 7) | 13 #define SIGN_BITS (ONE_BYTES << 7) |