Small cleanup

Removed unused key TP_FILMNEGATIVE_REF_SPOTS.

Style fix in language string.

generateTranslationDiffs

Film Negative values in History use newlines to reduce required width.

Removed benchmark code.
This commit is contained in:
Morgan Hardwood
2019-07-17 21:23:17 +02:00
parent 275f11e97d
commit a0f2040816
22 changed files with 92 additions and 50 deletions

View File

@@ -175,7 +175,7 @@ void rtengine::RawImageSource::filmNegativeProcess(const procparams::FilmNegativ
static_cast<float>(-params.greenExp),
static_cast<float>(-params.blueRatio * params.greenExp)
};
MyTime t1, t2, t3,t4, t5;
t1.set();

View File

@@ -41,7 +41,6 @@ void rtengine::Thumbnail::processFilmNegative(
const int rwidth, const int rheight,
float &rmi, float &gmi, float &bmi
) {
StopWatch stop1("Thumbnail film negative", true);
// Channel exponents
const float rexp = -params.filmNegative.redRatio * params.filmNegative.greenExp;
@@ -128,4 +127,4 @@ void rtengine::Thumbnail::processFilmNegative(
bline[j] = CLIP(bmult * pow_F(bline[j], bexp));
}
}
}
}