Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

clIIRDecimator Class Reference

IIR decimation filter class implementation. More...

#include <IIRDecimator.hh>

Inheritance diagram for clIIRDecimator:

Inheritance graph
[legend]
Collaboration diagram for clIIRDecimator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 clIIRDecimator ()
 ~clIIRDecimator ()
void Uninitialize ()
 Uninitialize decimator.

void Put (const float *, long)
 Feed data into decimator.

void Put (const double *, long)
bool Get (float *, long)
 Get data from decimator.

bool Get (double *, long)

Private Attributes

clDSPAlloc DecBuf
clDSPOp DSP
clReBuffer InBuf

Detailed Description

IIR decimation filter class implementation.

Data is filtered using IIR filter and then decimated by factor 2 or 3.

Definition at line 39 of file IIRDecimator.hh.


Constructor & Destructor Documentation

clIIRDecimator::clIIRDecimator  ) 
 

Definition at line 34 of file IIRDecimator.cc.

clIIRDecimator::~clIIRDecimator  ) 
 

Definition at line 39 of file IIRDecimator.cc.

References Uninitialize().


Member Function Documentation

void clIIRDecimator::Uninitialize  ) 
 

Uninitialize decimator.

Reimplemented from clIIRMultiRate.

Definition at line 45 of file IIRDecimator.cc.

References clAlloc::Free(), and clIIRMultiRate::Uninitialize().

Referenced by clRecDecimator::Uninitialize(), and ~clIIRDecimator().

void clIIRDecimator::Put const float *  ,
long 
 

Feed data into decimator.

Parameters:
SrcData Source data
SrcCount Source data count

Definition at line 52 of file IIRDecimator.cc.

References clReBuffer::Put().

Referenced by clRecDecimator::Put().

void clIIRDecimator::Put const double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 58 of file IIRDecimator.cc.

References clReBuffer::Put().

bool clIIRDecimator::Get float *  ,
long 
 

Get data from decimator.

Parameters:
DestData Destination buffer
DestCount Number of samples to fetch
Returns:
Success

Definition at line 64 of file IIRDecimator.cc.

References clDSPOp::Decimate(), clReBuffer::Get(), clIIRCascade::Process(), and clAlloc::Size().

Referenced by clRecDecimator::Get(), and clRecDecimator::Put().

bool clIIRDecimator::Get double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 79 of file IIRDecimator.cc.

References clDSPOp::Decimate(), clReBuffer::Get(), clIIRCascade::Process(), and clAlloc::Size().


Member Data Documentation

clDSPAlloc clIIRDecimator::DecBuf [private]
 

Definition at line 41 of file IIRDecimator.hh.

clDSPOp clIIRDecimator::DSP [private]
 

Definition at line 42 of file IIRDecimator.hh.

clReBuffer clIIRDecimator::InBuf [private]
 

Definition at line 43 of file IIRDecimator.hh.


The documentation for this class was generated from the following files:
Generated on Tue Mar 2 19:47:12 2004 for libDSP by doxygen 1.3.6