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

◆ blur2d() [1/2]

void fl::blur2d ( CRGB * leds,
fl::u8 width,
fl::u8 height,
fract8 blur_amount )

Legacy version of blur2d, which does not require an XYMap but instead implicitly binds to XY() function.

If you are hitting a linker error here, then use blur2d(..., const fl::XYMap& xymap) instead.

Definition at line 78 of file blur.cpp.

78 {
79 XYMap xy =
80 XYMap::constructWithUserFunction(width, height, xy_legacy_wrapper);
81 blur2d(leds, width, height, blur_amount, xy);
82}
CRGB leds[NUM_LEDS]
unsigned int xy(unsigned int x, unsigned int y)
static XYMap constructWithUserFunction(u16 width, u16 height, XYFunction xyFunction, u16 offset=0)
Definition xymap.cpp:26
void blur2d(CRGB *leds, fl::u8 width, fl::u8 height, fract8 blur_amount, const XYMap &xymap)
Two-dimensional blur filter.
Definition blur.cpp:72

References blur2d(), fl::XYMap::constructWithUserFunction(), leds, and xy().

+ Here is the call graph for this function: