fattal: commented out some unused vars (silence gcc warnings)
This commit is contained in:
@@ -416,8 +416,8 @@ void tmo_fattal02 (size_t width,
|
|||||||
// msec_timer stop_watch;
|
// msec_timer stop_watch;
|
||||||
// stop_watch.start();
|
// stop_watch.start();
|
||||||
// #endif
|
// #endif
|
||||||
static const float black_point = 0.1f;
|
// static const float black_point = 0.1f;
|
||||||
static const float white_point = 0.5f;
|
// static const float white_point = 0.5f;
|
||||||
static const float gamma = 1.0f; // 0.8f;
|
static const float gamma = 1.0f; // 0.8f;
|
||||||
|
|
||||||
// static const int detail_level = 3;
|
// static const int detail_level = 3;
|
||||||
@@ -452,7 +452,7 @@ void tmo_fattal02 (size_t width,
|
|||||||
int size = width * height;
|
int size = width * height;
|
||||||
|
|
||||||
// find max value, normalize to range 0..100 and take logarithm
|
// find max value, normalize to range 0..100 and take logarithm
|
||||||
float minLum = Y (0, 0);
|
// float minLum = Y (0, 0);
|
||||||
float maxLum = Y (0, 0);
|
float maxLum = Y (0, 0);
|
||||||
|
|
||||||
#pragma omp parallel for reduction(max:maxLum) if(multithread)
|
#pragma omp parallel for reduction(max:maxLum) if(multithread)
|
||||||
|
Reference in New Issue
Block a user