21#include <volk/volk_alloc.hh>
22#include <boost/thread.hpp>
48template <
class T,
bool forward>
59template <
class T,
bool forward>
69template <
class T,
bool forward>
73 volk::vector<typename fft_inbuf<T, forward>::type> d_inbuf;
74 volk::vector<typename fft_outbuf<T, forward>::type> d_outbuf;
77 void initialize_plan(
int fft_size);
80 fft(
int fft_size,
int nthreads = 1);
int inbuf_length() const
Definition: fft.h:94
fft_outbuf< T, forward >::type * get_outbuf()
Definition: fft.h:92
fft(int fft_size, int nthreads=1)
fft_inbuf< T, forward >::type * get_inbuf()
Definition: fft.h:91
int outbuf_length() const
Definition: fft.h:95
fft & operator=(const fft &)=delete
int nthreads() const
Definition: fft.h:105
Export reference to planner mutex for those apps that want to use FFTW w/o using the fft_impl_fftw* c...
Definition: fft.h:32
static boost::mutex & mutex()
boost::mutex::scoped_lock scoped_lock
Definition: fft.h:34
GR_LOG macros.
Definition: logger.h:106
#define FFT_API
Definition: gr-fft/include/gnuradio/fft/api.h:18
std::complex< float > gr_complex
Definition: gr_complex.h:15
boost::mutex mutex
Definition: thread.h:37
boost::unique_lock< boost::mutex > scoped_lock
Definition: thread.h:38
GNU Radio logging wrapper.
Definition: basic_block.h:29
gr_complex type
Definition: fft.h:55
FFT: templated.
Definition: fft.h:49
T type
Definition: fft.h:50
gr_complex type
Definition: fft.h:66
T type
Definition: fft.h:61