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

◆ blur2d() [1/2]

void fl::blur2d ( CRGB * leds,
uint8_t width,
uint8_t 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 77 of file blur.cpp.

77 {
78 XYMap xy =
79 XYMap::constructWithUserFunction(width, height, xy_legacy_wrapper);
80 blur2d(leds, width, height, blur_amount, xy);
81}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
unsigned int xy(unsigned int x, unsigned int y)
static XYMap constructWithUserFunction(uint16_t width, uint16_t height, XYFunction xyFunction, uint16_t offset=0)
Definition xymap.cpp:28
void blur2d(CRGB *leds, uint8_t width, uint8_t height, fract8 blur_amount, const XYMap &xymap)
Two-dimensional blur filter.
Definition blur.cpp:71

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

+ Here is the call graph for this function: