Definition at line 141 of file frame.cpp.hpp.
141 {
143
147 fl::u8* pixel = &pixels[i * 3];
148 rgbData[i] =
CRGB(pixel[0], pixel[1], pixel[2]);
149 }
150 break;
151 }
157 rgbData[i] =
CRGB(r,
g, b);
158 }
159 break;
160 }
163 fl::u8* pixel = &pixels[i * 4];
164 rgbData[i] =
CRGB(pixel[0], pixel[1], pixel[2]);
165
166 }
167 break;
168 }
170
171
175 }
176 break;
177 }
178 default: {
179
182 }
183 break;
184 }
185 }
186}
fl::vector_psram< CRGB > mRgb
const size_t mPixelsCount
fl::string format(const char *fmt) FL_NO_EXCEPT
Format with no arguments.
FASTLED_FORCE_INLINE void * memset(void *s, int c, size_t n) FL_NO_EXCEPT
void rgb565ToRgb888(fl::u16 rgb565, fl::u8 &r, fl::u8 &g, fl::u8 &b) FL_NO_EXCEPT
To bit_cast(const From &from) FL_NO_EXCEPT
References fl::bit_cast(), fl::FL_NO_EXCEPT, fl::format(), fl::g, fl::memset(), mPixelsCount, mRgb, fl::RGB565, fl::rgb565ToRgb888(), fl::RGB888, fl::RGBA8888, fl::y, and fl::YUV420.
Referenced by Frame().