34#if FL_COLOR_PIPELINE_SHARED
72#if !FL_PLATFORM_HAS_TINY_MEMORY
93#if FASTLED_HD_COLOR_MIXING
100 void loadRGBScaleAndBrightness(
u8* c0,
u8* c1,
u8* c2,
132#if !FL_PLATFORM_HAS_TINY_MEMORY
139#if FL_COLOR_PIPELINE_SHARED
fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
CLEDController * controller
void loadAndScaleRGB(u8 *b0_out, u8 *b1_out, u8 *b2_out) FL_NO_EXCEPT
The colour-managed path.
void advanceData() FL_NO_EXCEPT
bool has(int n) FL_NO_EXCEPT
void loadAndScaleRGBW(const Rgbw &rgbw, u8 *b0_out, u8 *b1_out, u8 *b2_out, u8 *b3_out) FL_NO_EXCEPT
Physical RGBW solve when a matching profile is bound; otherwise the legacy RGB-to-RGBW conversion.
StreamingPipelineQ16 & mPipeline
bool temporalDitherEnabled() const FL_NO_EXCEPT
True when the channel asked for dither this frame.
ColorManagedPixelSource(PixelController< RGB > &controller, EOrder order, ColorPipelineFrameRef pipeline, u8 dither_phase) FL_NO_EXCEPT
dither_phase is where this frame sits in the temporal-dither cycle.
void setFlux(u8 brightness) FL_NO_EXCEPT
Frame-local brightness is applied to the source's owned pipeline on shared tiers; only managed iterat...
static u8 quantize(i32 drive) FL_NO_EXCEPT
s16.16 drive to an 8-bit code, rounding to nearest.
int size() const FL_NO_EXCEPT
static u16 quantize16(i32 drive) FL_NO_EXCEPT
quantize onto the 16-bit wire.
void loadAndScaleRGB16(u16 *b0_out, u16 *b1_out, u16 *b2_out) FL_NO_EXCEPT
The same pixel, quantized once to 16 bits instead of to 8 (P8, #4042).
void stepDithering() FL_NO_EXCEPT
The legacy offsets are the wrapped controller's to toggle; this source never reads them (C5).
PixelController< RGB > & mController
void loadAndScaleRGBWW(Rgbww rgbww, u8 *b0_out, u8 *b1_out, u8 *b2_out, u8 *b3_out, u8 *b4_out) FL_NO_EXCEPT
Physical two-white solve when a matching RGBWW profile is bound; otherwise the legacy conversion.
static u8 quantizeDithered(i32 drive, u8 threshold) FL_NO_EXCEPT
quantize with the pipeline's temporal dither (P8, C5): floor(x) or floor(x) + 1 of the exact code x,...
A linear flux scalar in s16.16.
Functions for red, green, blue, white (RGBW) output.
InputGamut g FL_NO_EXCEPT
EOrder
RGB color channel orderings, used when instantiating controllers to determine what order the controll...
StreamingPipelineQ16 & ColorPipelineFrameRef
Base definition for an LED controller.
Everything the per-pixel path needs, derived once when a profile binds.
Low level pixel data writing class.
5-channel RGB + warm-W + cool-W (RGBWW / RGBCCT) configuration types (issue #2558,...
Per-strip RGBWW configuration.