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

◆ reseed_binary_dithering()

template<EOrder RGB_ORDER, int LANES = 1, fl::u32 MASK = 0xFFFFFFFF>
void PixelController< RGB_ORDER, LANES, MASK >::reseed_binary_dithering ( fl::u8 R)
inline

Re-point binary dithering at phase R after construction, leaving the per-channel ranges e[] as init_binary_dithering() set them: only the offsets depend on the phase.

fl::Channel keeps its own phase and advances it only when its driver accepts a frame, so a dropped submission does not consume one (#4347, R8).

Definition at line 269 of file pixel_controller.h.

269 {
271 }
fl::u8 e[3]
[DITHER] Max dither range per R,G,B channel (inversely proportional to brightness)
fl::u8 d[3]
[DITHER] Current dither offset per R,G,B channel (toggles via stepDithering)
Pixel controller class.
static FASTLED_FORCE_INLINE void reseed(u8(&d)[3], const u8(&e)[3], u8 frame) FL_NO_EXCEPT
Re-point d at frame, keeping the ranges init left in e.

References d, e, and fl::BinaryDither::reseed().

+ Here is the call graph for this function: