FastLED 3.10.6
Loading...
Searching...
No Matches

◆ step()

static FASTLED_FORCE_INLINE void fl::BinaryDither::step ( u8(&) d[3],
const u8(&) e[3] )
inlinestatic

Next pixel: toggle each offset to its complement in [0, e], so neighbours dither in opposite directions.

Definition at line 186 of file binary_dither.h.

186 {
187 d[0] = e[0] - d[0];
188 d[1] = e[1] - d[1];
189 d[2] = e[2] - d[2];
190 }

References FASTLED_FORCE_INLINE, and fl::FL_NO_EXCEPT.

Referenced by PixelController< RGB_ORDER, LANES, MASK >::stepDithering().

+ Here is the caller graph for this function: