GNU Radio 3.6.5 C++ API
|
Concrete class for generic implementation of FIR with short input, gr_complex output and gr_complex taps. More...
#include <gr_fir_scc_generic.h>
Public Member Functions | |
gr_fir_scc_generic () | |
gr_fir_scc_generic (const std::vector< gr_complex > &taps) | |
virtual gr_complex | filter (const short input[]) |
compute a single output value. | |
virtual void | filterN (gr_complex output[], const short input[], unsigned long n) |
compute an array of N output values. | |
virtual void | filterNdec (gr_complex output[], const short input[], unsigned long n, unsigned decimate) |
compute an array of N output values, decimating the input |
Concrete class for generic implementation of FIR with short input, gr_complex output and gr_complex taps.
The trailing suffix has the form _IOT where I codes the input type, O codes the output type, and T codes the tap type. I,O,T are elements of the set 's' (short), 'f' (float), 'c' (gr_complex), 'i' (int)
gr_fir_scc_generic::gr_fir_scc_generic | ( | ) | [inline] |
gr_fir_scc_generic::gr_fir_scc_generic | ( | const std::vector< gr_complex > & | taps | ) | [inline] |
virtual gr_complex gr_fir_scc_generic::filter | ( | const short | input[] | ) | [virtual] |
compute a single output value.
input
must have ntaps() valid entries. input[0] .. input[ntaps() - 1] are referenced to compute the output value.
Implements gr_fir_scc.
Reimplemented in gr_fir_scc_simd.
virtual void gr_fir_scc_generic::filterN | ( | gr_complex | output[], |
const short | input[], | ||
unsigned long | n | ||
) | [virtual] |
compute an array of N output values.
input
must have (n - 1 + ntaps()) valid entries. input[0] .. input[n - 1 + ntaps() - 1] are referenced to compute the output values.
Implements gr_fir_scc.
virtual void gr_fir_scc_generic::filterNdec | ( | gr_complex | output[], |
const short | input[], | ||
unsigned long | n, | ||
unsigned | decimate | ||
) | [virtual] |
compute an array of N output values, decimating the input
input
must have (decimate * (n - 1) + ntaps()) valid entries. input[0] .. input[decimate * (n - 1) + ntaps() - 1] are referenced to compute the output values.
Implements gr_fir_scc.