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

◆ ColorStatus

enum class fl::fled::ColorStatus : fl::u8
strong
Enumerator
Ok 
NullOutput 
NoDefaultTuple 
NotAnObject 
UnknownPrimaries 
UnknownTransfer 
UnknownMatrix 
UnknownRange 
TransferConflictsWithFormat 
LimitedRangeUnsupported 
MatrixUnsupported 
IncompleteForFormat 
MalformedCustomPrimaries 

Definition at line 54 of file color.h.

54 : fl::u8 {
55 Ok = 0,
56 // Caller passed a null out-pointer. API misuse, not a bad file - kept
57 // distinct so a diagnostic never sends someone hunting a valid envelope.
59 // `video.color` absent on a pixel format that defines no default tuple
60 // (gray8, rgbw8). Not malformed - just undeclared, and unresolvable.
62 // `video.color` present but not a JSON object.
68 // Rules 2/3: display-encoded formats reject linear/pq/hlg;
69 // rgb16_linear rejects anything but linear.
71 // Rule 4: `range: "limited"` is reserved in v1.
73 // Rule 5: any matrix other than `rgb` is reserved in v1.
75 // Rule 6: gray8/rgbw8 must declare all four keys or none.
77 // Rule 7: custom primaries object missing a key or with a malformed pair.
79};
@ TransferConflictsWithFormat
Definition color.h:70
unsigned char u8
Definition stdint.h:131