1089 {
1090#if defined(FL_IS_AVR)
1091
1094
1095 for (
int x = 0;
x < w; ++
x) {
1096
1097 {
1098 const RGB_T *src = pixels +
x;
1099 RGB_T *dst = scratch + R;
1100 for (int i = 0; i < h; ++i) {
1101 *dst++ = *src;
1102 src += w;
1103 }
1104 }
1105 if (ApplyAlpha)
1106 apply_pass_alpha_1ch<R>(scratch, pixels +
x, h, w, alpha);
1107 else
1108 apply_pass_1ch<R>(scratch, pixels +
x, h, w);
1109 }
1110#else
1111
1112
1113 if (ApplyAlpha) {
1115 pixels, w, h, scratch, alpha);
1116 } else {
1118 pixels, w, h, scratch, alpha);
1119 }
1120#endif
1121}
#define FL_BUILTIN_MEMSET(dest, val, n)
static FL_OPTIMIZE_FUNCTION void vpass_rowmajor_impl(RGB_T *pixels, int w, int h, RGB_T *scratch, AlphaT alpha) FL_NO_EXCEPT