Speedup for DCPProfile::apply(), closes #4294
This commit is contained in:
@@ -1074,7 +1074,7 @@ void DCPProfile::apply(
|
|||||||
float s;
|
float s;
|
||||||
float v;
|
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);
|
hsdApply(delta_info, delta_base, h, s, v);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user