Transferring loads of array variables from Stack to Heap

This commit is contained in:
Hombre
2011-01-01 03:28:27 +01:00
parent 5ee87be11b
commit 9fa432880c
26 changed files with 190 additions and 72 deletions

View File

@@ -36,9 +36,8 @@ namespace rtengine {
void transformPixel (int x, int y, int tran, int& tx, int& ty);
static bool igammacomputed;
static unsigned short igammatab[256];
static unsigned char gammatab[65536];
static unsigned short *igammatab;
static unsigned char *gammatab;
Image16* thumbImg;
double camwbRed;
@@ -67,6 +66,8 @@ namespace rtengine {
~Thumbnail ();
Thumbnail ();
static void initGamma ();
static void cleanupGamma ();
void init ();
IImage8* processImage (const procparams::ProcParams& pparams, int rheight, TypeInterpolation interp, double& scale);