|
qm-dsp
1.8
|
#include <Framer.h>
Public Member Functions | |
| void | setSource (double *src, unsigned int length) |
| unsigned int | getMaxNoFrames () |
| void | getFrame (double *dst) |
| void | configure (unsigned int frameLength, unsigned int hop) |
| Framer () | |
| virtual | ~Framer () |
| void | resetCounters () |
Private Attributes | |
| unsigned long | m_ulSampleLen |
| unsigned int | m_framesRead |
| double * | m_srcBuffer |
| double * | m_dataFrame |
| double * | m_strideFrame |
| unsigned int | m_frameLength |
| unsigned int | m_stepSize |
| unsigned int | m_maxFrames |
| unsigned long | m_ulSrcIndex |
| Framer::Framer | ( | ) |
Definition at line 23 of file Framer.cpp.
References m_dataFrame, m_strideFrame, and NULL.
| Framer::~Framer | ( | ) | [virtual] |
Definition at line 29 of file Framer.cpp.
References m_dataFrame, m_strideFrame, and NULL.
| void Framer::setSource | ( | double * | src, |
| unsigned int | length | ||
| ) |
Definition at line 103 of file Framer.cpp.
References m_maxFrames, m_srcBuffer, m_stepSize, and m_ulSampleLen.
Referenced by TempoTrack::process().
| unsigned int Framer::getMaxNoFrames | ( | ) |
Definition at line 98 of file Framer.cpp.
References m_maxFrames.
Referenced by TempoTrack::process().
| void Framer::getFrame | ( | double * | dst | ) |
Definition at line 60 of file Framer.cpp.
References m_frameLength, m_framesRead, m_srcBuffer, m_stepSize, m_ulSampleLen, and m_ulSrcIndex.
Referenced by TempoTrack::process().
| void Framer::configure | ( | unsigned int | frameLength, |
| unsigned int | hop | ||
| ) |
Definition at line 38 of file Framer.cpp.
References m_dataFrame, m_frameLength, m_stepSize, m_strideFrame, NULL, and resetCounters().
Referenced by TempoTrack::initialise().
| void Framer::resetCounters | ( | ) |
Definition at line 92 of file Framer.cpp.
References m_framesRead, and m_ulSrcIndex.
Referenced by configure().
unsigned long Framer::m_ulSampleLen [private] |
Definition at line 38 of file Framer.h.
Referenced by getFrame(), and setSource().
unsigned int Framer::m_framesRead [private] |
Definition at line 39 of file Framer.h.
Referenced by getFrame(), and resetCounters().
double* Framer::m_srcBuffer [private] |
Definition at line 41 of file Framer.h.
Referenced by getFrame(), and setSource().
double* Framer::m_dataFrame [private] |
Definition at line 42 of file Framer.h.
Referenced by configure(), Framer(), and ~Framer().
double* Framer::m_strideFrame [private] |
Definition at line 43 of file Framer.h.
Referenced by configure(), Framer(), and ~Framer().
unsigned int Framer::m_frameLength [private] |
Definition at line 44 of file Framer.h.
Referenced by configure(), and getFrame().
unsigned int Framer::m_stepSize [private] |
Definition at line 45 of file Framer.h.
Referenced by configure(), getFrame(), and setSource().
unsigned int Framer::m_maxFrames [private] |
Definition at line 47 of file Framer.h.
Referenced by getMaxNoFrames(), and setSource().
unsigned long Framer::m_ulSrcIndex [private] |
Definition at line 49 of file Framer.h.
Referenced by getFrame(), and resetCounters().