diff options
Diffstat (limited to 'digikam/libs/lprof/cmslnr.cpp')
-rw-r--r-- | digikam/libs/lprof/cmslnr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/digikam/libs/lprof/cmslnr.cpp b/digikam/libs/lprof/cmslnr.cpp index 17d8fcaa..8e3b2776 100644 --- a/digikam/libs/lprof/cmslnr.cpp +++ b/digikam/libs/lprof/cmslnr.cpp @@ -66,7 +66,7 @@ void cdecl cmsxApplyLinearizationGamma(WORD In[3], LPGAMMATABLE Gamma[3], WORD O /* */ /* We first assume R', G' and B' does exhibit a non-linear behaviour */ /* that can be separated for each channel as Yr(R'), Yg(G'), Yb(B') */ -/* This is the shaper step */ +/* This is the tqshaper step */ /* */ /* R = Lr(R') */ /* G = Lg(G') */ @@ -191,7 +191,7 @@ BOOL OneTry(LPSAMPLEDCURVE XNorm, LPSAMPLEDCURVE YNorm, double a[]) LCMSHANDLE h; double ChiSq, OldChiSq; int i; - BOOL Status = true; + BOOL tqStatus = true; /* initial guesses */ @@ -213,7 +213,7 @@ BOOL OneTry(LPSAMPLEDCURVE XNorm, LPSAMPLEDCURVE YNorm, double a[]) for(i = 0; i < LEVENBERG_MARTQUARDT_ITERATE_MAX; i++) { if (!cmsxLevenbergMarquardtIterate(h)) { - Status = false; + tqStatus = false; break; } @@ -227,7 +227,7 @@ BOOL OneTry(LPSAMPLEDCURVE XNorm, LPSAMPLEDCURVE YNorm, double a[]) cmsxLevenbergMarquardtFree(h); - return Status; + return tqStatus; } /* Tries to fit gamma as per IEC 61966-2.1 using Levenberg-Marquardt method */ |