Load + scale a single pixel to 5-channel RGBWW (issue #2558).
Mirrors loadAndScaleRGBW: applies the per-channel premix scale, dispatches to rgb_2_rgbww for the colorimetric solve, then routes the five output bytes through rgbww_partial_reorder for the wire-order placement.
607 {
608#ifdef FL_IS_AVR
609
610
611
612
613
614 FL_WARN_ONCE(
"RGBWW colorimetric is not supported on AVR — the warm "
615 "and cool white channels will be black. Use an ESP32 / "
616 "Teensy / RP2040 target for full RGBWW support.");
623 0, 0,
625#else
640#endif
641 }
#define FL_WARN_ONCE(...)
void rgbww_partial_reorder(EOrderWW ww_placement, u8 b0, u8 b1, u8 b2, u8 ww, u8 wc, u8 *out_b0, u8 *out_b1, u8 *out_b2, u8 *out_b3, u8 *out_b4) FL_NO_EXCEPT
Dispatch RGB->RGBWW for a given mode.
#define RGB_BYTE2(RO)
Gets the color channel for byte 2.
#define RGB_BYTE1(RO)
Gets the color channel for byte 1.
#define RGB_BYTE0(RO)
Gets the color channel for byte 0.
FASTLED_FORCE_INLINE fl::u8 loadAndScale1()
non-template alias of loadAndScale<1>()
FASTLED_FORCE_INLINE void loadAndScaleRGBWWUnordered(fl::Rgbww rgbww, fl::u8 *r_out, fl::u8 *g_out, fl::u8 *b_out, fl::u8 *ww_out, fl::u8 *wc_out)
loadAndScaleRGBWW before its wire reorder. See loadAndScaleRGBWUnordered.
FASTLED_FORCE_INLINE fl::u8 loadAndScale0()
non-template alias of loadAndScale<0>()
FASTLED_FORCE_INLINE fl::u8 loadAndScale2()
non-template alias of loadAndScale<2>()