FastLED 3.10.6
Loading...
Searching...
No Matches
oklab_q16.h File Reference
#include "fl/stl/int.h"
#include "fl/stl/noexcept.h"
+ Include dependency graph for oklab_q16.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.
 

Functions

void fl::oklabToXyzQ16 (const i32(&lab)[3], i32(&out_xyz)[3]) FL_NO_EXCEPT
 OKLab (s16.16) -> XYZ (s16.16).
 
void fl::xyzToOklabQ16 (const i32(&xyz)[3], i32(&out_lab)[3]) FL_NO_EXCEPT
 XYZ (s16.16, D65-relative) -> OKLab (s16.16), L then a then b.
 

Variables

constexpr i32 fl::kOklabQ16MaxMagnitude = 64 * 65536
 Largest magnitude either direction accepts, as an s16.16 raw value (64.0).