Transferring loads of array variables from Stack to Heap
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user