B&W: Speedup for Color::trcGammaBW

This commit is contained in:
heckflosse
2016-08-28 14:47:01 +02:00
parent 6d4e82b94f
commit 84614a11e8
3 changed files with 70 additions and 60 deletions

View File

@@ -894,6 +894,9 @@ public:
* @param gammabwb gamma value for red channel [>0]
*/
static void trcGammaBW (float &r, float &g, float &b, float gammabwr, float gammabwg, float gammabwb);
#ifdef __SSE2__
static void trcGammaBWRow (float *r, float *g, float *b, int width, float gammabwr, float gammabwg, float gammabwb);
#endif
/** @brief Compute the B&W constants for the Black and White processing and its GUI