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

◆ compute_pad_size()

template<int hR, int vR, typename RGB_T>
static int fl::gfx::blur_detail::compute_pad_size ( int w,
int h )
static

Definition at line 1049 of file blur.cpp.hpp.

1049 {
1050 int hPad = 2 * hR + w;
1051#if defined(FL_IS_AVR)
1052 int vPad = 2 * vR + h;
1053#else
1054 int vPad = vR > 0 ? (vR + 2) * w : 0;
1055#endif
1056 return hPad > vPad ? hPad : vPad;
1057}

Referenced by fl::gfx::blurGaussianImpl(), and fl::gfx::blurGaussianMappedImpl().

+ Here is the caller graph for this function: