Class performing a RFFT of interleaved stereo data.
More...
#include <rfft.h>
|
| RFFT (int size, bool windowed=false) |
| The constructor creates a RFFT plan. More...
|
|
| ~RFFT () |
| Free the RFFT plan.
|
|
void | calc (const float *input, float *output) |
| Calculate FFTs. More...
|
|
|
static void | hann (std::vector< kiss_fft_scalar > &data) |
| Apply a Hann window to a buffer. More...
|
|
Class performing a RFFT of interleaved stereo data.
◆ RFFT()
RFFT::RFFT |
( |
int |
size, |
|
|
bool |
windowed = false |
|
) |
| |
The constructor creates a RFFT plan.
size Length of time data for a single channel. windowed Whether or not to apply a Hann window to data.
◆ calc()
void RFFT::calc |
( |
const float * |
input, |
|
|
float * |
output |
|
) |
| |
Calculate FFTs.
- Parameters
-
input | Input data of size 2*m_size |
output | Output data of size m_size. |
◆ hann()
void RFFT::hann |
( |
std::vector< kiss_fft_scalar > & |
data | ) |
|
|
staticprotected |
Apply a Hann window to a buffer.
- Parameters
-
data | Vector with data to apply window to. |
The documentation for this class was generated from the following files:
- xbmc/utils/rfft.h
- xbmc/utils/rfft.cpp