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

@@ -38,11 +38,11 @@ class CurveFactory {
protected:
// look-up tables for the standard srgb gamma and its inverse (filled by init())
static int igammatab_srgb[65536];
static int gammatab_srgb[65536];
static int *igammatab_srgb;
static int *gammatab_srgb;
// look-up tables for the simple exponential gamma
static int gammatab[65536];
static int *gammatab;
// functions calculating the parameters of the contrast curve based on the desired slope at the center
static double solve_upper (double m, double c, double deriv);
static double solve_lower (double m, double c, double deriv);
@@ -135,6 +135,7 @@ class CurveFactory {
public:
static void init ();
static void cleanup ();
static inline double centercontrast (double x, double b, double m);