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

◆ 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 369 of file pixelset.h.

369 {
370 if(dir >= 0) {
372 } else {
374 }
375 return *this;
376 }
PIXEL_TYPE *const leds
pointer to the LED data
Definition pixelset.h:72
const int8_t dir
direction of the LED data, either 1 or -1. Determines how the pointer is incremented.
Definition pixelset.h:69
const int len
length of the LED data, in PIXEL_TYPE units.
Definition pixelset.h:70
Represents a set of LED objects.
Definition pixelset.h:67
#define FUNCTION_BLUR1D(a, b, c)
Definition pixelset.h:24