FastLED 3.9.15
Loading...
Searching...
No Matches

◆ wave8Transpose_8() [1/2]

void fl::wave8Transpose_8 ( const u8(&) lanes[8],
const Wave8BitExpansionLut & lut,
u8(&) output[8 *sizeof(Wave8Byte)] )

Definition at line 57 of file wave8.cpp.hpp.

59 {
60 // Allocate waveform buffers on stack (64 Wave8Bit total: 8 packed bytes per lane × 8 lanes)
61 Wave8Byte laneWaveformSymbols[8];
62
63 // Convert each lane byte to wave pulse symbols (8 packed bytes each)
64 for (int lane = 0; lane < 8; lane++) {
65 detail::wave8_convert_byte_to_wave8byte(lanes[lane], lut, &laneWaveformSymbols[lane]);
66 }
67
68 // Transpose waveforms to DMA format (interleave 64 packed bytes to 64 bytes)
69 detail::wave8_transpose_8(laneWaveformSymbols, output);
70}
FASTLED_FORCE_INLINE FL_IRAM FL_OPTIMIZE_FUNCTION void wave8_convert_byte_to_wave8byte(u8 byte_value, const Wave8BitExpansionLut &lut, Wave8Byte *output)
Helper: Convert byte to Wave8Byte using nibble LUT (internal use only)
Definition wave8.hpp:47
FASTLED_FORCE_INLINE FL_IRAM FL_OPTIMIZE_FUNCTION void wave8_transpose_8(const Wave8Byte lane_waves[8], u8 output[8 *sizeof(Wave8Byte)])
Transpose 8 lanes of Wave8Byte data into interleaved format.
Definition wave8.hpp:205

References FL_RESTRICT_PARAM, fl::detail::wave8_convert_byte_to_wave8byte(), and fl::detail::wave8_transpose_8().

+ Here is the call graph for this function: