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

Go to the source code of this file.

Classes

struct  fl::AdaptationMatrixQ16
 A collapsed adaptation transform in s16.16. More...
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::detail
 Compile-time linker keep-alive hook for a single fl::Bus.
 

Functions

void fl::adaptXyzQ16 (const AdaptationMatrixQ16 &matrix, const i32(&xyz)[3], i32(&out_xyz)[3]) FL_NO_EXCEPT
 Adapt one XYZ triple.
 
bool fl::buildBradfordMatrixQ16 (Chromaticity source_white, Chromaticity destination_white, AdaptationMatrixQ16 *out) FL_NO_EXCEPT
 Build the Bradford transform from source_white to destination_white.
 
void fl::foldAdaptationIntoSourceMatrix (const AdaptationMatrixQ16 &adaptation, SourceMatrixQ16 *source) FL_NO_EXCEPT
 Pre-multiply the adaptation into a source matrix, in place.
 

Class Documentation

◆ fl::AdaptationMatrixQ16

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