FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ blur1d()

template<class PIXEL_TYPE>
CPixelView & CPixelView< PIXEL_TYPE >::blur1d ( fract8 blur_amount)
inline

One-dimensional blur filter.

Parameters
blur_amountthe amount of blur to apply
Note
Only bringing in a 1d blur, not sure 2d blur makes sense when looking at sub arrays
See also
blur1d(CRGB*, uint16_t, fract8)

Definition at line 361 of file pixelset.h.

361 {
362 if(dir >= 0) {
364 } else {
366 }
367 return *this;
368 }
PIXEL_TYPE *const leds
pointer to the LED data
Definition pixelset.h:64
const int8_t dir
direction of the LED data, either 1 or -1. Determines how the pointer is incremented.
Definition pixelset.h:61
const int len
length of the LED data, in PIXEL_TYPE units.
Definition pixelset.h:62
Represents a set of LED objects.
Definition pixelset.h:59
#define FUNCTION_BLUR1D(a, b, c)
Definition pixelset.h:17