Definition at line 345 of file rgbw_colorimetric.h.
345 {
346 const float scaled = v *
static_cast<float>(
kLutQ) + 0.5f;
347 if (scaled <= -32768.0f) return -32768;
348 if (scaled >= 32767.0f) return 32767;
349 return static_cast<i16>(scaled);
350}
References FL_NOEXCEPT, and kLutQ.