11 #ifndef INCLUDED_FILTER_FFT_FILTER_H 12 #define INCLUDED_FILTER_FFT_FILTER_H 18 #include <volk/volk_alloc.hh> 64 std::unique_ptr<fft::fft_real_fwd> d_fwdfft;
65 std::unique_ptr<fft::fft_real_rev> d_invfft;
67 std::vector<float> d_tail;
68 std::vector<float> d_taps;
69 volk::vector<gr_complex> d_xformed_taps;
71 void compute_sizes(
int ntaps);
72 int tailsize()
const {
return d_ntaps - 1; }
105 int set_taps(
const std::vector<float>&
taps);
110 void set_nthreads(
int n);
115 std::vector<float>
taps()
const;
120 unsigned int ntaps()
const;
125 int nthreads()
const;
134 int filter(
int nitems,
const float* input,
float* output);
177 std::unique_ptr<fft::fft_complex_fwd> d_fwdfft;
178 std::unique_ptr<fft::fft_complex_rev> d_invfft;
180 std::vector<gr_complex> d_tail;
181 std::vector<gr_complex> d_taps;
182 volk::vector<gr_complex> d_xformed_taps;
184 void compute_sizes(
int ntaps);
185 int tailsize()
const {
return d_ntaps - 1; }
201 fft_filter_ccc(
int decimation,
const std::vector<gr_complex>&
taps,
int nthreads = 1);
218 int set_taps(
const std::vector<gr_complex>&
taps);
223 void set_nthreads(
int n);
228 std::vector<gr_complex>
taps()
const;
233 unsigned int ntaps()
const;
238 int nthreads()
const;
290 std::unique_ptr<fft::fft_complex_fwd> d_fwdfft;
291 std::unique_ptr<fft::fft_complex_rev> d_invfft;
293 std::vector<gr_complex> d_tail;
294 std::vector<float> d_taps;
295 volk::vector<gr_complex> d_xformed_taps;
297 void compute_sizes(
int ntaps);
298 int tailsize()
const {
return d_ntaps - 1; }
331 int set_taps(
const std::vector<float>&
taps);
336 void set_nthreads(
int n);
341 std::vector<float>
taps()
const;
346 unsigned int ntaps()
const;
356 unsigned int filtersize()
const;
361 int nthreads()
const;
std::shared_ptr< logger > logger_ptr
Definition: logger.h:250
Fast FFT filter with gr_complex input, gr_complex output and float taps.
Definition: fft_filter.h:283
std::complex< float > gr_complex
Definition: gr_complex.h:15
GNU Radio logging wrapper.
Definition: basic_block.h:29
Fast FFT filter with float input, float output and float taps.
Definition: fft_filter.h:57
Fast FFT filter with gr_complex input, gr_complex output and gr_complex taps.
Definition: fft_filter.h:170
static constexpr float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9
#define FILTER_API
Definition: gr-filter/include/gnuradio/filter/api.h:18