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

412 {
413 if(dir >= 0) {
415 } else {
417 }
418 return *this;
419 }
PIXEL_TYPE *const leds
pointer to the LED data
Definition pixelset.h:115
const int8_t dir
direction of the LED data, either 1 or -1. Determines how the pointer is incremented.
Definition pixelset.h:112
const int len
length of the LED data, in PIXEL_TYPE units.
Definition pixelset.h:113
Represents a view/window into a set of LED pixels, providing array-like access and rich color operati...
Definition pixelset.h:110
#define FUNCTION_BLUR1D(a, b, c)
Definition pixelset.h:17