Speedup for DCPProfile::apply(), closes #4294

This commit is contained in:
heckflosse
2018-01-13 12:23:46 +01:00
parent 0e52db3c77
commit 0498048ca0

View File

@@ -1074,7 +1074,7 @@ void DCPProfile::apply(
float s;
float v;
if(Color::rgb2hsvdcp(newr, newg, newb, h , s, v)) {
if (LIKELY(Color::rgb2hsvdcp(newr, newg, newb, h , s, v))) {
hsdApply(delta_info, delta_base, h, s, v);