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

◆ apply()

static FASTLED_FORCE_INLINE u8 fl::BinaryDither::apply ( u8 b,
u8 d )
inlinestatic

Add the offset to a source byte, before scaling. Black is never lifted.

Definition at line 198 of file binary_dither.h.

198 {
199 return b ? fl::qadd8(b, d) : 0;
200 }

References FASTLED_FORCE_INLINE, and fl::FL_NO_EXCEPT.

Referenced by PixelController< RGB_ORDER, LANES, MASK >::dither(), PixelController< RGB_ORDER, LANES, MASK >::dither(), and PixelController< RGB_ORDER, LANES, MASK >::loadAndScaleChannel().

+ Here is the caller graph for this function: