wavelib/src/real.h
2014-12-15 15:47:46 +05:30

37 lines
567 B
C

/*
* real.h
*
* Created on: Apr 20, 2013
* Author: Rafat Hussain
*/
#ifndef REAL_H_
#define REAL_H_
#include "hsfft.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct fft_real_set* fft_real_object;
fft_real_object fft_real_init(int N, int sgn);
struct fft_real_set{
fft_object cobj;
fft_data twiddle2[1];
};
void fft_r2c_exec(fft_real_object obj,fft_type *inp,fft_data *oup);
void fft_c2r_exec(fft_real_object obj,fft_data *inp,fft_type *oup);
void free_real_fft(fft_real_object object);
#ifdef __cplusplus
}
#endif
#endif /* REAL_H_ */