FastLED 3.10.8
Loading...
Searching...
No Matches

◆ advanceAndLoadAndScale() [1/3]

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 >::advanceAndLoadAndScale ( PixelController< RGB_ORDER, LANES, MASK > & pc)
inlinestatic

A version of loadAndScale() that advances the output data pointer.

Parameters
pcreference to the pixel controller

Definition at line 398 of file pixel_controller.h.

398{ pc.advanceData(); return pc.loadAndScale<SLOT>(pc); }
static FASTLED_FORCE_INLINE fl::u8 loadAndScale(PixelController &pc) FL_NO_EXCEPT
Complete pipeline: load → dither → scale (THE MAGIC HAPPENS HERE!) Order is critical: pixel + dit...
FASTLED_FORCE_INLINE void advanceData() FL_NO_EXCEPT
Advance the data pointer forward, adjust position counter.
Pixel controller class.

References PixelController(), FASTLED_FORCE_INLINE, and FL_NO_EXCEPT.

Referenced by advanceAndLoadAndScale0(), advanceAndLoadAndScale0(), advanceAndLoadAndScale0(), stepAdvanceAndLoadAndScale0(), stepAdvanceAndLoadAndScale0(), and stepAdvanceAndLoadAndScale0().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: