FastLED 3.9.15
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 486 of file pixel_controller.h.

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

References PixelController(), advanceData(), FASTLED_FORCE_INLINE, and loadAndScale().

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: