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