FastLED 3.10.8
Loading...
Searching...
No Matches

◆ wave3Transpose_2()

void fl::wave3Transpose_2 ( const u8(&) lanes[2],
const Wave3BitExpansionLut & lut,
u8(&) output[2 *sizeof(Wave3Byte)] )

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

123 {
124 Wave3Byte laneWaveforms[2];
125 detail::wave3_convert_byte_to_wave3byte(lanes[0], lut, &laneWaveforms[0]);
126 detail::wave3_convert_byte_to_wave3byte(lanes[1], lut, &laneWaveforms[1]);
127 detail::wave3_transpose_2(laneWaveforms, output);
128}
FL_IRAM FL_OPTIMIZE_FUNCTION void wave3_convert_byte_to_wave3byte(u8 byte_value, const Wave3BitExpansionLut &lut, Wave3Byte *output) FL_NO_EXCEPT
Convert one byte to a Wave3Byte using the nibble LUT.
Definition wave3.cpp.hpp:23
FL_IRAM FL_OPTIMIZE_FUNCTION void wave3_transpose_2(const Wave3Byte lane_waves[2], u8 output[2 *sizeof(Wave3Byte)]) FL_NO_EXCEPT
Transpose 2 lanes of Wave3Byte data into interleaved format.
Definition wave3.cpp.hpp:35
Type-safe container for 3-byte wave pulse pattern (wave3 encoding)
Definition wave3.h:21

References FL_NO_EXCEPT, FL_RESTRICT_PARAM, fl::detail::wave3_convert_byte_to_wave3byte(), and fl::detail::wave3_transpose_2().

+ Here is the call graph for this function: