FastLED 3.9.15
Loading...
Searching...
No Matches

◆ loadAndScale() [3/4]

template<EOrder RGB_ORDER, int LANES = 1, fl::u32 MASK = 0xFFFFFFFF>
template<int SLOT>
static FASTLED_FORCE_INLINE fl::u8 PixelController< RGB_ORDER, LANES, MASK >::loadAndScale ( PixelController< RGB_ORDER, LANES, MASK > & pc,
int lane,
fl::u8 d,
fl::u8 scale )
inlinestatic

Complete pipeline: load → dither → scale (explicit dither/scale values)

Definition at line 472 of file pixel_controller.h.

472 {
474 }
static FASTLED_FORCE_INLINE fl::u8 loadByte(PixelController &pc)
Read a byte of LED data.
static FASTLED_FORCE_INLINE fl::u8 scale(PixelController &pc, fl::u8 b)
Scale a value using the per-channel scale data.
fl::u8 d[3]
[DITHER] Current dither offset per R,G,B channel (toggles via stepDithering)
static FASTLED_FORCE_INLINE fl::u8 dither(PixelController &pc, fl::u8 b)
Add dither offset to pixel value (BEFORE scaling).
Pixel controller class.

References PixelController(), d, dither(), FASTLED_FORCE_INLINE, loadByte(), and scale().

+ Here is the call graph for this function: