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

◆ transferName()

const char * fl::fled::anonymous_namespace{builder.cpp.hpp}::transferName ( ColorTransfer t)

Definition at line 81 of file builder.cpp.hpp.

81 {
82 switch (t) {
83 case ColorTransfer::Srgb: return "srgb";
84 case ColorTransfer::Bt709: return "bt709";
85 case ColorTransfer::Linear: return "linear";
86 }
87 return "srgb";
88}

References fl::fled::Bt709, fl::FL_NO_EXCEPT, fl::fled::Linear, fl::fled::Srgb, fl::t, and transferName().

Referenced by serializeVideoColor(), and transferName().

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