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

clFFTDecimator Class Reference

FFT decimation filter class implementation. More...

#include <FFTDecimator.hh>

Inheritance diagram for clFFTDecimator:

Inheritance graph
[legend]
Collaboration diagram for clFFTDecimator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 clFFTDecimator ()
 ~clFFTDecimator ()
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

Detailed Description

FFT decimation filter class implementation.

Data is filtered using FFT filter and then decimated.

Definition at line 36 of file FFTDecimator.hh.


Constructor & Destructor Documentation

clFFTDecimator::clFFTDecimator  ) 
 

Definition at line 34 of file FFTDecimator.cc.

clFFTDecimator::~clFFTDecimator  ) 
 

Definition at line 39 of file FFTDecimator.cc.

References Uninitialize().


Member Function Documentation

void clFFTDecimator::Uninitialize  ) 
 

Uninitialize decimator.

Reimplemented from clFFTMultiRate.

Definition at line 45 of file FFTDecimator.cc.

References DecBuf, clAlloc::Free(), and clFFTMultiRate::Uninitialize().

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

void clFFTDecimator::Put const float *  ,
long 
 

Feed data into decimator.

Parameters:
SrcData Source data
SrcCount Source data count

Definition at line 52 of file FFTDecimator.cc.

References clFilter::Put().

Referenced by clRecDecimator::Put().

void clFFTDecimator::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 FFTDecimator.cc.

References clFilter::Put().

bool clFFTDecimator::Get float *  ,
long 
 

Get data from decimator.

Returns false if there's not enough data feeded into the decimator.

Parameters:
DestData Destination buffer
DestCount Number of samples
Returns:
Data was available?

Definition at line 64 of file FFTDecimator.cc.

References DecBuf, clDSPOp::Decimate(), clFilter::Get(), and clAlloc::Size().

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

bool clFFTDecimator::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 77 of file FFTDecimator.cc.

References DecBuf, clDSPOp::Decimate(), clFilter::Get(), and clAlloc::Size().


Member Data Documentation

clDSPAlloc clFFTDecimator::DecBuf [private]
 

Definition at line 38 of file FFTDecimator.hh.

Referenced by Get(), and Uninitialize().

clDSPOp clFFTDecimator::DSP [private]
 

Definition at line 39 of file FFTDecimator.hh.


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