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

◆ advanceAndLoadAndScale() [2/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,
int lane )
inlinestatic

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

Parameters
pcreference to the pixel controller
lanethe parallel output lane to read the byte for

Definition at line 491 of file pixel_controller.h.

491{ pc.advanceData(); return pc.loadAndScale<SLOT>(pc, lane); }
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().

+ Here is the call graph for this function: