|
FastLED 3.9.15
|
| FASTLED_FORCE_INLINE void fl::transpose_4strips | ( | const u8 *const | input[4], |
| u8 * | output, | ||
| u16 | num_leds, | ||
| u8 | bytes_per_led ) |
Transpose 4 LED strips into parallel bit format.
This function transposes 4 LED strips from standard byte-sequential format to bit-parallel format suitable for 4-way PIO output.
Input: 4 strips, each with num_leds * bytes_per_led bytes Output: num_leds * bytes_per_led * 8 bytes
| input | Array of 4 pointers to LED strip data |
| output | Pointer to output buffer |
| num_leds | Number of LEDs per strip (all strips padded to this length) |
| bytes_per_led | Number of bytes per LED (3 for RGB, 4 for RGBW, etc.) |
Definition at line 722 of file transposition.h.
References FASTLED_FORCE_INLINE, and FL_NOEXCEPT.
Referenced by transpose_strips().
Here is the caller graph for this function: