MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / _base_convolve_complex

Function _base_convolve_complex

Transceiver52M/convolve.c:544–558  ·  view source on GitHub ↗

Base complex-complex convolution */

Source from the content-addressed store, hash-verified

542
543/* Base complex-complex convolution */
544static 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 */
561static int bounds_check(int x_len, int h_len, int y_len,

Callers 2

convolve_complexFunction · 0.85
base_convolve_complexFunction · 0.85

Calls 1

mac_cmplx_vec_nFunction · 0.85

Tested by

no test coverage detected