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

Go to the source code of this file.

Classes

struct  fl::SourceMatrixQ16
 Source-primaries matrix in s16.16, rows ordered X, Y, Z. More...
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 

Functions

bool fl::buildSourceMatrixQ16 (const RgbPrimaries &primaries, SourceMatrixQ16 *out) FL_NO_EXCEPT
 Quantize the source matrix for primaries.
 
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.
 

Class Documentation

◆ fl::SourceMatrixQ16

struct fl::SourceMatrixQ16
Class Members
i32 m[3][3]