2013-08-20 23:31:14 +00:00
|
|
|
#ifndef _CONVOLVE_H_
|
|
|
|
#define _CONVOLVE_H_
|
|
|
|
|
2018-12-03 16:46:04 +00:00
|
|
|
void *convolve_h_alloc(size_t num);
|
2013-08-20 23:31:14 +00:00
|
|
|
|
2015-03-25 19:55:11 +00:00
|
|
|
int convolve_real(const float *x, int x_len,
|
|
|
|
const float *h, int h_len,
|
2013-08-20 23:31:14 +00:00
|
|
|
float *y, int y_len,
|
2018-12-20 18:10:26 +00:00
|
|
|
int start, int len);
|
2013-08-20 23:31:14 +00:00
|
|
|
|
2015-03-25 19:55:11 +00:00
|
|
|
int convolve_complex(const float *x, int x_len,
|
|
|
|
const float *h, int h_len,
|
2013-08-20 23:31:14 +00:00
|
|
|
float *y, int y_len,
|
2018-12-20 18:10:26 +00:00
|
|
|
int start, int len);
|
2013-08-20 23:31:14 +00:00
|
|
|
|
2015-03-25 19:55:11 +00:00
|
|
|
int base_convolve_real(const float *x, int x_len,
|
|
|
|
const float *h, int h_len,
|
2013-08-20 23:31:14 +00:00
|
|
|
float *y, int y_len,
|
2018-12-20 18:10:26 +00:00
|
|
|
int start, int len);
|
2013-08-20 23:31:14 +00:00
|
|
|
|
2015-03-25 19:55:11 +00:00
|
|
|
int base_convolve_complex(const float *x, int x_len,
|
|
|
|
const float *h, int h_len,
|
2013-08-20 23:31:14 +00:00
|
|
|
float *y, int y_len,
|
2018-12-20 18:10:26 +00:00
|
|
|
int start, int len);
|
2013-08-20 23:31:14 +00:00
|
|
|
|
2017-03-15 17:09:35 +00:00
|
|
|
void convolve_init(void);
|
|
|
|
|
2013-08-20 23:31:14 +00:00
|
|
|
#endif /* _CONVOLVE_H_ */
|