FastLED 3.10.6
Loading...
Searching...
No Matches
fl::fled Namespace Reference

Namespaces

namespace  anonymous_namespace{builder.cpp.hpp}
 
namespace  anonymous_namespace{color.cpp.hpp}
 
namespace  anonymous_namespace{parser.cpp.hpp}
 

Classes

class  FledBuilder
 
class  FledImpl
 
struct  ParsedHeader
 
struct  PixelStorage
 
struct  VideoColor
 
struct  VideoFrameView
 

Enumerations

enum class  ColorMatrix : fl::u8 { Rgb = 0 }
 
enum class  ColorPrimaries : fl::u8 { Bt709 = 0 , DisplayP3 , Bt2020 , Custom }
 
enum class  ColorRange : fl::u8 { Full = 0 }
 
enum class  ColorStatus : fl::u8 {
  Ok = 0 , NullOutput , NoDefaultTuple , NotAnObject ,
  UnknownPrimaries , UnknownTransfer , UnknownMatrix , UnknownRange ,
  TransferConflictsWithFormat , LimitedRangeUnsupported , MatrixUnsupported , IncompleteForFormat ,
  MalformedCustomPrimaries
}
 
enum class  ColorTransfer : fl::u8 { Srgb = 0 , Bt709 , Linear }
 
enum class  ComponentByteOrder : fl::u8 { NotApplicable = 0 , LittleEndian , Native }
 
enum class  PixelFormat : fl::u8 {
  Rgb8 = 0x00 , Gray8 = 0x01 , Rgba8 = 0x02 , Rgbw8 = 0x03 ,
  Rgb565Le = 0x04 , Rgb16Linear = 0x05
}
 

Functions

fl::u8 bytesPerLed (fl::u8 pixelFormat) FL_NO_EXCEPT
 
const char * colorStatusMessage (ColorStatus status) FL_NO_EXCEPT
 
bool defaultVideoColor (fl::u8 pixelFormat, VideoColor *out) FL_NO_EXCEPT
 
bool parseHeaderAndEnvelope (const fl::u8 *data, fl::size len, ParsedHeader *outHeader, fl::json *outEnvelope) FL_NO_EXCEPT
 
bool pixelFormatHasDefaultTuple (fl::u8 pixelFormat) FL_NO_EXCEPT
 
ColorStatus resolveVideoColor (const fl::json &envelope, fl::u8 pixelFormat, VideoColor *out) FL_NO_EXCEPT
 
ColorStatus resolveVideoColor (const fl::json &envelope, PixelFormat pixelFormat, VideoColor *out) FL_NO_EXCEPT
 
bool sectionNameIsPayload (const char *name) FL_NO_EXCEPT
 
bool toFledPixelFormat (const PixelStorage &storage, const VideoColor &color, PixelFormat *out) FL_NO_EXCEPT
 
bool toPixelStorage (PixelFormat fledFormat, PixelStorage *out) FL_NO_EXCEPT
 
bool toSourceProfile (const VideoColor &color, SourceProfile *out) FL_NO_EXCEPT