From 2ceda119128d2557289c699b1249a04b1723926b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=B6ssie?= Date: Thu, 5 Dec 2019 09:54:16 +0100 Subject: [PATCH 1/2] Fix Apple build (fixes #5553) --- rtengine/improcfun.cc | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/rtengine/improcfun.cc b/rtengine/improcfun.cc index 40c2de0bd..cb0834570 100644 --- a/rtengine/improcfun.cc +++ b/rtengine/improcfun.cc @@ -17,34 +17,37 @@ * along with RawTherapee. If not, see . */ #include + #include #include + #ifdef _OPENMP #include #endif #include "alignedbuffer.h" +#include "calc_distort.h" +#include "ciecam02.h" #include "cieimage.h" -#include "labimage.h" -#include "rtengine.h" -#include "improcfun.h" +#include "clutstore.h" +#include "color.h" #include "curves.h" #include "dcp.h" +#include "EdgePreservingDecomposition.h" +#include "iccmatrices.h" #include "iccstore.h" #include "imagesource.h" -#include "rtthumbnail.h" -#include "utils.h" -#include "iccmatrices.h" -#include "color.h" -#include "calc_distort.h" -#include "rt_math.h" -#include "EdgePreservingDecomposition.h" #include "improccoordinator.h" -#include "clutstore.h" -#include "ciecam02.h" +#include "improcfun.h" +#include "labimage.h" +#include "procparams.h" +#include "rt_math.h" +#include "rtengine.h" +#include "rtthumbnail.h" #include "satandvalueblendingcurve.h" #include "StopWatch.h" -#include "procparams.h" +#include "utils.h" + #include "../rtgui/editcallbacks.h" #ifdef _DEBUG @@ -299,7 +302,7 @@ void ImProcFunctions::updateColorProfiles (const Glib::ustring& monitorProfile, #if !defined(__APPLE__) // No support for monitor profiles on OS X, all data is sRGB monitor = ICCStore::getInstance()->getProfile (monitorProfile); #else - monitor = ICCStore::getInstance()->getProfile (options.rtSettings.srgb); + monitor = ICCStore::getInstance()->getProfile (settings->srgb); #endif } From 7fd54cb56f45466b8269bbd838e7bbe303a04595 Mon Sep 17 00:00:00 2001 From: Ingo Weyrich Date: Thu, 5 Dec 2019 16:40:44 +0100 Subject: [PATCH 2/2] white level for Fujifilm X10 --- rtengine/camconst.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rtengine/camconst.json b/rtengine/camconst.json index c0d833db7..90e7141fa 100644 --- a/rtengine/camconst.json +++ b/rtengine/camconst.json @@ -1288,6 +1288,11 @@ Camera constants: "ranges": { "white": 16100 } }, + { // Quality C + "make_model": "Fujifilm X10", + "ranges": { "white": 3788 } + }, + { // Quality B "make_model": "FUJIFILM X70", "dcraw_matrix": [ 10450,-4329,-878,-3217,11105,2421,-752,1758,6519 ], // DNG_v9.4 D65