|
FastLED 3.9.15
|
| FASTLED_FORCE_INLINE void fl::transpose_2strips | ( | const u8 *const | input[2], |
| u8 * | output, | ||
| u16 | num_leds, | ||
| u8 | bytes_per_led ) |
Transpose 2 LED strips into parallel bit format.
This function transposes 2 LED strips from standard byte-sequential format to bit-parallel format suitable for 2-way PIO output.
Input: 2 strips, each with num_leds * bytes_per_led bytes Output: num_leds * bytes_per_led * 8 bytes
| input | Array of 2 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 767 of file transposition.h.
References FASTLED_FORCE_INLINE, and FL_NOEXCEPT.
Referenced by transpose_strips().
Here is the caller graph for this function: