potential optimization in bw_iir{1,2}_process_multi

This commit is contained in:
Stefano D'Angelo 2025-02-03 07:03:23 +01:00
parent 2a6f149612
commit 512546f108
2 changed files with 4 additions and 4 deletions

View File

@ -470,8 +470,8 @@ static inline void bw_iir1_process_multi(
#endif
bw_iir1_assert_valid_coeffs(b0, b1, a1);
for (size_t i = 0; i < n_samples; i++)
for (size_t j = 0; j < n_channels; j++)
for (size_t j = 0; j < n_channels; j++)
for (size_t i = 0; i < n_samples; i++)
bw_iir1_process1(x[j][i], y[j] + i, s + j, b0, b1, a1);
#ifndef BW_NO_DEBUG

View File

@ -675,8 +675,8 @@ static inline void bw_iir2_process_multi(
#endif
bw_iir2_assert_valid_coeffs(b0, b1, b2, a1, a2);
for (size_t i = 0; i < n_samples; i++)
for (size_t j = 0; j < n_channels; j++)
for (size_t j = 0; j < n_channels; j++)
for (size_t i = 0; i < n_samples; i++)
bw_iir2_process1(x[j][i], y[j] + i, s1 + j, s2 + j, b0, b1, b2, a1, a2);
#ifndef BW_NO_DEBUG