Make some more files cppcheck clean (#6133)
* Make some more files cppcheck clean * revert change of dcrop.cc from last commit * Replace calculation: y = pow(x, 1/ (2.f * 2.f)) by y = sqrt(sqrt(x)) * Revert "Replace calculation: y = pow(x, 1/ (2.f * 2.f)) by y = sqrt(sqrt(x))" This reverts commit d639c67249f1723fa9f9e55e0442afcb862eba91.
This commit is contained in:
@@ -543,8 +543,8 @@ BENCHFUN
|
||||
|
||||
// calculate contrast based blend factors to reduce sharpening in regions with low contrast
|
||||
JaggedArray<float> blend(W, H);
|
||||
float contrast = params->sharpenMicro.contrast / 100.0;
|
||||
buildBlendMask(luminance, blend, W, H, contrast);
|
||||
float contrastThreshold = params->sharpenMicro.contrast / 100.0;
|
||||
buildBlendMask(luminance, blend, W, H, contrastThreshold);
|
||||
|
||||
#ifdef _OPENMP
|
||||
#pragma omp parallel
|
||||
|
||||
Reference in New Issue
Block a user