FastLED 3.10.6
Loading...
Searching...
No Matches
source_xyz.cpp.hpp File Reference
+ Include dependency graph for source_xyz.cpp.hpp:
+ 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.
 
namespace  fl::anonymous_namespace{source_xyz.cpp.hpp}
 

Functions

bool fl::buildSourceMatrixQ16 (const RgbPrimaries &primaries, SourceMatrixQ16 *out) FL_NO_EXCEPT
 Quantize the source matrix for primaries.
 
i32 fl::anonymous_namespace{source_xyz.cpp.hpp}::dotRowQ16 (const i32(&row)[3], u16 r, u16 g, u16 b) FL_NO_EXCEPT
 One matrix row against the pixel.
 
void fl::linearRgbToXyzQ16 (const SourceMatrixQ16 &matrix, u16 r, u16 g, u16 b, i32(&out_xyz)[3]) FL_NO_EXCEPT
 One pixel: u16 linear RGB -> s16.16 XYZ.
 
bool fl::anonymous_namespace{source_xyz.cpp.hpp}::sourceChromaticityQ16 (Chromaticity c, i32(&out)[2]) FL_NO_EXCEPT
 A chromaticity, converted from float by its bits, that is real and usable: inside the open unit square with a non-zero y.
 
bool fl::anonymous_namespace{source_xyz.cpp.hpp}::sourcePrimariesEncloseAreaQ16 (const i32(&r)[2], const i32(&g)[2], const i32(&b)[2]) FL_NO_EXCEPT
 True when the three primaries enclose an actual area of chromaticity.
 

Variables

constexpr i32 fl::anonymous_namespace{source_xyz.cpp.hpp}::kSourceQ16One = 65536