32 #include <boost/thread.hpp>
75 fft_complex(
int fft_size,
bool forward =
true,
int nthreads=1);
92 void set_nthreads(
int n);
135 void set_nthreads(
int n);
178 void set_nthreads(
int n);
gr_complex * get_inbuf() const
Definition: fft.h:169
#define FFT_API
Definition: gr-fft/include/fft/api.h:30
float * get_inbuf() const
Definition: fft.h:126
int nthreads() const
Definition: fft.h:140
boost::mutex mutex
Definition: thread.h:44
boost::unique_lock< boost::mutex > scoped_lock
Definition: thread.h:45
int inbuf_length() const
Definition: fft.h:129
FFT: complex in, complex out.
Definition: fft.h:67
int outbuf_length() const
Definition: fft.h:173
FFT_API gr_complex * malloc_complex(int size)
Helper function for allocating complex fft buffers.
std::complex< float > gr_complex
Definition: gr_complex.h:26
gr_complex * get_outbuf() const
Definition: fft.h:84
FFT_API float * malloc_float(int size)
Helper function for allocating float fft buffers.
int nthreads() const
Definition: fft.h:183
FFT_API void free(void *b)
Helper function for freeing fft buffers.
Export reference to planner mutex for those apps that want to use FFTW w/o using the fft_impl_fftw* c...
Definition: fft.h:54
boost::mutex::scoped_lock scoped_lock
Definition: fft.h:56
FFT: real in, complex out.
Definition: fft.h:110
FFT: complex in, float out.
Definition: fft.h:153
int outbuf_length() const
Definition: fft.h:87
gr_complex * get_outbuf() const
Definition: fft.h:127
gr_complex * get_inbuf() const
Definition: fft.h:83
int outbuf_length() const
Definition: fft.h:130
float * get_outbuf() const
Definition: fft.h:170
int nthreads() const
Definition: fft.h:97
int inbuf_length() const
Definition: fft.h:172
int inbuf_length() const
Definition: fft.h:86