blob: 08bda0cbadde06dbc1030bb3006fa4556f34b595 [file] [log] [blame]
Thomas Tsou3eaae802013-08-20 19:31:14 -04001#ifndef _CONVOLVE_H_
2#define _CONVOLVE_H_
3
4void *convolve_h_alloc(int num);
5
Tom Tsouf147b172015-03-25 12:55:11 -07006int convolve_real(const float *x, int x_len,
7 const float *h, int h_len,
Thomas Tsou3eaae802013-08-20 19:31:14 -04008 float *y, int y_len,
9 int start, int len,
10 int step, int offset);
11
Tom Tsouf147b172015-03-25 12:55:11 -070012int convolve_complex(const float *x, int x_len,
13 const float *h, int h_len,
Thomas Tsou3eaae802013-08-20 19:31:14 -040014 float *y, int y_len,
15 int start, int len,
16 int step, int offset);
17
Tom Tsouf147b172015-03-25 12:55:11 -070018int base_convolve_real(const float *x, int x_len,
19 const float *h, int h_len,
Thomas Tsou3eaae802013-08-20 19:31:14 -040020 float *y, int y_len,
21 int start, int len,
22 int step, int offset);
23
Tom Tsouf147b172015-03-25 12:55:11 -070024int base_convolve_complex(const float *x, int x_len,
25 const float *h, int h_len,
Thomas Tsou3eaae802013-08-20 19:31:14 -040026 float *y, int y_len,
27 int start, int len,
28 int step, int offset);
29
30#endif /* _CONVOLVE_H_ */