21 #include <volk/volk_alloc.hh>
22 #include <boost/thread.hpp>
48 template <
class T,
bool forward>
59 template <
class T,
bool forward>
69 template <
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;
78 void initialize_plan(
int fft_size);
81 fft(
int fft_size,
int nthreads = 1);
fft & operator=(const fft &)=delete
int inbuf_length() const
Definition: fft.h:95
fft_outbuf< T, forward >::type * get_outbuf()
Definition: fft.h:93
fft(int fft_size, int nthreads=1)
int outbuf_length() const
Definition: fft.h:96
fft_inbuf< T, forward >::type * get_inbuf()
Definition: fft.h:92
int nthreads() const
Definition: fft.h:106
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
#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 for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29
log4cpp::Category * logger_ptr
GR_LOG macros.
Definition: logger.h:60
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