|
FastLED 3.9.15
|
| void fl::rgbww_partial_reorder | ( | EOrderWW | ww_placement, |
| fl::u8 | b0, | ||
| fl::u8 | b1, | ||
| fl::u8 | b2, | ||
| fl::u8 | ww, | ||
| fl::u8 | wc, | ||
| fl::u8 * | out_b0, | ||
| fl::u8 * | out_b1, | ||
| fl::u8 * | out_b2, | ||
| fl::u8 * | out_b3, | ||
| fl::u8 * | out_b4 ) |
Dispatch RGB->RGBWW for a given mode.
Reorder a 5-channel pixel given an EOrderWW placement. The three RGB bytes (b0, b1, b2) are assumed to already be in native LED RGB order — this function only handles the warm-W / cool-W insertion. Outputs the final 5-byte stream in wire order.
Encoding convention (matches EOrderWW enum values): high nibble = warm-W destination index (0..4) low nibble = cool-W destination index (0..4) The remaining three indices receive b0, b1, b2 in ascending order.
Definition at line 127 of file rgbww.cpp.hpp.
References FL_NOEXCEPT.
Referenced by PixelController< RGB_ORDER, LANES, MASK >::loadAndScaleRGBWW().
Here is the caller graph for this function: