FastLED 3.10.6
Loading...
Searching...
No Matches

◆ buildGamutMapQ16()

bool fl::buildGamutMapQ16 ( const colorimetric_response::EmitterProfile & profile,
GamutMapQ16 * out )

Derive the mapper for a three-emitter profile.

False on the same degenerate profiles buildRgbSolveMatrixQ16 rejects, and on a profile that cannot reach any neutral at all.

Definition at line 290 of file gamut_map.cpp.hpp.

290 {
291 if (out == nullptr) {
292 return false;
293 }
294 if (!buildRgbSolveMatrixQ16(profile, &out->solve)) {
295 return false;
296 }
297 return buildGamutMapFromSolveQ16(out->solve, out);
298}
bool buildGamutMapFromSolveQ16(const EmitterSolveMatrixQ16 &solve, GamutMapQ16 *out) FL_NO_EXCEPT
Build a mapper from a bind-time solve already transformed into D65 working coordinates.
bool buildRgbSolveMatrixQ16(const colorimetric_response::EmitterProfile &profile, EmitterSolveMatrixQ16 *out) FL_NO_EXCEPT
Invert the emitter matrix for a three-emitter profile.
EmitterSolveMatrixQ16 solve
Definition gamut_map.h:44

References buildGamutMapFromSolveQ16(), buildRgbSolveMatrixQ16(), and FL_NO_EXCEPT.

Referenced by buildStreamingPipelineQ16().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: