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

clIIRInterpolator Class Reference

IIR interpolation filter class implementation. More...

#include <IIRInterpolator.hh>

Inheritance diagram for clIIRInterpolator:

Inheritance graph
[legend]
Collaboration diagram for clIIRInterpolator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 clIIRInterpolator ()
 ~clIIRInterpolator ()
void Uninitialize ()
 Uninitialize interpolator.

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

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

bool Get (double *, long)

Private Attributes

clDSPAlloc IntBuf
clDSPOp DSP
clReBuffer OutBuf

Detailed Description

IIR interpolation filter class implementation.

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

Definition at line 39 of file IIRInterpolator.hh.


Constructor & Destructor Documentation

clIIRInterpolator::clIIRInterpolator  ) 
 

Definition at line 34 of file IIRInterpolator.cc.

clIIRInterpolator::~clIIRInterpolator  ) 
 

Definition at line 39 of file IIRInterpolator.cc.

References Uninitialize().


Member Function Documentation

void clIIRInterpolator::Uninitialize  ) 
 

Uninitialize interpolator.

Reimplemented from clIIRMultiRate.

Definition at line 45 of file IIRInterpolator.cc.

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

Referenced by clRecInterpolator::Uninitialize(), and ~clIIRInterpolator().

void clIIRInterpolator::Put const float *  ,
long 
 

Feed data into interpolator.

Parameters:
SrcData Source data
SrcCount Source data count

Definition at line 52 of file IIRInterpolator.cc.

References clDSPOp::Interpolate(), clIIRCascade::Process(), clReBuffer::Put(), and clAlloc::Size().

Referenced by clRecInterpolator::Put().

void clIIRInterpolator::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 65 of file IIRInterpolator.cc.

References clDSPOp::Interpolate(), clIIRCascade::Process(), clReBuffer::Put(), and clAlloc::Size().

bool clIIRInterpolator::Get float *  ,
long 
 

Get data from interpolator.

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

Definition at line 78 of file IIRInterpolator.cc.

References clReBuffer::Get().

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

bool clIIRInterpolator::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 84 of file IIRInterpolator.cc.

References clReBuffer::Get().


Member Data Documentation

clDSPAlloc clIIRInterpolator::IntBuf [private]
 

Definition at line 41 of file IIRInterpolator.hh.

clDSPOp clIIRInterpolator::DSP [private]
 

Definition at line 42 of file IIRInterpolator.hh.

clReBuffer clIIRInterpolator::OutBuf [private]
 

Definition at line 43 of file IIRInterpolator.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