32 #include <boost/thread.hpp> 79 fft_complex(
int fft_size,
bool forward =
true,
int nthreads=1);
96 void set_nthreads(
int n);
139 void set_nthreads(
int n);
182 void set_nthreads(
int n);
gr_complex * get_inbuf() const
Definition: fft.h:173
float * get_inbuf() const
Definition: fft.h:130
int nthreads() const
Definition: fft.h:144
boost::unique_lock< boost::mutex > scoped_lock
Definition: thread.h:49
#define FFT_API
Definition: gr-fft/include/gnuradio/fft/api.h:30
int inbuf_length() const
Definition: fft.h:133
FFT: complex in, complex out.
Definition: fft.h:71
FFT_API double * malloc_double(int size)
Helper function for allocating double* buffers.
int outbuf_length() const
Definition: fft.h:177
FFT_API gr_complex * malloc_complex(int size)
Helper function for allocating complex* buffers.
std::complex< float > gr_complex
Definition: gr_complex.h:27
gr_complex * get_outbuf() const
Definition: fft.h:88
FFT_API float * malloc_float(int size)
Helper function for allocating float* buffers.
Include this header to use the message passing features.
Definition: logger.h:695
int nthreads() const
Definition: fft.h:187
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:58
boost::mutex::scoped_lock scoped_lock
Definition: fft.h:60
FFT: real in, complex out.
Definition: fft.h:114
FFT: complex in, float out.
Definition: fft.h:157
int outbuf_length() const
Definition: fft.h:91
gr_complex * get_outbuf() const
Definition: fft.h:131
gr_complex * get_inbuf() const
Definition: fft.h:87
int outbuf_length() const
Definition: fft.h:134
float * get_outbuf() const
Definition: fft.h:174
boost::mutex mutex
Definition: thread.h:48
int nthreads() const
Definition: fft.h:101
int inbuf_length() const
Definition: fft.h:176
int inbuf_length() const
Definition: fft.h:90