FastLED 3.10.8
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 384 of file pixel_controller.h.

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

References PixelController(), d, FASTLED_FORCE_INLINE, FL_NO_EXCEPT, and scale().

+ Here is the call graph for this function: