Base complex-complex convolution */
| 542 | |
| 543 | /* Base complex-complex convolution */ |
| 544 | static int _base_convolve_complex(float *x, int x_len, |
| 545 | float *h, int h_len, |
| 546 | float *y, int y_len, |
| 547 | int start, int len, |
| 548 | int step, int offset) |
| 549 | { |
| 550 | for (int i = 0; i < len; i++) { |
| 551 | mac_cmplx_vec_n(&x[2 * (i - (h_len - 1) + start)], |
| 552 | h, |
| 553 | &y[2 * i], |
| 554 | h_len, step, offset); |
| 555 | } |
| 556 | |
| 557 | return len; |
| 558 | } |
| 559 | |
| 560 | /* Buffer validity checks */ |
| 561 | static int bounds_check(int x_len, int h_len, int y_len, |
no test coverage detected