Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

CzplfFFT_If Class Reference

#include <zplVecLib.h>

Inherited by CzplfFFTGen, CzplfFFTGen, and CzplfFFTGen.

Inheritance diagram for CzplfFFT_If:

[legend]
List of all members.

Public Types

enum  _Fft_Windows_ {
  _RECT, _HANNING, _HAMMING, _BLACKMAN,
  _BARTLETT, _WELCH
}
enum  _Fft_Windows_ {
  _RECT, _HANNING, _HAMMING, _BLACKMAN,
  _BARTLETT, _WELCH
}
enum  _Fft_Windows_ {
  _RECT, _HANNING, _HAMMING, _BLACKMAN,
  _BARTLETT, _WELCH
}

Public Member Functions

virtual void zplfFFT (zCOMPLEX *pfDest, float *pfSrc)=0
virtual void zplfIFFT (float *pfDest, zCOMPLEX *pfSrc)=0
int zplfGetWindow (float *pfWindow)
virtual void zplfFFT (zCOMPLEX *pfDest, float *pfSrc)=0
virtual void zplfIFFT (float *pfDest, zCOMPLEX *pfSrc)=0
int zplfGetWindow (float *pfWindow)
virtual void zplfFFT (zCOMPLEX *pfDest, float *pfSrc)=0
virtual void zplfIFFT (float *pfDest, zCOMPLEX *pfSrc)=0
int zplfGetWindow (float *pfWindow)

Protected Member Functions

void CalculateWindow (_Fft_Windows_ eWindowType)
unsigned int Log2 (int iValueAsPowOf2)
virtual int BuildFFTTables ()=0
virtual void FreeFFTTables ()=0
void CalculateWindow (_Fft_Windows_ eWindowType)
unsigned int Log2 (int iValueAsPowOf2)
virtual int BuildFFTTables ()=0
virtual void FreeFFTTables ()=0
void CalculateWindow (_Fft_Windows_ eWindowType)
unsigned int Log2 (int iValueAsPowOf2)
virtual int BuildFFTTables ()=0
virtual void FreeFFTTables ()=0

Protected Attributes

int m_eLastError
int m_iFFTLength
int m_iBlockLength
float * m_pfWindow
float * m_pfWindow
float * m_pfWindow

Member Enumeration Documentation

enum CzplfFFT_If::_Fft_Windows_
 

these are the possible windows for the FFT

Enumeration values:
_RECT  rectangular window
_HANNING  hanning window
_HAMMING  hamming window
_BLACKMAN  blackman harris window
_BARTLETT  bartlett window
_WELCH  welch window

Definition at line 277 of file FEAPIExamplePluginZeroCrossings/zplVecLib.h.

enum CzplfFFT_If::_Fft_Windows_
 

these are the possible windows for the FFT

Enumeration values:
_RECT  rectangular window
_HANNING  hanning window
_HAMMING  hamming window
_BLACKMAN  blackman harris window
_BARTLETT  bartlett window
_WELCH  welch window

Definition at line 277 of file FEAPIExamplePluginSpectral/zplVecLib.h.

enum CzplfFFT_If::_Fft_Windows_
 

these are the possible windows for the FFT

Enumeration values:
_RECT  rectangular window
_HANNING  hanning window
_HAMMING  hamming window
_BLACKMAN  blackman harris window
_BARTLETT  bartlett window
_WELCH  welch window

Definition at line 263 of file FEAPIExamplePluginLoudness/zplVecLib.h.


Member Function Documentation

virtual int CzplfFFT_If::BuildFFTTables  )  [protected, pure virtual]
 

Implemented in CzplfFFTGen, CzplfFFTGen, and CzplfFFTGen.

virtual int CzplfFFT_If::BuildFFTTables  )  [protected, pure virtual]
 

Implemented in CzplfFFTGen, CzplfFFTGen, and CzplfFFTGen.

virtual int CzplfFFT_If::BuildFFTTables  )  [protected, pure virtual]
 

Implemented in CzplfFFTGen, CzplfFFTGen, and CzplfFFTGen.

void CzplfFFT_If::CalculateWindow _Fft_Windows_  eWindowType  )  [protected]
 

void CzplfFFT_If::CalculateWindow _Fft_Windows_  eWindowType  )  [protected]
 

void CzplfFFT_If::CalculateWindow _Fft_Windows_  eWindowType  )  [protected]
 

Definition at line 34 of file FEAPIExamplePluginLoudness/zplFFT_If.cpp.

References _2PI, _BARTLETT, _BLACKMAN, _HAMMING, _HANNING, _RECT, _WELCH, m_iBlockLength, m_pfWindow, and ZASSERT.

Referenced by CzplfFFTGen::CzplfFFTGen().

virtual void CzplfFFT_If::FreeFFTTables  )  [protected, pure virtual]
 

Implemented in CzplfFFTGen, CzplfFFTGen, and CzplfFFTGen.

virtual void CzplfFFT_If::FreeFFTTables  )  [protected, pure virtual]
 

Implemented in CzplfFFTGen, CzplfFFTGen, and CzplfFFTGen.

virtual void CzplfFFT_If::FreeFFTTables  )  [protected, pure virtual]
 

Implemented in CzplfFFTGen, CzplfFFTGen, and CzplfFFTGen.

unsigned int CzplfFFT_If::Log2 int  iValueAsPowOf2  )  [protected]
 

unsigned int CzplfFFT_If::Log2 int  iValueAsPowOf2  )  [protected]
 

unsigned int CzplfFFT_If::Log2 int  iValueAsPowOf2  )  [protected]
 

Definition at line 95 of file FEAPIExamplePluginLoudness/zplFFT_If.cpp.

virtual void CzplfFFT_If::zplfFFT zCOMPLEX *  pfDest,
float *  pfSrc
[pure virtual]
 

calculates the zeropadded FFT

Parameters:
*pfDest : pointer to buffer the result is written (has to be length iBlockLength*iZeroPadFactor)
*pfSrc : pointer to input audio data
Returns:
void :

Implemented in CzplfFFTGen, CzplfFFTGen, and CzplfFFTGen.

virtual void CzplfFFT_If::zplfFFT zCOMPLEX *  pfDest,
float *  pfSrc
[pure virtual]
 

calculates the zeropadded FFT

Parameters:
*pfDest : pointer to buffer the result is written (has to be length iBlockLength*iZeroPadFactor)
*pfSrc : pointer to input audio data
Returns:
void :

Implemented in CzplfFFTGen, CzplfFFTGen, and CzplfFFTGen.

virtual void CzplfFFT_If::zplfFFT zCOMPLEX *  pfDest,
float *  pfSrc
[pure virtual]
 

calculates the zeropadded FFT

Parameters:
*pfDest : pointer to buffer the result is written (has to be length iBlockLength*iZeroPadFactor)
*pfSrc : pointer to input audio data
Returns:
void :

Implemented in CzplfFFTGen, CzplfFFTGen, and CzplfFFTGen.

Referenced by CSpectralFeatures::ProcessPlugin(), CLoudness::ProcessPlugin(), and CSpectralFeatures::ProcessPluginDone().

int CzplfFFT_If::zplfGetWindow float *  pfWindow  ) 
 

returns the length of the fft window

Parameters:
*pfWindow : if not 0, copies the window to this buffer
Returns:
int zplfGetWindow :

int CzplfFFT_If::zplfGetWindow float *  pfWindow  ) 
 

returns the length of the fft window

Parameters:
*pfWindow : if not 0, copies the window to this buffer
Returns:
int zplfGetWindow :

int CzplfFFT_If::zplfGetWindow float *  pfWindow  ) 
 

returns the length of the fft window

Parameters:
*pfWindow : if not 0, copies the window to this buffer
Returns:
int zplfGetWindow :

Definition at line 108 of file FEAPIExamplePluginLoudness/zplFFT_If.cpp.

References m_iBlockLength, and m_pfWindow.

Referenced by CLoudness::InitializePlugin().

virtual void CzplfFFT_If::zplfIFFT float *  pfDest,
zCOMPLEX *  pfSrc
[pure virtual]
 

calculates the IFFT from the zeropadded FFT

Parameters:
*pfDest : pointer to buffer the result is written (has to be length iBlockLength)
*pfSrc : pointer to input audio data (has to be length iBlockLength*iZeroPadFactor)
Returns:
void :

Implemented in CzplfFFTGen, CzplfFFTGen, and CzplfFFTGen.

virtual void CzplfFFT_If::zplfIFFT float *  pfDest,
zCOMPLEX *  pfSrc
[pure virtual]
 

calculates the IFFT from the zeropadded FFT

Parameters:
*pfDest : pointer to buffer the result is written (has to be length iBlockLength)
*pfSrc : pointer to input audio data (has to be length iBlockLength*iZeroPadFactor)
Returns:
void :

Implemented in CzplfFFTGen, CzplfFFTGen, and CzplfFFTGen.

virtual void CzplfFFT_If::zplfIFFT float *  pfDest,
zCOMPLEX *  pfSrc
[pure virtual]
 

calculates the IFFT from the zeropadded FFT

Parameters:
*pfDest : pointer to buffer the result is written (has to be length iBlockLength)
*pfSrc : pointer to input audio data (has to be length iBlockLength*iZeroPadFactor)
Returns:
void :

Implemented in CzplfFFTGen, CzplfFFTGen, and CzplfFFTGen.


Member Data Documentation

int CzplfFFT_If::m_eLastError [protected]
 

Reimplemented in CzplfFFTGen.

Definition at line 320 of file FEAPIExamplePluginZeroCrossings/zplVecLib.h.

int CzplfFFT_If::m_iBlockLength [protected]
 

Definition at line 327 of file FEAPIExamplePluginZeroCrossings/zplVecLib.h.

Referenced by CalculateWindow(), and zplfGetWindow().

int CzplfFFT_If::m_iFFTLength [protected]
 

Definition at line 327 of file FEAPIExamplePluginZeroCrossings/zplVecLib.h.

float* CzplfFFT_If::m_pfWindow [protected]
 

Definition at line 330 of file FEAPIExamplePluginZeroCrossings/zplVecLib.h.

float* CzplfFFT_If::m_pfWindow [protected]
 

Definition at line 330 of file FEAPIExamplePluginSpectral/zplVecLib.h.

float* CzplfFFT_If::m_pfWindow [protected]
 

Definition at line 316 of file FEAPIExamplePluginLoudness/zplVecLib.h.

Referenced by CalculateWindow(), and zplfGetWindow().


The documentation for this class was generated from the following files:
Generated on Fri Mar 23 10:28:59 2007 for FEAPI Plugin Documentation by  doxygen 1.3.9.1