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

◆ transpose_wave8byte_parlio()

FASTLED_FORCE_INLINE FL_IRAM size_t fl::transpose_wave8byte_parlio ( const u8 *FL_RESTRICT_PARAM laneWaveforms,
size_t data_width,
u8 *FL_RESTRICT_PARAM outputBuffer )
Examples
/home/runner/work/FastLED/FastLED/src/fl/math/transposition.h.

Definition at line 1064 of file transposition.h.

1068 {
1069 // Dispatch to template specialization based on runtime data_width
1070 // Compiler generates optimized code for each specialization (no runtime branching)
1071 switch (data_width) {
1072 case 1:
1073 return transpose_wave8byte_parlio_template<1>(laneWaveforms, outputBuffer);
1074 case 2:
1075 return transpose_wave8byte_parlio_template<2>(laneWaveforms, outputBuffer);
1076 case 4:
1077 return transpose_wave8byte_parlio_template<4>(laneWaveforms, outputBuffer);
1078 case 8:
1079 return transpose_wave8byte_parlio_template<8>(laneWaveforms, outputBuffer);
1080 case 16:
1081 return transpose_wave8byte_parlio_template<16>(laneWaveforms, outputBuffer);
1082 default:
1083 // Invalid data_width
1084 return 0;
1085 }
1086}
FASTLED_FORCE_INLINE FL_IRAM FL_OPTIMIZE_FUNCTION size_t transpose_wave8byte_parlio_template(const u8 *FL_RESTRICT_PARAM laneWaveforms, u8 *FL_RESTRICT_PARAM outputBuffer) FL_NOEXCEPT
Template specialization of transpose for compile-time data_width (optimization)

References FASTLED_FORCE_INLINE, FL_IRAM, FL_NOEXCEPT, FL_RESTRICT_PARAM, and transpose_wave8byte_parlio_template().

+ Here is the call graph for this function: