Instituting denoise branch to work on improvements to RT denoise. Most definitely a work in progress, but the patch is becoming quite complicated so it is definitely worth having it backed up on Google code.

This commit is contained in:
Emil Martinec
2012-01-22 21:42:07 -06:00
commit 325d8d1620
1363 changed files with 292924 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