FastLED 3.10.6
Loading...
Searching...
No Matches

◆ wave3_transpose_8()

void fl::detail::wave3_transpose_8 ( const Wave3Byte lane_waves[8],
u8 output[8 *sizeof(Wave3Byte)] )

Transpose 8 lanes of Wave3Byte data via the spread-LUT path (#2533).

Definition at line 106 of file wave3.cpp.hpp.

107 {
108 for (int symbol_idx = 0; symbol_idx < 3; symbol_idx++) {
109 u8 l[8];
110 for (int lane = 0; lane < 8; lane++) {
111 l[lane] = lane_waves[lane].data[symbol_idx];
112 }
113 spread_transpose8_symbol(l, output + symbol_idx * 8);
114 }
115}
FASTLED_FORCE_INLINE FL_IRAM FL_OPTIMIZE_FUNCTION void spread_transpose8_symbol(const u8 l[8], u8 out[8])
Transpose one symbol of 8 lanes (8 input bytes) into 8 output bytes: 8 pulses × 1 byte (bit L = lane ...
unsigned char u8
Definition stdint.h:131
u8 data[3]
Definition wave3.h:21

References fl::Wave3Byte::data, fl::FL_NO_EXCEPT, and spread_transpose8_symbol().

Referenced by fl::wave3Transpose_8().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: