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

@@ -62,20 +62,20 @@ class ImProcCoordinator : public StagedImageProcessor {
void freeAll ();
float dummy1 [65536];
float dummy2 [65536];
float hltonecurve [65536];
float shtonecurve [65536];
int tonecurve [65536];
float *dummy1;
float *dummy2;
float *hltonecurve;
float *shtonecurve;
int *tonecurve;
int lumacurve [65536];
int chroma_acurve [65536];
int chroma_bcurve [65536];
int *lumacurve;
int *chroma_acurve;
int *chroma_bcurve;
unsigned int vhist16[65536];
unsigned int lhist16[65536];
unsigned int *vhist16;
unsigned int *lhist16;
unsigned int rhist[256], ghist[256], bhist[256], Lhist[256], bcrgbhist[256], bcLhist[256], bcabhist[256];
unsigned int *rhist, *ghist, *bhist, *Lhist, *bcrgbhist, *bcLhist, *bcabhist;
int fw, fh, tr, fullw, fullh;
int pW, pH;