FastLED 3.10.6
Loading...
Searching...
No Matches
pixel_format.h File Reference
#include "fl/codec/pixel.h"
#include "fl/stl/int.h"
#include "fl/stl/noexcept.h"
+ Include dependency graph for pixel_format.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fl::fled::PixelStorage
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::fled
 

Enumerations

enum class  fl::fled::ComponentByteOrder : fl::u8 { fl::fled::NotApplicable = 0 , fl::fled::LittleEndian , fl::fled::Native }
 
enum class  fl::fled::PixelFormat : fl::u8 {
  fl::fled::Rgb8 = 0x00 , fl::fled::Gray8 = 0x01 , fl::fled::Rgba8 = 0x02 , fl::fled::Rgbw8 = 0x03 ,
  fl::fled::Rgb565Le = 0x04 , fl::fled::Rgb16Linear = 0x05
}
 

Functions

fl::u8 fl::fled::bytesPerLed (fl::u8 pixelFormat) FL_NO_EXCEPT
 
bool fl::fled::toFledPixelFormat (const PixelStorage &storage, const VideoColor &color, PixelFormat *out) FL_NO_EXCEPT
 
bool fl::fled::toPixelStorage (PixelFormat fledFormat, PixelStorage *out) FL_NO_EXCEPT
 

Class Documentation

◆ fl::fled::PixelStorage

struct fl::fled::PixelStorage
Class Members
ComponentByteOrder mComponentByteOrder
PixelFormat mFormat