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

◆ colorStatusMessage()

const char * fl::fled::colorStatusMessage ( ColorStatus status)

Definition at line 333 of file color.cpp.hpp.

333 {
334 switch (status) {
335 case ColorStatus::Ok:
336 return "ok";
338 return "resolveVideoColor called with a null out-pointer";
340 return "video.color is absent and this pixel_format defines no default color tuple";
342 return "video.color must be a JSON object";
344 return "video.color.primaries is not a recognized name or custom xy object";
346 return "video.color.transfer is not a recognized transfer function";
348 return "video.color.matrix is not a recognized value";
350 return "video.color.range is not a recognized value";
352 return "video.color.transfer conflicts with the header pixel_format";
354 return "video.color.range \"limited\" is reserved and unsupported in v1";
356 return "video.color.matrix values other than \"rgb\" are reserved in v1";
358 return "this pixel_format defines no default tuple: video.color must declare all four keys or be absent";
360 return "video.color.primaries object needs red/green/blue/white CIE xy pairs";
361 }
362 return "unknown color status";
363}
@ TransferConflictsWithFormat
Definition color.h:70

References fl::FL_NO_EXCEPT, IncompleteForFormat, LimitedRangeUnsupported, MalformedCustomPrimaries, MatrixUnsupported, NoDefaultTuple, NotAnObject, NullOutput, Ok, TransferConflictsWithFormat, UnknownMatrix, UnknownPrimaries, UnknownRange, and UnknownTransfer.