qm-dsp  1.8
FiltFilt Class Reference

Zero-phase digital filter, implemented by processing the data through a filter specified by the given FilterConfig structure (see Filter) and then processing it again in reverse. More...

#include <FiltFilt.h>

List of all members.

Public Member Functions

 FiltFilt (FilterConfig Config)
virtual ~FiltFilt ()
void reset ()
void process (double *src, double *dst, unsigned int length)

Private Member Functions

void initialise (FilterConfig Config)
void deInitialise ()

Private Attributes

unsigned int m_ord
Filterm_filter
double * m_filtScratchIn
double * m_filtScratchOut
FilterConfig m_filterConfig

Detailed Description

Zero-phase digital filter, implemented by processing the data through a filter specified by the given FilterConfig structure (see Filter) and then processing it again in reverse.

Definition at line 26 of file FiltFilt.h.


Constructor & Destructor Documentation

Definition at line 22 of file FiltFilt.cpp.

References initialise(), m_filtScratchIn, m_filtScratchOut, m_ord, and NULL.

FiltFilt::~FiltFilt ( ) [virtual]

Definition at line 31 of file FiltFilt.cpp.

References deInitialise().


Member Function Documentation

void FiltFilt::reset ( )

Definition at line 127 of file FiltFilt.cpp.

void FiltFilt::process ( double *  src,
double *  dst,
unsigned int  length 
)

Definition at line 52 of file FiltFilt.cpp.

References m_filter, m_filtScratchIn, m_filtScratchOut, m_ord, and Filter::process().

Referenced by DFProcess::process().

void FiltFilt::initialise ( FilterConfig  Config) [private]

Definition at line 36 of file FiltFilt.cpp.

References FilterConfig::ACoeffs, FilterConfig::BCoeffs, m_filter, m_filterConfig, m_ord, and FilterConfig::ord.

Referenced by FiltFilt().

void FiltFilt::deInitialise ( ) [private]

Definition at line 46 of file FiltFilt.cpp.

References m_filter.

Referenced by ~FiltFilt().


Member Data Documentation

unsigned int FiltFilt::m_ord [private]

Definition at line 39 of file FiltFilt.h.

Referenced by FiltFilt(), initialise(), and process().

Definition at line 41 of file FiltFilt.h.

Referenced by deInitialise(), initialise(), and process().

double* FiltFilt::m_filtScratchIn [private]

Definition at line 43 of file FiltFilt.h.

Referenced by FiltFilt(), and process().

double* FiltFilt::m_filtScratchOut [private]

Definition at line 44 of file FiltFilt.h.

Referenced by FiltFilt(), and process().

Definition at line 46 of file FiltFilt.h.

Referenced by initialise().


The documentation for this class was generated from the following files: