Merge branch 'master' into clang-tidy

This commit is contained in:
Flössie
2016-10-18 17:48:50 +02:00
85 changed files with 6870 additions and 2817 deletions

View File

@@ -57,8 +57,8 @@ protected:
Imagefloat *oprevi;
LabImage *oprevl;
LabImage *nprevl;
Image8 *previmg;
Image8 *workimg;
Image8 *previmg; // displayed image in monitor color space, showing the output profile as well (soft-proofing enabled, which then correspond to workimg) or not
Image8 *workimg; // internal image in output color space for analysis
CieImage *ncie;
ImageSource* imgsrc;
@@ -73,8 +73,9 @@ protected:
ImProcFunctions ipf;
Glib::ustring monitorProfile;
RenderingIntent monitorIntent;
bool softProof;
bool gamutCheck;
int scale;
bool highDetailPreprocessComputed;
@@ -90,7 +91,6 @@ protected:
LUTf hltonecurve;
LUTf shtonecurve;
LUTf tonecurve;
float chaut, redaut, blueaut, maxredaut, maxblueaut, minredaut, minblueaut, nresi, highresi, chromina, sigma, lumema;
LUTf lumacurve;
LUTf chroma_acurve;
@@ -179,6 +179,13 @@ protected:
MyMutex mProcessing;
ProcParams params;
// for optimization purpose, the output profile, output rendering intent and
// output BPC will trigger a regeneration of the profile on parameter change only
// and automatically
Glib::ustring lastOutputProfile;
RenderingIntent lastOutputIntent;
bool lastOutputBPC;
// members of the updater:
Glib::Thread* thread;
MyMutex updaterThreadStart;
@@ -256,6 +263,8 @@ public:
void setMonitorProfile (const Glib::ustring& profile, RenderingIntent intent);
void getMonitorProfile (Glib::ustring& profile, RenderingIntent& intent) const;
void setSoftProofing (bool softProof, bool gamutCheck);
void getSoftProofing (bool &softProof, bool &gamutCheck);
bool updateTryLock ()
{
@@ -327,7 +336,7 @@ public:
}
struct DenoiseInfoStore {
DenoiseInfoStore () : valid(false) {}
DenoiseInfoStore () : chM(0), max_r{}, max_b{}, ch_M{}, valid(false) {}
float chM;
float max_r[9];
float max_b[9];