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

◆ primariesName()

const char * fl::fled::anonymous_namespace{builder.cpp.hpp}::primariesName ( ColorPrimaries p)

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

71 {
72 switch (p) {
73 case ColorPrimaries::Bt709: return "bt709";
74 case ColorPrimaries::DisplayP3: return "display-p3";
75 case ColorPrimaries::Bt2020: return "bt2020";
76 case ColorPrimaries::Custom: return nullptr; // emitted as an object
77 }
78 return "bt709";
79}

References fl::fled::Bt2020, fl::fled::Bt709, fl::fled::Custom, fl::fled::DisplayP3, fl::FL_NO_EXCEPT, and primariesName().

Referenced by primariesName(), and serializeVideoColor().

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