Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

gr_fir_SCC_generic Class Reference

Concrete class for generic implementation of FIR with short input, VrComplex output and VrComplex taps. More...

#include <gr_fir_SCC_generic.h>

Inheritance diagram for gr_fir_SCC_generic:

gr_fir_SCC gr_fir_SCC_simd gr_fir_SCC_3dnow gr_fir_SCC_3dnowext gr_fir_SCC_sse List of all members.

Public Member Functions

 gr_fir_SCC_generic ()
 gr_fir_SCC_generic (const std::vector< VrComplex > &taps)
virtual VrComplex filter (const short input[])
 compute a single output value.
virtual void filterN (VrComplex output[], const short input[], unsigned long n)
 compute an array of N output values.
virtual void filterNdec (VrComplex output[], const short input[], unsigned long n, unsigned decimate)
 compute an array of N output values, decimating the input

Detailed Description

Concrete class for generic implementation of FIR with short input, VrComplex output and VrComplex 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' (VrComplex), 'I' (int)


Constructor & Destructor Documentation

gr_fir_SCC_generic::gr_fir_SCC_generic  )  [inline]
 

gr_fir_SCC_generic::gr_fir_SCC_generic const std::vector< VrComplex > &  taps  )  [inline]
 


Member Function Documentation

VrComplex 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.

Returns:
the filtered input value.

Implements gr_fir_SCC.

Reimplemented in gr_fir_SCC_simd.

void gr_fir_SCC_generic::filterN VrComplex  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.

void gr_fir_SCC_generic::filterNdec VrComplex  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.


The documentation for this class was generated from the following files:
Generated on Wed Mar 23 12:30:32 2005 for GNU Radio by  doxygen 1.4.0