11 #ifndef INCLUDED_FILTER_FIR_FILTER_H
12 #define INCLUDED_FILTER_FIR_FILTER_H
16 #include <volk/volk_alloc.hh>
24 template <
class IN_T,
class OUT_T,
class TAP_T>
41 std::vector<TAP_T>
taps()
const;
44 OUT_T
filter(
const IN_T input[])
const;
45 void filterN(OUT_T output[],
const IN_T input[],
unsigned long n);
49 unsigned int decimate);
Definition: fir_filter.h:26
void filterN(OUT_T output[], const IN_T input[], unsigned long n)
int d_naligned
Definition: fir_filter.h:57
std::vector< volk::vector< TAP_T > > d_aligned_taps
Definition: fir_filter.h:54
void filterNdec(OUT_T output[], const IN_T input[], unsigned long n, unsigned int decimate)
fir_filter(const std::vector< TAP_T > &taps)
std::vector< TAP_T > taps() const
void update_tap(TAP_T t, unsigned int index)
fir_filter & operator=(const fir_filter &)=delete
int d_align
Definition: fir_filter.h:56
std::vector< TAP_T > d_taps
Definition: fir_filter.h:52
unsigned int ntaps() const
volk::vector< OUT_T > d_output
Definition: fir_filter.h:55
fir_filter(const fir_filter &)=delete
unsigned int d_ntaps
Definition: fir_filter.h:53
OUT_T filter(const IN_T input[]) const
void set_taps(const std::vector< TAP_T > &taps)
fir_filter & operator=(fir_filter &&)=default
fir_filter(fir_filter &&)=default
#define FILTER_API
Definition: gr-filter/include/gnuradio/filter/api.h:18
static constexpr float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9
fir_filter< gr_complex, gr_complex, float > fir_filter_ccf
Definition: fir_filter.h:60
fir_filter< float, std::int16_t, float > fir_filter_fsf
Definition: fir_filter.h:64
fir_filter< gr_complex, gr_complex, gr_complex > fir_filter_ccc
Definition: fir_filter.h:62
fir_filter< std::int16_t, gr_complex, gr_complex > fir_filter_scc
Definition: fir_filter.h:63
fir_filter< float, gr_complex, gr_complex > fir_filter_fcc
Definition: fir_filter.h:61
fir_filter< float, float, float > fir_filter_fff
Definition: fir_filter.h:59
GNU Radio logging wrapper.
Definition: basic_block.h:29