|
qm-dsp
1.8
|
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>
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 |
| Filter * | m_filter |
| double * | m_filtScratchIn |
| double * | m_filtScratchOut |
| FilterConfig | m_filterConfig |
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.
| FiltFilt::FiltFilt | ( | FilterConfig | Config | ) |
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().
| 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] |
unsigned int FiltFilt::m_ord [private] |
Definition at line 39 of file FiltFilt.h.
Referenced by FiltFilt(), initialise(), and process().
Filter* FiltFilt::m_filter [private] |
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().
FilterConfig FiltFilt::m_filterConfig [private] |
Definition at line 46 of file FiltFilt.h.
Referenced by initialise().