Fix for channel mixer bug.

This commit is contained in:
Emil Martinec
2011-09-01 10:34:34 -05:00
commit ee83bfad63
729 changed files with 153848 additions and 0 deletions

38
rtengine/klt/base.h Normal file
View File

@@ -0,0 +1,38 @@
/*********************************************************************
* base.h
*********************************************************************/
#ifndef _BASE_H_
#define _BASE_H_
#ifndef uchar
#define uchar unsigned char
#endif
#ifndef schar
#define schar signed char
#endif
#ifndef uint
#define uint unsigned int
#endif
#ifndef ushort
#define ushort unsigned short
#endif
#ifndef ulong
#define ulong unsigned long
#endif
#ifndef max
#define max(a,b) ((a) > (b) ? (a) : (b))
#endif
#ifndef min
#define min(a,b) ((a) < (b) ? (a) : (b))
#endif
#define max3(a,b,c) ((a) > (b) ? max((a),(c)) : max((b),(c)))
#define min3(a,b,c) ((a) < (b) ? min((a),(c)) : min((b),(c)))
#endif