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

◆ stepDithering()

template<EOrder RGB_ORDER, int LANES = 1, uint32_t MASK = 0xFFFFFFFF>
FASTLED_FORCE_INLINE void PixelController< RGB_ORDER, LANES, MASK >::stepDithering ( )
inline

Step the dithering forward.

Note
If updating here, be sure to update the asm version in clockless_trinket.h!

Definition at line 315 of file pixel_controller.h.

315 {
316 // IF UPDATING HERE, BE SURE TO UPDATE THE ASM VERSION IN
317 // clockless_trinket.h!
318 d[0] = e[0] - d[0];
319 d[1] = e[1] - d[1];
320 d[2] = e[2] - d[2];
321 }
uint8_t d[3]
values for the scaled dither signal
uint8_t e[3]
values for the unscaled dither signal

References d, e, and FASTLED_FORCE_INLINE.

Referenced by DMXSerialController< RGB_ORDER >::showPixels(), DMXSimpleController< DATA_PIN, RGB_ORDER >::showPixels(), LPD6803Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >::showPixels(), P9813Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >::showPixels(), RGBWEmulatedController< CONTROLLER, RGB_ORDER >::showPixels(), WS2816Controller< DATA_PIN, RGB_ORDER >::showPixels(), APA102Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED, GAMMA_CORRECTION_MODE, START_FRAME, END_FRAME >::showPixelsDefault(), APA102Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED, GAMMA_CORRECTION_MODE, START_FRAME, END_FRAME >::showPixelsGammaBitShift(), stepAdvanceAndLoadAndScale0(), stepAdvanceAndLoadAndScale0(), stepAdvanceAndLoadAndScale0(), AVRSoftwareSPIOutput< DATA_PIN, CLOCK_PIN, SPI_SPEED >::writePixels(), and REFHardwareSPIOutput< _DATA_PIN, _CLOCK_PIN, _SPI_CLOCK_DIVIDER >::writePixels().

+ Here is the caller graph for this function: