DSP  1.1.0
 All Classes Functions Variables
Public Member Functions | Protected Attributes
DSP::FFT Class Reference

List of all members.

Public Member Functions

 FFT (const long length, QObject *parent=0)
 Constructor.
 FFT (const long width, const long height, QObject *parent=0)
 Constructor.
virtual ~FFT ()
 Destructor.
Q_INVOKABLE void compute (const float source[], float result[])
 Compute the 1D FFT.
Q_INVOKABLE void inverse (const float source[], float result[])
 Compute the inverse 1D FFT.
Q_INVOKABLE void rescale (float source[]) const
 Rescale values after forward FFT.
Q_INVOKABLE void compute2d (const float source[], float result[])
 Compute the 2D FFT.
Q_INVOKABLE void inverse2d (const float source[], float result[])
 Compute the inverse 2D FFT.

Protected Attributes

FFTPrivate *const d_ptr

Constructor & Destructor Documentation

DSP::FFT::FFT ( const long  length,
QObject *  parent = 0 
) [explicit]

Constructor.

Parameters:
length
parent
DSP::FFT::FFT ( const long  width,
const long  height,
QObject *  parent = 0 
) [explicit]

Constructor.

Parameters:
width
height
parent

Member Function Documentation

void DSP::FFT::compute ( const float  source[],
float  result[] 
)

Compute the 1D FFT.

Parameters:
source
result
void DSP::FFT::compute2d ( const float  source[],
float  result[] 
)

Compute the 2D FFT.

Parameters:
source
result
void DSP::FFT::inverse ( const float  source[],
float  result[] 
)

Compute the inverse 1D FFT.

Parameters:
source
result
void DSP::FFT::inverse2d ( const float  source[],
float  result[] 
)

Compute the inverse 2D FFT.

Parameters:
source
result
void DSP::FFT::rescale ( float  source[]) const

Rescale values after forward FFT.

Parameters:
source
result

Member Data Documentation

FFTPrivate* const DSP::FFT::d_ptr [protected]

Private implementation of the FFT


The documentation for this class was generated from the following files:
 All Classes Functions Variables