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

◆ wave3Transpose_4()

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

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

132 {
133 Wave3Byte laneWaveforms[4];
134 for (int lane = 0; lane < 4; lane++) {
135 detail::wave3_convert_byte_to_wave3byte(lanes[lane], lut, &laneWaveforms[lane]);
136 }
137 detail::wave3_transpose_4(laneWaveforms, output);
138}
FASTLED_FORCE_INLINE FL_IRAM FL_OPTIMIZE_FUNCTION void wave3_convert_byte_to_wave3byte(u8 byte_value, const Wave3BitExpansionLut &lut, Wave3Byte *output)
Helper: Convert byte to Wave3Byte using nibble LUT (internal use only)
Definition wave3.hpp:27
FASTLED_FORCE_INLINE FL_IRAM FL_OPTIMIZE_FUNCTION void wave3_transpose_4(const Wave3Byte lane_waves[4], u8 output[4 *sizeof(Wave3Byte)])
Transpose 4 lanes of Wave3Byte data into interleaved format.
Definition wave3.hpp:84
Type-safe container for 3-byte wave pulse pattern (wave3 encoding)
Definition wave3.h:20

References FL_RESTRICT_PARAM, fl::detail::wave3_convert_byte_to_wave3byte(), and fl::detail::wave3_transpose_4().

+ Here is the call graph for this function: