FastLED 3.10.8
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 1050 of file blur.cpp.hpp.

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

References fl::FL_NO_EXCEPT.

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

+ Here is the caller graph for this function: