Skip to content

Correction

Source: Correction.h

Correction

struct Correction
src/light/drivers/Correction.h:51

Public Attributes

uint8_t briLut = {}

uint8_t offRed = 1

uint8_t offGreen = 0

uint8_t offBlue = 2

uint8_t offWhite = kAbsent

uint8_t offWarmWhite = kAbsent

uint8_t offYellow = kAbsent

uint8_t offUV = kAbsent

uint8_t outChannels = 3

WhiteMode whiteMode = WhiteMode::Min

Public Methods

inline void rebuildBrightness(uint8_t brightness)

inline void rebuild(uint8_t brightness, const ChannelRole * roles, uint8_t nChannels)

inline void apply(constuint8_t * src, uint8_t * out) const

Public Static Attributes

constexpruint8_t kAbsent = 255