|
FastLED 3.9.15
|
| FASTLED_FORCE_INLINE u32 fl::calculate_transpose_buffer_size | ( | u16 | num_leds, |
| u8 | bytes_per_led ) |
Calculate output buffer size needed for transposed data.
All strip counts (2, 4, 8) use the same output format: bytes_per_led * 8 bytes per LED.
| num_leds | Maximum number of LEDs across all strips |
| bytes_per_led | Number of bytes per LED (3 for RGB, 4 for RGBW, etc.) |
Definition at line 800 of file transposition.h.
References FASTLED_FORCE_INLINE, and FL_NOEXCEPT.