21#include <volk/volk_alloc.hh>
47template <
class T,
bool forward>
58template <
class T,
bool forward>
68template <
class T,
bool forward>
74 volk::vector<typename fft_inbuf<T, forward>::type> d_inbuf;
75 volk::vector<typename fft_outbuf<T, forward>::type> d_outbuf;
78 void initialize_plan(
int fft_size,
int nffts);
94 return &(d_inbuf.data()[d_fft_size * fft_idx]);
98 return &(d_outbuf.data()[d_fft_size * fft_idx]);
int inbuf_length() const
Definition fft.h:101
fft_outbuf< T, forward >::type * get_outbuf(int fft_idx=0)
Definition fft.h:96
int outbuf_length() const
Definition fft.h:102
fft(int fft_size, int nthreads=1, int nffts=1)
fft_inbuf< T, forward >::type * get_inbuf(int fft_idx=0)
Definition fft.h:92
fft & operator=(const fft &)=delete
int nthreads() const
Definition fft.h:112
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 std::mutex & mutex()
GR_LOG macros.
Definition logger.h:119
#define FFT_API
Definition gr-fft/include/gnuradio/fft/api.h:18
std::complex< float > gr_complex
Definition gr_complex.h:15
Definition ctrlport_probe_psd.h:18
fft< float, true > fft_real_fwd
Definition fft.h:123
fft< gr_complex, true > fft_complex_fwd
Definition fft.h:121
fft< gr_complex, false > fft_complex_rev
Definition fft.h:122
fft< float, false > fft_real_rev
Definition fft.h:124
GNU Radio logging wrapper.
Definition basic_block.h:29
gr_complex type
Definition fft.h:54
FFT: templated.
Definition fft.h:48
T type
Definition fft.h:49
gr_complex type
Definition fft.h:65
T type
Definition fft.h:60