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

Go to the source code of this file.

Namespaces

namespace  fl
 Base definition for an LED controller.
 

Enumerations

enum class  fl::PixelFormat {
  fl::RGB565 , fl::RGB888 , fl::RGBA8888 , fl::YUV420 ,
  fl::Rgb8 = RGB888 , fl::Rgb16 = 4
}
 

Functions

fl::u8 fl::getBytesPerPixel (PixelFormat format) FL_NO_EXCEPT
 
void fl::rgb565ToRgb888 (fl::u16 rgb565, fl::u8 &r, fl::u8 &g, fl::u8 &b) FL_NO_EXCEPT
 
fl::u16 fl::rgb888ToRgb565 (fl::u8 r, fl::u8 g, fl::u8 b) FL_NO_EXCEPT