Transferring loads of array variables from Stack to Heap

This commit is contained in:
Hombre
2010-12-27 12:47:45 +01:00
parent 69284246b1
commit 6152b5d9dd
26 changed files with 192 additions and 73 deletions

View File

@@ -38,7 +38,7 @@ class ImProcFunctions {
static int* xcache;
static int* ycache;
static int* zcache;
static unsigned short gamma2curve[65536];
static unsigned short* gamma2curve;
cmsHTRANSFORM monitorTransform;
@@ -69,6 +69,7 @@ class ImProcFunctions {
double lumimul[3];
static void initCache ();
static void cleanupCache ();
ImProcFunctions (const ProcParams* iparams, bool imultiThread=true)
: monitorTransform(NULL), params(iparams), scale(1), multiThread(imultiThread) {}