Small (~ 4%) speedup for perceptual tone curve

This commit is contained in:
heckflosse
2017-12-31 16:58:06 +01:00
parent 4c3e7b8efa
commit 057861b882
2 changed files with 9 additions and 10 deletions

View File

@@ -868,7 +868,7 @@ private:
public:
static void init();
void initApplyState(PerceptualToneCurveState & state, Glib::ustring workingSpace) const;
void Apply(float& r, float& g, float& b, PerceptualToneCurveState & state) const;
void Apply(float& r, float& g, float& b, const PerceptualToneCurveState &state) const;
};
// Standard tone curve