Speedup for perceptual tone curve #4269

This commit is contained in:
heckflosse
2018-01-05 16:42:22 +01:00
parent 045d11f05f
commit 0fcc1987a5
5 changed files with 282 additions and 245 deletions

View File

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