Thomas Tsou | 3eaae80 | 2013-08-20 19:31:14 -0400 | [diff] [blame] | 1 | #ifndef _CONVOLVE_H_ |
| 2 | #define _CONVOLVE_H_ |
| 3 | |
| 4 | void *convolve_h_alloc(int num); |
| 5 | |
Tom Tsou | f147b17 | 2015-03-25 12:55:11 -0700 | [diff] [blame] | 6 | int convolve_real(const float *x, int x_len, |
| 7 | const float *h, int h_len, |
Thomas Tsou | 3eaae80 | 2013-08-20 19:31:14 -0400 | [diff] [blame] | 8 | float *y, int y_len, |
| 9 | int start, int len, |
| 10 | int step, int offset); |
| 11 | |
Tom Tsou | f147b17 | 2015-03-25 12:55:11 -0700 | [diff] [blame] | 12 | int convolve_complex(const float *x, int x_len, |
| 13 | const float *h, int h_len, |
Thomas Tsou | 3eaae80 | 2013-08-20 19:31:14 -0400 | [diff] [blame] | 14 | float *y, int y_len, |
| 15 | int start, int len, |
| 16 | int step, int offset); |
| 17 | |
Tom Tsou | f147b17 | 2015-03-25 12:55:11 -0700 | [diff] [blame] | 18 | int base_convolve_real(const float *x, int x_len, |
| 19 | const float *h, int h_len, |
Thomas Tsou | 3eaae80 | 2013-08-20 19:31:14 -0400 | [diff] [blame] | 20 | float *y, int y_len, |
| 21 | int start, int len, |
| 22 | int step, int offset); |
| 23 | |
Tom Tsou | f147b17 | 2015-03-25 12:55:11 -0700 | [diff] [blame] | 24 | int base_convolve_complex(const float *x, int x_len, |
| 25 | const float *h, int h_len, |
Thomas Tsou | 3eaae80 | 2013-08-20 19:31:14 -0400 | [diff] [blame] | 26 | float *y, int y_len, |
| 27 | int start, int len, |
| 28 | int step, int offset); |
| 29 | |
| 30 | #endif /* _CONVOLVE_H_ */ |