1063 {
1064#if defined(FL_IS_AVR)
1065 if (ApplyAlpha)
1066 apply_pass_alpha_1ch<R>(pad, out, w, 1, alpha);
1067 else
1068 apply_pass_1ch<R>(pad, out, w, 1);
1069#else
1070
1071 if (sizeof(typename RGB_T::fp) == 1 && !ApplyAlpha) {
1072 constexpr int S = (int)sizeof(RGB_T);
1073 const int nbytes = w * S;
1074 const u8 *pb = (
const u8 *)pad;
1077 pb, S, ob, nbytes, (
u8 *)(pad + 2 * R + w), w);
1078 } else if (ApplyAlpha) {
1080 } else {
1082 }
1083#endif
1084}
FL_NO_INLINE_IF_AVR static FL_OPTIMIZE_FUNCTION void apply_pass_alpha(const RGB_T *pad, RGB_T *out, int count, int stride, AlphaT alpha)
FL_NO_INLINE_IF_AVR static FL_OPTIMIZE_FUNCTION void apply_pass(const RGB_T *pad, RGB_T *out, int count, int stride)