FastLED 3.10.8
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 405 of file pixelset.h.

405 {
406 if(dir >= 0) {
408 } else {
410 }
411 return *this;
412 }
PIXEL_TYPE *const leds
pointer to the LED data
Definition pixelset.h:108
const fl::i8 dir
direction of the LED data, either 1 or -1. Determines how the pointer is incremented.
Definition pixelset.h:105
const int len
length of the LED data, in PIXEL_TYPE units.
Definition pixelset.h:106
Represents a view/window into a set of LED pixels, providing array-like access and rich color operati...
Definition pixelset.h:103
#define FUNCTION_BLUR1D(a, b, c)
Definition pixelset.h:18