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

◆ preStepFirstByteDithering()

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

Some chipsets pre-cycle the first byte, which means we want to cycle byte 0's dithering separately.

Definition at line 324 of file pixel_controller.h.

324 {
325 d[RO(0)] = e[RO(0)] - d[RO(0)];
326 }
#define RO(X)
Gets the assigned color channel for a byte's position in the output, using the color order (EOrder) t...
uint8_t d[3]
values for the scaled dither signal
uint8_t e[3]
values for the unscaled dither signal

References d, e, FASTLED_FORCE_INLINE, and RO.