Merge branch 'dev' into newlocallab

This commit is contained in:
Morgan Hardwood
2019-09-25 12:43:15 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
[Desktop Entry]
Type=Application
Version=1.1
Version=1.0
Name=RawTherapee
GenericName=Raw Photo Editor
GenericName[cs]=Editor raw obrázků

View File

@@ -213,10 +213,12 @@ public:
return r * workingspace[1][0] + g * workingspace[1][1] + b * workingspace[1][2];
}
#ifdef __SSE2__
static vfloat rgbLuminance(vfloat r, vfloat g, vfloat b, const vfloat workingspace[3])
{
return r * workingspace[0] + g * workingspace[1] + b * workingspace[2];
}
#endif
/**
* @brief Convert red/green/blue to L*a*b