=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-bulktest/graphics/rawtherapee", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for rawtherapee-5.11nb5 [ 0%] Creating AboutThisBuild.txt and other version-dependent files [ 0%] Built target UpdateInfo [ 0%] Building CXX object rtengine/CMakeFiles/rtengine.dir/amaze_demosaic_RT.cc.o [ 0%] Building CXX object rtengine/CMakeFiles/rtengine.dir/alpha.cc.o [ 1%] Building CXX object rtengine/CMakeFiles/rtengine.dir/ahd_demosaic_RT.cc.o [ 2%] Building CXX object rtengine/CMakeFiles/rtengine.dir/badpixels.cc.o [ 2%] Building CXX object rtengine/CMakeFiles/rtengine.dir/bayer_bilinear_demosaic.cc.o [ 2%] Building CXX object rtengine/CMakeFiles/rtengine.dir/boxblur.cc.o [ 3%] Building CXX object rtengine/CMakeFiles/rtengine.dir/CA_correct_RT.cc.o [ 3%] Building CXX object rtengine/CMakeFiles/rtengine.dir/canon_cr3_decoder.cc.o [ 3%] Building CXX object rtengine/CMakeFiles/rtengine.dir/calc_distort.cc.o [ 3%] Building CXX object rtengine/CMakeFiles/rtengine.dir/camconst.cc.o [ 4%] Building CXX object rtengine/CMakeFiles/rtengine.dir/capturesharpening.cc.o [ 4%] Building CXX object rtengine/CMakeFiles/rtengine.dir/cfa_linedn_RT.cc.o [ 4%] Building CXX object rtengine/CMakeFiles/rtengine.dir/ciecam02.cc.o [ 5%] Building CXX object rtengine/CMakeFiles/rtengine.dir/cieimage.cc.o [ 5%] Building C object rtengine/CMakeFiles/rtengine.dir/cJSON.c.o [ 5%] Building CXX object rtengine/CMakeFiles/rtengine.dir/clutstore.cc.o [ 6%] Building CXX object rtengine/CMakeFiles/rtengine.dir/color.cc.o [ 6%] Building CXX object rtengine/CMakeFiles/rtengine.dir/colortemp.cc.o [ 6%] Building CXX object rtengine/CMakeFiles/rtengine.dir/coord.cc.o [ 7%] Building CXX object rtengine/CMakeFiles/rtengine.dir/cplx_wavelet_dec.cc.o [ 7%] Building CXX object rtengine/CMakeFiles/rtengine.dir/curves.cc.o [ 7%] Building CXX object rtengine/CMakeFiles/rtengine.dir/dcp.cc.o [ 8%] Building CXX object rtengine/CMakeFiles/rtengine.dir/dcraw.cc.o [ 8%] Building CXX object rtengine/CMakeFiles/rtengine.dir/dcrop.cc.o [ 8%] Building CXX object rtengine/CMakeFiles/rtengine.dir/demosaic_algos.cc.o [ 9%] Building CXX object rtengine/CMakeFiles/rtengine.dir/dfmanager.cc.o [ 9%] Building CXX object rtengine/CMakeFiles/rtengine.dir/diagonalcurves.cc.o [ 9%] Building CXX object rtengine/CMakeFiles/rtengine.dir/dirpyr_equalizer.cc.o [ 10%] Building CXX object rtengine/CMakeFiles/rtengine.dir/dual_demosaic_RT.cc.o [ 10%] Building CXX object rtengine/CMakeFiles/rtengine.dir/dynamicprofile.cc.o [ 10%] Building CXX object rtengine/CMakeFiles/rtengine.dir/eahd_demosaic.cc.o [ 11%] Building CXX object rtengine/CMakeFiles/rtengine.dir/EdgePreservingDecomposition.cc.o [ 11%] Building CXX object rtengine/CMakeFiles/rtengine.dir/fast_demo.cc.o /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/dcraw.cc: In member function 'void DCraw::identify()': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/dcraw.cc:10737:15: warning: 'std::sprintf' argument 3 may overlap destination object 'this' [-Wrestrict] 10737 | sprintf (model+20, "DYNAX %-10s", model+6+(model[0]=='M')); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/dcraw.cc:9822:21: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 9822 | void CLASS identify() | ^ [ 11%] Building CXX object rtengine/CMakeFiles/rtengine.dir/ffmanager.cc.o [ 12%] Building CXX object rtengine/CMakeFiles/rtengine.dir/filmnegativeproc.cc.o [ 12%] Building CXX object rtengine/CMakeFiles/rtengine.dir/flatcurves.cc.o [ 12%] Building CXX object rtengine/CMakeFiles/rtengine.dir/FTblockDN.cc.o [ 13%] Building CXX object rtengine/CMakeFiles/rtengine.dir/gamutwarning.cc.o [ 13%] Building CXX object rtengine/CMakeFiles/rtengine.dir/gauss.cc.o [ 13%] Building CXX object rtengine/CMakeFiles/rtengine.dir/green_equil_RT.cc.o [ 14%] Building CXX object rtengine/CMakeFiles/rtengine.dir/guidedfilter.cc.o [ 14%] Building CXX object rtengine/CMakeFiles/rtengine.dir/hilite_recon.cc.o [ 14%] Building CXX object rtengine/CMakeFiles/rtengine.dir/histmatching.cc.o [ 15%] Building CXX object rtengine/CMakeFiles/rtengine.dir/hphd_demosaic_RT.cc.o [ 15%] Building CXX object rtengine/CMakeFiles/rtengine.dir/iccjpeg.cc.o [ 15%] Building CXX object rtengine/CMakeFiles/rtengine.dir/iccstore.cc.o [ 16%] Building CXX object rtengine/CMakeFiles/rtengine.dir/iimage.cc.o [ 16%] Building CXX object rtengine/CMakeFiles/rtengine.dir/image16.cc.o [ 17%] Building CXX object rtengine/CMakeFiles/rtengine.dir/image8.cc.o [ 17%] Building CXX object rtengine/CMakeFiles/rtengine.dir/imagedata.cc.o [ 17%] Building CXX object rtengine/CMakeFiles/rtengine.dir/imagedimensions.cc.o [ 18%] Building CXX object rtengine/CMakeFiles/rtengine.dir/imagefloat.cc.o [ 18%] Building CXX object rtengine/CMakeFiles/rtengine.dir/imageio.cc.o [ 18%] Building CXX object rtengine/CMakeFiles/rtengine.dir/imagesource.cc.o [ 19%] Building CXX object rtengine/CMakeFiles/rtengine.dir/improccoordinator.cc.o [ 19%] Building CXX object rtengine/CMakeFiles/rtengine.dir/improcfun.cc.o [ 19%] Building CXX object rtengine/CMakeFiles/rtengine.dir/impulse_denoise.cc.o [ 20%] Building CXX object rtengine/CMakeFiles/rtengine.dir/init.cc.o [ 20%] Building CXX object rtengine/CMakeFiles/rtengine.dir/ipdehaze.cc.o [ 20%] Building CXX object rtengine/CMakeFiles/rtengine.dir/ipgrain.cc.o [ 21%] Building CXX object rtengine/CMakeFiles/rtengine.dir/iplab2rgb.cc.o [ 21%] Building CXX object rtengine/CMakeFiles/rtengine.dir/iplocallab.cc.o /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc: In member function 'void rtengine::ImProcFunctions::ciecam_02float(rtengine::CieImage*, float, int, int, rtengine::LabImage*, const rtengine::procparams::ProcParams*, const rtengine::ColorAppearance&, const rtengine::ColorAppearance&, const rtengine::ColorAppearance&, LUTu&, LUTu&, LUTf&, LUTf&, float&, int, int, bool, float&, float&, float&, int, bool)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:866:59: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 866 | hist16Qthr[CLIP((int)(32768.f * sqrt((koef * (lab->L[i][j])) / 32768.f)))]++; //for brightness Q : approximation for Q=wh*sqrt(J/100) J not equal L | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc: In member function 'void rtengine::ImProcFunctions::chromiLuminanceCurve(rtengine::PipetteBuffer*, int, rtengine::LabImage*, rtengine::LabImage*, const LUTf&, const LUTf&, const LUTf&, const LUTf&, const LUTf&, LUTf&, bool, bool, bool, bool, bool, bool, LUTu&, LUTu&)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:4368:81: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 4368 | CCBuffer[k] = sqrt(SQR(lold->a[i][k]) + SQR(lold->b[i][k])) / 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:4447:58: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 4447 | CC = sqrt(SQR(atmp) + SQR(btmp)) / 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:4504:65: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 4504 | float Chprov2 = sqrt(SQR(atmp) + SQR(btmp)) / 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:4723:44: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 4723 | histCCurve[histCFactor * sqrt(atmp * atmp + btmp * btmp)]++; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:4787:59: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 4787 | Chprov1 = sqrt(SQR(atmp) + SQR(btmp)) / 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:4796:59: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 4796 | Chprov1 = sqrt(SQR(atmp) + SQR(btmp)) / 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:4833:64: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 4833 | Chprov1 = std::sqrt(SQR(aag2) + SQR(bbg2)) / 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:4855:80: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 4855 | Chprov = sqrt(SQR(lnew->a[i][j]) + SQR(lnew->b[i][j])) / 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:4859:53: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 4859 | if (fabs(correctionHue) < 0.015f) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc: In static member function 'static void rtengine::ImProcFunctions::getAutoExp(const LUTu&, int, double, double&, int&, int&, int&, int&, int&)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:5514:70: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5514 | expcomp2 = 0.5f * ((15.5f - histcompr - (2.f * oct7 - oct6)) + log(scale / rawmax) / log(2.f)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:5514:25: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5514 | expcomp2 = 0.5f * ((15.5f - histcompr - (2.f * oct7 - oct6)) + log(scale / rawmax) / log(2.f)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:5516:80: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5516 | expcomp2 = 0.5f * ((15.5f - histcompr - (2.f * octile[7] - octile[6])) + log(scale / rawmax) / log(2.f)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:5516:25: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5516 | expcomp2 = 0.5f * ((15.5f - histcompr - (2.f * octile[7] - octile[6])) + log(scale / rawmax) / log(2.f)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:5519:41: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5519 | if (fabs(expcomp1) - fabs(expcomp2) > 1.f) { //for great expcomp | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:5520:29: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5520 | expcomp = (expcomp1 * fabs(expcomp2) + expcomp2 * fabs(expcomp1)) / (fabs(expcomp1) + fabs(expcomp2)); | ~~~~~~~~~^~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:5520:57: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5520 | expcomp = (expcomp1 * fabs(expcomp2) + expcomp2 * fabs(expcomp1)) / (fabs(expcomp1) + fabs(expcomp2)); | ~~~~~~~~~^~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:5525:37: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5525 | float gain = exp((float)expcomp * log(2.f)); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:5541:25: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5541 | float midtmp = gain * sqrt(median * ave) / scale; | ~~~~~^~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.cc:5541:46: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5541 | float midtmp = gain * sqrt(median * ave) / scale; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/ipdehaze.cc: In member function 'void rtengine::ImProcFunctions::dehaze(rtengine::Imagefloat*, const rtengine::procparams::DehazeParams&)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/ipdehaze.cc:386:25: error: no matching function for call to 'max(float, double)' 386 | const float t0 = max(1e-3f, std::exp(depth * maxDistance)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/color.h:24, from /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/ipdehaze.cc:36: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:72:20: note: candidate: 'template constexpr const T& rtengine::max(const T&)' 72 | constexpr const T& max(const T& a) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:72:20: note: candidate expects 1 argument, 2 provided /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:78:20: note: candidate: 'template constexpr const T& rtengine::max(const T&, const T&)' 78 | constexpr const T& max(const T& a, const T& b) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:78:20: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/ipdehaze.cc:386:25: note: deduced conflicting types for parameter 'const T' ('float' and 'double') 386 | const float t0 = max(1e-3f, std::exp(depth * maxDistance)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:84:20: note: candidate: 'template constexpr const T& rtengine::max(const T&, const T&, const ARGS& ...)' 84 | constexpr const T& max(const T& a, const T& b, const ARGS&... args) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:84:20: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/ipdehaze.cc:386:25: note: deduced conflicting types for parameter 'const T' ('float' and 'double') 386 | const float t0 = max(1e-3f, std::exp(depth * maxDistance)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/ipdehaze.cc: In member function 'void rtengine::ImProcFunctions::dehazeloc(rtengine::Imagefloat*, const rtengine::procparams::DehazeParams&, int, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/ipdehaze.cc:550:25: error: no matching function for call to 'max(const float&, double)' 550 | const float t0 = max(teps, std::exp(depth * maxDistance)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:72:20: note: candidate: 'template constexpr const T& rtengine::max(const T&)' 72 | constexpr const T& max(const T& a) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:72:20: note: candidate expects 1 argument, 2 provided /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:78:20: note: candidate: 'template constexpr const T& rtengine::max(const T&, const T&)' 78 | constexpr const T& max(const T& a, const T& b) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:78:20: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/ipdehaze.cc:550:25: note: deduced conflicting types for parameter 'const T' ('float' and 'double') 550 | const float t0 = max(teps, std::exp(depth * maxDistance)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:84:20: note: candidate: 'template constexpr const T& rtengine::max(const T&, const T&, const ARGS& ...)' 84 | constexpr const T& max(const T& a, const T& b, const ARGS&... args) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:84:20: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/ipdehaze.cc:550:25: note: deduced conflicting types for parameter 'const T' ('float' and 'double') 550 | const float t0 = max(teps, std::exp(depth * maxDistance)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 21%] Building CXX object rtengine/CMakeFiles/rtengine.dir/iplabregions.cc.o [ 22%] Building CXX object rtengine/CMakeFiles/rtengine.dir/iplocalcontrast.cc.o --- rtengine/CMakeFiles/rtengine.dir/ipdehaze.cc.o --- *** [rtengine/CMakeFiles/rtengine.dir/ipdehaze.cc.o] Error code 1 bmake[2]: stopped making "rtengine/CMakeFiles/rtengine.dir/build" in /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/cmake-pkgsrc-build /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In function 'float {anonymous}::softlig(float, float, float, float)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:126:77: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 126 | return 2.f * a * (maxc - b) + std::sqrt(rtengine::LIM(a, 0.f, 2.f)) * (2.f * b - maxc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:126:37: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 126 | return 2.f * a * (maxc - b) + std::sqrt(rtengine::LIM(a, 0.f, 2.f)) * (2.f * b - maxc); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In function 'float {anonymous}::softlig3(float, float)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:139:56: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 139 | return a + (2.f * a - 1.f) * (std::sqrt(a) - a); | ~~~~~~~~~~~~~^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:139:40: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 139 | return a + (2.f * a - 1.f) * (std::sqrt(a) - a); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:139:22: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 139 | return a + (2.f * a - 1.f) * (std::sqrt(a) - a); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In function 'float {anonymous}::calcLocalFactor(float, float, float, float, float, float, float, float)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:246:38: error: no matching function for call to 'max(float, double)' 246 | const float belip = rtengine::max(0.0001f, std::sqrt((rtengine::SQR((lox - lcx) / kelip) + rtengine::SQR(loy - lcy)))); //determine position ellipse ==> a and b | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/sleefsseavx.h:16, from /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/opthelper.h:26, from /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/LUT.h:71, from /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iimage.h:29, from /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/pipettebuffer.h:21, from /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/improcfun.h:28, from /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:26: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:72:20: note: candidate: 'template constexpr const T& rtengine::max(const T&)' 72 | constexpr const T& max(const T& a) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:72:20: note: candidate expects 1 argument, 2 provided /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:78:20: note: candidate: 'template constexpr const T& rtengine::max(const T&, const T&)' 78 | constexpr const T& max(const T& a, const T& b) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:78:20: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:246:38: note: deduced conflicting types for parameter 'const T' ('float' and 'double') 246 | const float belip = rtengine::max(0.0001f, std::sqrt((rtengine::SQR((lox - lcx) / kelip) + rtengine::SQR(loy - lcy)))); //determine position ellipse ==> a and b | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:84:20: note: candidate: 'template constexpr const T& rtengine::max(const T&, const T&, const ARGS& ...)' 84 | constexpr const T& max(const T& a, const T& b, const ARGS&... args) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:84:20: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:246:38: note: deduced conflicting types for parameter 'const T' ('float' and 'double') 246 | const float belip = rtengine::max(0.0001f, std::sqrt((rtengine::SQR((lox - lcx) / kelip) + rtengine::SQR(loy - lcy)))); //determine position ellipse ==> a and b | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In function 'float {anonymous}::calcLocalFactorrect(float, float, float, float, float, float, float, float)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:268:36: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 268 | if (std::fabs(kx / (ky + eps)) < krap) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:274:36: error: no matching function for call to 'max(const float&, double)' 274 | const float rad = rtengine::max(eps, std::sqrt(rtengine::SQR(kx) + rtengine::SQR(ky))); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:72:20: note: candidate: 'template constexpr const T& rtengine::max(const T&)' 72 | constexpr const T& max(const T& a) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:72:20: note: candidate expects 1 argument, 2 provided /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:78:20: note: candidate: 'template constexpr const T& rtengine::max(const T&, const T&)' 78 | constexpr const T& max(const T& a, const T& b) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:78:20: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:274:36: note: deduced conflicting types for parameter 'const T' ('float' and 'double') 274 | const float rad = rtengine::max(eps, std::sqrt(rtengine::SQR(kx) + rtengine::SQR(ky))); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:84:20: note: candidate: 'template constexpr const T& rtengine::max(const T&, const T&, const ARGS& ...)' 84 | constexpr const T& max(const T& a, const T& b, const ARGS&... args) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:84:20: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:274:36: note: deduced conflicting types for parameter 'const T' ('float' and 'double') 274 | const float rad = rtengine::max(eps, std::sqrt(rtengine::SQR(kx) + rtengine::SQR(ky))); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In function 'void {anonymous}::deltaEforLaplace(float*, float, int, int, rtengine::LabImage*, float, float, float)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:312:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 312 | const float refa = chromaref * std::cos(hueref); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:313:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 313 | const float refb = chromaref * std::sin(hueref); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:317:161: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 317 | float maxC = std::sqrt((rtengine::SQR(refa - bufexporig->a[0][0]) + rtengine::SQR(refb - bufexporig->b[0][0])) + rtengine::SQR(refL - bufexporig->L[0][0])) / 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:324:174: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 324 | const float val = std::sqrt((rtengine::SQR(refa - bufexporig->a[y][x]) + rtengine::SQR(refb - bufexporig->b[y][x])) + rtengine::SQR(refL - bufexporig->L[y][x])) / 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In function 'void {anonymous}::SobelCannyLuma(float**, float**, int, int, float)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:424:41: error: no matching function for call to 'min(double, float)' 424 | sobelL[y][x] = rtengine::min(std::sqrt(rtengine::SQR(sumXL) + rtengine::SQR(sumYL)), 32767.f); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:54:20: note: candidate: 'template constexpr const T& rtengine::min(const T&)' 54 | constexpr const T& min(const T& a) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:54:20: note: candidate expects 1 argument, 2 provided /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:60:20: note: candidate: 'template constexpr const T& rtengine::min(const T&, const T&)' 60 | constexpr const T& min(const T& a, const T& b) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:60:20: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:424:41: note: deduced conflicting types for parameter 'const T' ('double' and 'float') 424 | sobelL[y][x] = rtengine::min(std::sqrt(rtengine::SQR(sumXL) + rtengine::SQR(sumYL)), 32767.f); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:66:20: note: candidate: 'template constexpr const T& rtengine::min(const T&, const T&, const ARGS& ...)' 66 | constexpr const T& min(const T& a, const T& b, const ARGS&... args) | ^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:66:20: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:424:41: note: deduced conflicting types for parameter 'const T' ('double' and 'float') 424 | sobelL[y][x] = rtengine::min(std::sqrt(rtengine::SQR(sumXL) + rtengine::SQR(sumYL)), 32767.f); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In lambda function: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:2185:84: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 2185 | x = intp(comprfactorlog, (std::tanh((x - comprthlog) / comprthlog) + 1.f) * comprthlog, x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:2185:91: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 2185 | x = intp(comprfactorlog, (std::tanh((x - comprthlog) / comprthlog) + 1.f) * comprthlog, x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:2185:25: error: no matching function for call to 'intp(const float&, double, float&)' 2185 | x = intp(comprfactorlog, (std::tanh((x - comprthlog) / comprthlog) + 1.f) * comprthlog, x); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:115:13: note: candidate: 'template constexpr T rtengine::intp(T, T, T)' 115 | constexpr T intp(T a, T b, T c) | ^~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:115:13: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:2185:25: note: deduced conflicting types for parameter 'T' ('float' and 'double') 2185 | x = intp(comprfactorlog, (std::tanh((x - comprthlog) / comprthlog) + 1.f) * comprthlog, x); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::ciecamloc_02float(rtengine::local_params&, int, rtengine::LabImage*, int, int, int, int, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const rtengine::LocCHCurve&, const rtengine::LocHHCurve&, const rtengine::LocLHCurve&, bool, bool, bool, const rtengine::LocwavCurve&, bool, float&, float&, float&)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:2994:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 2994 | hist16Qthr[CLIP((int)(32768.f * sqrt((koef * (lab->L[i][j])) / 32768.f)))]++; //for brightness Q : approximation for Q=wh*sqrt(J/100) J not equal L | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:3753:70: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 3753 | if (lp.softrjz >= 0.5f && (wavcurvejz || std::fabs(mjjz) > 0.001f)) {//guidedfilter | ~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:3847:84: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 3847 | chro[y][x] = sqrt(SQR(temp->b[y][x]) + SQR(temp->a[y][x])) / 32768.f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In lambda function: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:4235:75: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 4235 | x = intp(comprfactor, (std::tanh((x - comprth) / comprth) + 1.f) * comprth, x); //as sigmoid... but tanh (tg hyperbolic), inspired by the work of alberto Grigio | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:4235:82: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 4235 | x = intp(comprfactor, (std::tanh((x - comprth) / comprth) + 1.f) * comprth, x); //as sigmoid... but tanh (tg hyperbolic), inspired by the work of alberto Grigio | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:4235:25: error: no matching function for call to 'intp(const float&, double, float&)' 4235 | x = intp(comprfactor, (std::tanh((x - comprth) / comprth) + 1.f) * comprth, x); //as sigmoid... but tanh (tg hyperbolic), inspired by the work of alberto Grigio | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:115:13: note: candidate: 'template constexpr T rtengine::intp(T, T, T)' 115 | constexpr T intp(T a, T b, T c) | ^~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:115:13: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:4235:25: note: deduced conflicting types for parameter 'T' ('float' and 'double') 4235 | x = intp(comprfactor, (std::tanh((x - comprth) / comprth) + 1.f) * comprth, x); //as sigmoid... but tanh (tg hyperbolic), inspired by the work of alberto Grigio | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::DeNoise_Local(int, const rtengine::local_params&, rtengine::LabImage*, int, float, float, float, rtengine::LabImage*, rtengine::LabImage*, const rtengine::LabImage&, int, int, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5000:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5000 | const float refa = chromaref * std::cos(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5000:53: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5000 | const float refa = chromaref * std::cos(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5001:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5001 | const float refb = chromaref * std::sin(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5001:53: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5001 | const float refb = chromaref * std::sin(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5077:165: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5077 | const float dEL = std::sqrt(0.9f * SQR(refa - maskptr->a[y][x]) + 0.9f * SQR(refb - maskptr->b[y][x]) + 1.2f * SQR(lumaref - maskptr->L[y][x])) * r327d68; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5078:164: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5078 | const float dEa = std::sqrt(1.2f * SQR(refa - maskptr->a[y][x]) + 1.f * SQR(refb - maskptr->b[y][x]) + 0.8f * SQR(lumaref - maskptr->L[y][x])) * r327d68; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5079:164: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5079 | const float dEb = std::sqrt(1.f * SQR(refa - maskptr->a[y][x]) + 1.2f * SQR(refb - maskptr->b[y][x]) + 0.8f * SQR(lumaref - maskptr->L[y][x])) * r327d68; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::DeNoise_Local2(const rtengine::local_params&, rtengine::LabImage*, int, float, float, float, rtengine::LabImage*, rtengine::LabImage*, const rtengine::LabImage&, int, int, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5165:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5165 | const float refa = chromaref * std::cos(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5165:53: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5165 | const float refa = chromaref * std::cos(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5166:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5166 | const float refb = chromaref * std::sin(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5166:53: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5166 | const float refb = chromaref * std::sin(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5242:165: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5242 | const float dEL = std::sqrt(0.9f * SQR(refa - maskptr->a[y][x]) + 0.9f * SQR(refb - maskptr->b[y][x]) + 1.2f * SQR(lumaref - maskptr->L[y][x])) * r327d68; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5243:164: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5243 | const float dEa = std::sqrt(1.2f * SQR(refa - maskptr->a[y][x]) + 1.f * SQR(refb - maskptr->b[y][x]) + 0.8f * SQR(lumaref - maskptr->L[y][x])) * r327d68; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5244:164: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5244 | const float dEb = std::sqrt(1.f * SQR(refa - maskptr->a[y][x]) + 1.2f * SQR(refb - maskptr->b[y][x]) + 0.8f * SQR(lumaref - maskptr->L[y][x])) * r327d68; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::InverseReti_Local(const rtengine::local_params&, float, float, float, rtengine::LabImage*, rtengine::LabImage*, const rtengine::LabImage*, int, int, int, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5303:28: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5303 | float refa = chromaref * cos(hueref); | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5304:28: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5304 | float refb = chromaref * sin(hueref); | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::InverseBlurNoise_Local(rtengine::LabImage*, const rtengine::local_params&, float, float, float, rtengine::LabImage*, rtengine::LabImage*, const rtengine::LabImage*, int, int, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5423:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5423 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5423:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5423 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5424:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5424 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5424:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5424 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5500:101: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5500 | float chrodelta2 = SQR(std::sqrt(SQR(maskptr->a[y][x]) + SQR(maskptr->b[y][x])) - (chromaref * 327.68f)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In function 'void rtengine::mean_fab(int, int, int, int, LabImage*, int, const LabImage*, float&, float&, float&, float, bool)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5609:79: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5609 | som += static_cast(SQR(std::fabs(bufexporig->a[y][x]) - meanfab) + SQR(std::fabs(bufexporig->b[y][x]) - meanfab)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5609:127: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5609 | som += static_cast(SQR(std::fabs(bufexporig->a[y][x]) - meanfab) + SQR(std::fabs(bufexporig->b[y][x]) - meanfab)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::deltaEforMask(float**, int, int, rtengine::LabImage*, float, float, float, float, float, float, float, float, float, int, float, float)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5953:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5953 | const float refa = chromaref * cos(hueref); | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5954:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5954 | const float refb = chromaref * sin(hueref); | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5969:105: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5969 | const float chrodelta2 = SQR(std::sqrt(SQR(bufcolorig->a[y][x]) + SQR(bufcolorig->b[y][x])) / 327.68f - chromaref); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:5969:115: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 5969 | const float chrodelta2 = SQR(std::sqrt(SQR(bufcolorig->a[y][x]) + SQR(bufcolorig->b[y][x])) / 327.68f - chromaref); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::discrete_laplacian_threshold(float*, const float*, std::size_t, std::size_t, float)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:6124:40: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 6124 | val += std::fabs(diff) > t ? diff : 0.f; | ~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:6129:40: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 6129 | val += std::fabs(diff) > t ? diff : 0.f; | ~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:6135:40: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 6135 | val += std::fabs(diff) > t ? diff : 0.f; | ~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:6140:40: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 6140 | val += std::fabs(diff) > t ? diff : 0.f; | ~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::maskcalccol(bool, bool, int, int, int, int, int, int, int, rtengine::LabImage*, rtengine::LabImage*, rtengine::LabImage*, rtengine::LabImage*, rtengine::LabImage*, int, rtengine::local_params&, float, bool, const rtengine::LocCCmaskCurve&, bool, const rtengine::LocLLmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, bool, bool, bool, bool, bool, bool, bool, float, float, float, float, float, float, float, int, int, float, float, const LUTf&, bool, const rtengine::LocwavCurve&, bool, int, int, int, int, int, bool, float, float, float, float, float, float, float, float, float, int, bool, float, float, int, float&)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:6546:35: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 6546 | float radblur = 0.02f * std::fabs(0.1f * rad);//empirical value | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:6570:44: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 6570 | float radblur = 0.25f + 0.002f * std::fabs(rad);//empirical value | ~~~~~~~^~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:6570:35: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 6570 | float radblur = 0.25f + 0.002f * std::fabs(rad);//empirical value | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:6818:143: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 6818 | kmaskC = LIM01(kinv - kneg * locccmasCurve[500.f * (0.0001f + std::sqrt(SQR(tmpab.a[ir][jr]) + SQR(tmpab.b[ir][jr])) / fab)]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:6818:86: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 6818 | kmaskC = LIM01(kinv - kneg * locccmasCurve[500.f * (0.0001f + std::sqrt(SQR(tmpab.a[ir][jr]) + SQR(tmpab.b[ir][jr])) / fab)]); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:6818:75: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 6818 | kmaskC = LIM01(kinv - kneg * locccmasCurve[500.f * (0.0001f + std::sqrt(SQR(tmpab.a[ir][jr]) + SQR(tmpab.b[ir][jr])) / fab)]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::InverseSharp_Local(float**, float, float, float, rtengine::local_params&, rtengine::LabImage*, rtengine::LabImage*, int, int, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7236:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7236 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7236:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7236 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7237:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7237 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7237:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7237 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7297:105: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7297 | const float chrodelta2 = SQR(std::sqrt(SQR(origblur->a[y][x]) + SQR(origblur->b[y][x])) - (chromaref * 327.68f)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::Sharp_Local(int, float**, int, float, float, float, rtengine::local_params&, rtengine::LabImage*, rtengine::LabImage*, int, int, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7397:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7397 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7397:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7397 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7398:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7398 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7398:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7398 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7450:105: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7450 | const float chrodelta2 = SQR(std::sqrt(SQR(origblur->a[y][x]) + SQR(origblur->b[y][x])) - (chromaref * 327.68f)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::Exclude_Local(float**, float, float, float, float, float, const rtengine::local_params&, const rtengine::LabImage*, rtengine::LabImage*, const rtengine::LabImage*, const rtengine::LabImage*, int, int, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7506:38: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7506 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7506:52: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7506 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7507:38: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7507 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7507:52: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7507 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7603:103: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7603 | float chrodelta2 = SQR(std::sqrt(SQR(origblur->a[y][x]) + SQR(origblur->b[y][x])) - (chromaref * 327.68f)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::transit_shapedetect_retinex(int, int, rtengine::LabImage*, rtengine::LabImage*, rtengine::LabImage*, rtengine::LabImage*, float**, float**, float, float, float, rtengine::local_params&, rtengine::LabImage*, rtengine::LabImage*, int, int, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7653:38: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7653 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7653:52: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7653 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7654:38: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7654 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7654:52: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7654 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7739:101: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7739 | chrodelta2 = SQR(std::sqrt(SQR(origblur->a[y][x]) + SQR(origblur->b[y][x])) - (chromaref * 327.68f)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7745:145: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7745 | chrodelta2 = SQR(std::sqrt(SQR(buforigmas->a[y - ystart][x - xstart]) + SQR(buforigmas->b[y - ystart][x - xstart])) - (chromaref * 327.68f)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7751:109: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7751 | chrodelta2 = SQR(std::sqrt(SQR(buforigmas->a[y][x]) + SQR(buforigmas->b[y][x])) - (chromaref * 327.68f)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::transit_shapedetect(int, const rtengine::LabImage*, rtengine::LabImage*, float**, bool, float, float, float, float, float, float**, const rtengine::local_params&, rtengine::LabImage*, rtengine::LabImage*, int, int, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7895:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7895 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7895:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7895 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7896:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7896 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:7896:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7896 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:8066:39: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 8066 | const float dE = rsob + std::sqrt(kab * (SQR(refa - maskptr->a[y - ystart][x - xstart]) + SQR(refb - maskptr->b[y - ystart][x - xstart])) + kL * SQR(refL - maskptr->L[y - ystart][x - xstart])); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:8082:81: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 8082 | float difab = bufexporig->L[y - ystart][x - xstart] - std::sqrt(SQR(original->a[y][x]) + SQR(original->b[y][x])); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:8115:53: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 8115 | if (std::fabs(difb) < 500.f) { | ~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::InverseColorLight_Local(bool, bool, int, int, rtengine::local_params&, rtengine::LabImage*, const LUTf&, const LUTf&, const LUTf&, const LUTf&, const LUTf&, const LUTf&, float, bool, const LUTf&, bool, rtengine::LabImage*, rtengine::LabImage*, int, int, float, float, float, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:8147:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 8147 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:8147:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 8147 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:8148:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 8148 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:8148:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 8148 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:8339:50: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 8339 | if (std::fabs(origblur->b[y][x]) < 0.01f) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:8361:111: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 8361 | const float chrodelta2 = SQR(std::sqrt(SQR(maskptr->a[y][x]) + SQR(maskptr->b[y][x])) - (chromaref * 327.68f)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::BlurNoise_Local(rtengine::LabImage*, rtengine::LabImage*, float, float, float, rtengine::local_params&, rtengine::LabImage*, rtengine::LabImage*, int, int, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:8831:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 8831 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:8831:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 8831 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:8832:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 8832 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:8832:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 8832 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:8913:103: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 8913 | const float chrodelta2 = SQR(std::sqrt(SQR(maskptr->a[y][x]) + SQR(maskptr->b[y][x])) - chromaref * 327.68f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::transit_shapedetect2(int, float, float, int, int, const rtengine::LabImage*, const rtengine::LabImage*, rtengine::LabImage*, float, float, float, float, float, float**, rtengine::local_params&, rtengine::LabImage*, rtengine::LabImage*, int, int, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9025:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9025 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9025:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9025 | const float refa = chromaref * cos(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9026:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9026 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9026:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9026 | const float refb = chromaref * sin(hueref) * 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9302:97: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9302 | float chrodelta2 = SQR(std::sqrt(SQR(maskptr->a[y][x]) + SQR(maskptr->b[y][x])) - (chromaref * 327.68f)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9305:39: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9305 | const float dE = rsob + std::sqrt(kab * (kch * chrodelta2 + kH * huedelta2) + kL * SQR(refL - maskptr->L[y][x])); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::fftw_convol_blur(float*, float*, int, int, float, int, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9552:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9552 | kern[ i + index] = radsig * exp((float)(-(n_x * i * i + n_y * j * j) / (2.f * radius * radius))); //calculate Gauss kernel with Gauss formula | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9588:36: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9588 | out[i + index] *= exp((float)(-radius) * (n_x * i * i + n_y * j * j)); //apply Gauss kernel without FFT - some authors says radius*radius but differences with Gaussianblur | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9600:46: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9600 | out[i + index] *= radsig * exp((float)(-(n_x * i * i + n_y * j * j) / (2.f * radius * radius))); //calculate Gauss kernel with Gauss formula | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9600:36: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9600 | out[i + index] *= radsig * exp((float)(-(n_x * i * i + n_y * j * j) / (2.f * radius * radius))); //calculate Gauss kernel with Gauss formula | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::fftw_tile_blur(int, int, int, int, int, float**, int, double)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9704:36: warning: implicit conversion from 'float' to 'double' to match other result of conditional [-Wdouble-promotion] 9704 | float vmask = (i1 < border ? SQR(sin((rtengine::RT_PI_F * i1) / (2 * border))) : 1.0f); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9705:41: warning: implicit conversion from 'float' to 'double' to match other result of conditional [-Wdouble-promotion] 9705 | float vmask2 = (i1 < 2 * border ? SQR(sin((rtengine::RT_PI_F * i1) / (2 * border))) : 1.0f); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9709:55: warning: implicit conversion from 'float' to 'double' to match other result of conditional [-Wdouble-promotion] 9709 | tilemask_in[i][j] = (vmask * (j1 < border ? SQR(sin((rtengine::RT_PI_F * j1) / (2 * border))) : 1.0f)) + epsil; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9709:40: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9709 | tilemask_in[i][j] = (vmask * (j1 < border ? SQR(sin((rtengine::RT_PI_F * j1) / (2 * border))) : 1.0f)) + epsil; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9709:116: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9709 | tilemask_in[i][j] = (vmask * (j1 < border ? SQR(sin((rtengine::RT_PI_F * j1) / (2 * border))) : 1.0f)) + epsil; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9710:61: warning: implicit conversion from 'float' to 'double' to match other result of conditional [-Wdouble-promotion] 9710 | tilemask_out[i][j] = (vmask2 * (j1 < 2 * border ? SQR(sin((rtengine::RT_PI_F * j1) / (2 * border))) : 1.0f)) + epsil; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9710:42: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9710 | tilemask_out[i][j] = (vmask2 * (j1 < 2 * border ? SQR(sin((rtengine::RT_PI_F * j1) / (2 * border))) : 1.0f)) + epsil; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9710:122: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9710 | tilemask_out[i][j] = (vmask2 * (j1 < 2 * border ? SQR(sin((rtengine::RT_PI_F * j1) / (2 * border))) : 1.0f)) + epsil; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:9821:54: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 9821 | fLblox[blkstart + index + i] *= exp((float)(-radius) * (n_xy * rtengine::SQR(i) + n_xy * rtengine::SQR(j))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::wavcont(const rtengine::local_params&, float**, rtengine::wavelet_decomposition&, int, int, const rtengine::LocwavCurve&, bool, const rtengine::LocwavCurve&, bool, const rtengine::LocwavCurve&, bool, float, int, float, float, float, float)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:10240:73: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 10240 | WavL[j] = intp((*meaLut)[std::fabs(WavL[j]) * lutFactor], templevel[y][x], WavL[j]); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:10306:107: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 10306 | WavL[i * W_L + j] *= pow_F(1.f + kba * (*meaLut)[std::fabs(WavL[i * W_L + j]) * lutFactor], itf); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/opthelper.h:23:37: note: in definition of macro 'pow_F' 23 | #define pow_F(a,b) (xexpf((b)*xlogf(a))) | ^ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:10383:75: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 10383 | wav_L[j] = intp((*meaLut)[std::fabs(wav_L[j]) * lutFactor], templevel[y][x], wav_L[j]); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::wavcontrast4(rtengine::local_params&, float**, float**, float**, float, float, float, int, int, int, int, int, int, int, int, const rtengine::LocwavCurve&, bool, bool, const rtengine::LocwavCurve&, bool, bool, const rtengine::LocwavCurve&, bool, bool, const rtengine::LocwavCurve&, bool, bool, const rtengine::LocwavCurve&, bool, bool, const rtengine::LocwavCurve&, bool, float, float, int&, float, float, float, float, bool, bool, bool, bool, bool, float, float)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:10749:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 10749 | interm = std::sqrt(interm) * 0.57736721f; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:10909:58: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 10909 | if (std::fabs(wav_L[dir][k]) >= mean[lvl] + sigma[lvl]) { //for max | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:10911:65: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 10911 | } else if (std::fabs(wav_L[dir][k]) >= mean[lvl]) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:10912:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 10912 | absciss = asig * std::fabs(wav_L[dir][k]) + bsig; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:10912:75: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 10912 | absciss = asig * std::fabs(wav_L[dir][k]) + bsig; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:10914:49: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 10914 | absciss = amean * std::fabs(wav_L[dir][k]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:10951:102: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 10951 | wav_L[dir][k] *= 1.f + (edge - 1.f) * (*meaLut)[std::fabs(wav_L[dir][k]) * lutFactor]; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::fftw_denoise(int, int, int, int, int, float**, array2D*, int, const rtengine::local_params&, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:11150:36: warning: implicit conversion from 'float' to 'double' to match other result of conditional [-Wdouble-promotion] 11150 | float vmask = (i1 < border ? SQR(sin((rtengine::RT_PI_F * i1) / (2 * border))) : 1.0f); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:11151:41: warning: implicit conversion from 'float' to 'double' to match other result of conditional [-Wdouble-promotion] 11151 | float vmask2 = (i1 < 2 * border ? SQR(sin((rtengine::RT_PI_F * i1) / (2 * border))) : 1.0f); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:11155:55: warning: implicit conversion from 'float' to 'double' to match other result of conditional [-Wdouble-promotion] 11155 | tilemask_in[i][j] = (vmask * (j1 < border ? SQR(sin((rtengine::RT_PI_F * j1) / (2 * border))) : 1.0f)) + epsilonw; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:11155:40: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 11155 | tilemask_in[i][j] = (vmask * (j1 < border ? SQR(sin((rtengine::RT_PI_F * j1) / (2 * border))) : 1.0f)) + epsilonw; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:11155:116: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 11155 | tilemask_in[i][j] = (vmask * (j1 < border ? SQR(sin((rtengine::RT_PI_F * j1) / (2 * border))) : 1.0f)) + epsilonw; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:11156:61: warning: implicit conversion from 'float' to 'double' to match other result of conditional [-Wdouble-promotion] 11156 | tilemask_out[i][j] = (vmask2 * (j1 < 2 * border ? SQR(sin((rtengine::RT_PI_F * j1) / (2 * border))) : 1.0f)) + epsilonw; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:11156:42: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 11156 | tilemask_out[i][j] = (vmask2 * (j1 < 2 * border ? SQR(sin((rtengine::RT_PI_F * j1) / (2 * border))) : 1.0f)) + epsilonw; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:11156:122: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 11156 | tilemask_out[i][j] = (vmask2 * (j1 < 2 * border ? SQR(sin((rtengine::RT_PI_F * j1) / (2 * border))) : 1.0f)) + epsilonw; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:11340:36: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 11340 | const float beta = 1.f + std::sqrt(log2lin(thr, 100.f)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::DeNoise(int, int, bool, const rtengine::local_params&, rtengine::LabImage*, rtengine::LabImage*, int, float, float, float, rtengine::LabImage*, rtengine::LabImage*, int, int, int, const rtengine::LocwavCurve&, bool, float&, float&, float&, float&, float&, float&, float&, float&)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:12123:59: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 12123 | highresi = chresid + 0.5f * (sqrt(chmaxresid) - chresid); //evaluate sigma | ~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:12123:39: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 12123 | highresi = chresid + 0.5f * (sqrt(chmaxresid) - chresid); //evaluate sigma | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:12123:32: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 12123 | highresi = chresid + 0.5f * (sqrt(chmaxresid) - chresid); //evaluate sigma | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:12139:65: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 12139 | highresi46 = chresid46 + 0.5f * (sqrt(chmaxresid46) - chresid46); //evaluate sigma | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:12139:43: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 12139 | highresi46 = chresid46 + 0.5f * (sqrt(chmaxresid46) - chresid46); //evaluate sigma | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:12139:36: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 12139 | highresi46 = chresid46 + 0.5f * (sqrt(chmaxresid46) - chresid46); //evaluate sigma | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:12150:58: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 12150 | Lhighresi = Lresid + 0.5f * (sqrt(Lmaxresid) - Lresid); //evaluate sigma | ~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:12150:39: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 12150 | Lhighresi = Lresid + 0.5f * (sqrt(Lmaxresid) - Lresid); //evaluate sigma | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:12150:32: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 12150 | Lhighresi = Lresid + 0.5f * (sqrt(Lmaxresid) - Lresid); //evaluate sigma | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:12159:64: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 12159 | Lhighresi46 = Lresid46 + 0.5f * (sqrt(Lmaxresid46) - Lresid46); //evaluate sigma | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:12159:43: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 12159 | Lhighresi46 = Lresid46 + 0.5f * (sqrt(Lmaxresid46) - Lresid46); //evaluate sigma | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:12159:36: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 12159 | Lhighresi46 = Lresid46 + 0.5f * (sqrt(Lmaxresid46) - Lresid46); //evaluate sigma | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::avoidcolshi(const rtengine::local_params&, int, rtengine::LabImage*, rtengine::LabImage*, int, int, int)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:13231:68: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 13231 | Chprov1 = std::sqrt(SQR(aag2) + SQR(bbg2)) / 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:13251:68: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 13251 | float Chprov = sqrt(SQR(anew) + SQR(bnew)) / 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:13256:108: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 13256 | const float memChprov = std::sqrt(SQR(reserved->a[y][x]) + SQR(reserved->b[y][x])) / 327.68f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:13265:58: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 13265 | if (std::fabs(correctionHue) < 0.015f) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:13328:102: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 13328 | blechro[y][x] = std::sqrt(SQR(transformed->b[y][x]) + SQR(transformed->a[y][x])) / 32768.f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc: In member function 'void rtengine::ImProcFunctions::Lab_Local(int, int, float**, rtengine::LabImage*, rtengine::LabImage*, rtengine::LabImage*, rtengine::LabImage*, rtengine::LabImage*, rtengine::LabImage*, int, int, int, int, int, int, int, const rtengine::LocretigainCurve&, const rtengine::LocretitransCurve&, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const rtengine::LocLHCurve&, const rtengine::LocHHCurve&, const rtengine::LocCHCurve&, const rtengine::LocHHCurve&, const rtengine::LocCHCurve&, const rtengine::LocLHCurve&, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const LUTf&, bool, const rtengine::LocCCmaskCurve&, bool, const rtengine::LocLLmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocCCmaskCurve&, bool, const rtengine::LocLLmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocCCmaskCurve&, bool, const rtengine::LocLLmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocCCmaskCurve&, bool, const rtengine::LocLLmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocCCmaskCurve&, bool, const rtengine::LocLLmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocCCmaskCurve&, bool, const rtengine::LocLLmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocCCmaskCurve&, bool, const rtengine::LocLLmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocCCmaskCurve&, bool, const rtengine::LocLLmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocCCmaskCurve&, bool, const rtengine::LocLLmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocCCmaskCurve&, bool, const rtengine::LocLLmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocCCmaskCurve&, bool, const rtengine::LocLLmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocCCmaskCurve&, bool, const rtengine::LocLLmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocHHmaskCurve&, bool, const rtengine::LocwavCurve&, bool, const rtengine::LocwavCurve&, bool, const rtengine::LocwavCurve&, bool, const rtengine::LocwavCurve&, bool, const rtengine::LocwavCurve&, bool, const rtengine::LocwavCurve&, bool, const rtengine::LocwavCurve&, bool, const rtengine::LocwavCurve&, bool, const rtengine::LocwavCurve&, bool, const rtengine::LocwavCurve&, bool, const rtengine::LocwavCurve&, bool, const rtengine::LocwavCurve&, bool, const rtengine::LocwavCurve&, bool, bool, bool, bool, bool, bool, bool, const LUTf&, bool, const LUTf&, bool, bool, const LUTf&, const LUTf&, const LUTf&, const LUTf&, const LUTf&, double&, double&, double&, double&, double&, double&, double&, int&, bool, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&, int&, int&, float&, float&, float&, float&, float&, float&, float&, float&, float&, float&)': /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:15226:40: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 15226 | float coef = 0.01f * rtengine::max(std::fabs(minL), std::fabs(maxL)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:15227:41: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 15227 | float coefC = 0.01f * rtengine::max(std::fabs(minC), std::fabs(maxC)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:15554:38: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 15554 | const float coef = 0.01f * rtengine::max(std::fabs(minL), std::fabs(maxL)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:15639:85: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 15639 | float minC = std::sqrt(SQR(tmpl->a[0][0]) + SQR(tmpl->b[0][0])) - orig1[0][0]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:15647:102: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 15647 | bufchro[ir][jr] = std::sqrt(SQR(tmpl->a[ir][jr]) + SQR(tmpl->b[ir][jr])) - orig1[ir][jr]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:15653:41: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 15653 | float coefC = 0.01f * rtengine::max(std::fabs(minC), std::fabs(maxC)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:15908:36: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 15908 | float coef = 0.01f * rtengine::max(std::fabs(minL), std::fabs(maxL)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:15994:85: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 15994 | float minC = std::sqrt(SQR(tmpl->a[0][0]) + SQR(tmpl->b[0][0])) - orig1[0][0]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:16002:102: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 16002 | bufchro[ir][jr] = std::sqrt(SQR(tmpl->a[ir][jr]) + SQR(tmpl->b[ir][jr])) - orig1[ir][jr]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:16008:41: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 16008 | float coefC = 0.01f * rtengine::max(std::fabs(minC), std::fabs(maxC)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:16238:51: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 16238 | float minC = loctemp->L[0][0] - std::sqrt(SQR(loctemp->a[0][0]) + SQR(loctemp->b[0][0])); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:16246:68: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 16246 | bufchrom[ir][jr] = (loctemp->L[ir][jr] - std::sqrt(SQR(loctemp->a[ir][jr]) + SQR(loctemp->b[ir][jr]))); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:16252:41: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 16252 | float coefC = 0.01f * rtengine::max(std::fabs(minC), std::fabs(maxC)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:17509:152: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 17509 | if (softr != 0.f && (compreena || locwavCurve || comprena || blurena || levelena || lp.wavgradl || lp.edgwena || std::fabs(mL) > 0.001f)) { | ~~~~~~~~~~~~~~^~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:18851:104: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 18851 | const float chromat = (std::sqrt(SQR(bufcolcalca) + SQR(bufcolcalcb))) / 32768.f; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:19259:69: error: no matching function for call to 'intp(float&, double, float&)' 19259 | tmpImageorig->r(y, x) = intp(lp.opacol, std::fabs(tmpImageorig->r(y, x) - tmpImagereserv->r(y, x)), tmpImageorig->r(y, x)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:115:13: note: candidate: 'template constexpr T rtengine::intp(T, T, T)' 115 | constexpr T intp(T a, T b, T c) | ^~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:115:13: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:19259:69: note: deduced conflicting types for parameter 'T' ('float' and 'double') 19259 | tmpImageorig->r(y, x) = intp(lp.opacol, std::fabs(tmpImageorig->r(y, x) - tmpImagereserv->r(y, x)), tmpImageorig->r(y, x)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:19260:69: error: no matching function for call to 'intp(float&, double, float&)' 19260 | tmpImageorig->g(y, x) = intp(lp.opacol, std::fabs(tmpImageorig->g(y, x) - tmpImagereserv->g(y, x)), tmpImageorig->g(y, x)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:115:13: note: candidate: 'template constexpr T rtengine::intp(T, T, T)' 115 | constexpr T intp(T a, T b, T c) | ^~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:115:13: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:19260:69: note: deduced conflicting types for parameter 'T' ('float' and 'double') 19260 | tmpImageorig->g(y, x) = intp(lp.opacol, std::fabs(tmpImageorig->g(y, x) - tmpImagereserv->g(y, x)), tmpImageorig->g(y, x)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:19261:69: error: no matching function for call to 'intp(float&, double, float&)' 19261 | tmpImageorig->b(y, x) = intp(lp.opacol, std::fabs(tmpImageorig->b(y, x) - tmpImagereserv->b(y, x)), tmpImageorig->b(y, x)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:115:13: note: candidate: 'template constexpr T rtengine::intp(T, T, T)' 115 | constexpr T intp(T a, T b, T c) | ^~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/rt_math.h:115:13: note: template argument deduction/substitution failed: /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:19261:69: note: deduced conflicting types for parameter 'T' ('float' and 'double') 19261 | tmpImageorig->b(y, x) = intp(lp.opacol, std::fabs(tmpImageorig->b(y, x) - tmpImagereserv->b(y, x)), tmpImageorig->b(y, x)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:20273:65: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 20273 | float white_point = xexpf(lp.whiteevjz * std::log(2.f) + xlogf(mid_gray));//lp.whiteevjz White_Ev | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:20273:81: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 20273 | float white_point = xexpf(lp.whiteevjz * std::log(2.f) + xlogf(mid_gray));//lp.whiteevjz White_Ev | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:20275:65: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 20275 | float black_point = xexpf(lp.blackevjz * std::log(2.f) + xlogf(mid_gray));//lp.blackevjz Black_Ev | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/iplocallab.cc:20275:81: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 20275 | float black_point = xexpf(lp.blackevjz * std::log(2.f) + xlogf(mid_gray));//lp.blackevjz Black_Ev | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ --- rtengine/CMakeFiles/rtengine.dir/iplocallab.cc.o --- *** [rtengine/CMakeFiles/rtengine.dir/iplocallab.cc.o] Error code 1 bmake[2]: stopped making "rtengine/CMakeFiles/rtengine.dir/build" in /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/cmake-pkgsrc-build bmake[2]: 2 errors bmake[2]: stopped making "rtengine/CMakeFiles/rtengine.dir/build" in /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/cmake-pkgsrc-build --- rtengine/CMakeFiles/rtengine.dir/all --- *** [rtengine/CMakeFiles/rtengine.dir/all] Error code 2 bmake[1]: stopped making "all" in /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/cmake-pkgsrc-build bmake[1]: 1 error bmake[1]: stopped making "all" in /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/cmake-pkgsrc-build *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/cmake-pkgsrc-build bmake: 1 error bmake: stopped making "all" in /tmp/work/graphics/rawtherapee/work/rawtherapee-5.11/cmake-pkgsrc-build *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/graphics/rawtherapee *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/graphics/rawtherapee