ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

(Inverse) Modified Discrete Cosine Transforms. More...

#include <mdct.h>

Collaboration diagram for Common::MDCT:

List of all members.

Public Member Functions

 MDCT (int bits, bool inverse, double scale)
 ~MDCT ()
void calcMDCT (float *output, const float *input)
 Compute MDCT of size N = 2^nbits.
void calcIMDCT (float *output, const float *input)
 Compute inverse MDCT of size N = 2^nbits.

Private Member Functions

void calcHalfIMDCT (float *output, const float *input)
 Compute the middle half of the inverse MDCT of size N = 2^nbits, thus excluding the parts that can be derived by symmetry.

Private Attributes

int _bits
int _size
float * _tCos
float * _tSin
FFT_fft

Detailed Description

(Inverse) Modified Discrete Cosine Transforms.

Definition at line 38 of file mdct.h.


Constructor & Destructor Documentation

Common::MDCT::MDCT ( int  bits,
bool  inverse,
double  scale 
)

Definition at line 38 of file mdct.cpp.

Common::MDCT::~MDCT (  ) 

Definition at line 60 of file mdct.cpp.


Member Function Documentation

void Common::MDCT::calcHalfIMDCT ( float *  output,
const float *  input 
) [private]

Compute the middle half of the inverse MDCT of size N = 2^nbits, thus excluding the parts that can be derived by symmetry.

Definition at line 123 of file mdct.cpp.

void Common::MDCT::calcIMDCT ( float *  output,
const float *  input 
)

Compute inverse MDCT of size N = 2^nbits.

Definition at line 111 of file mdct.cpp.

void Common::MDCT::calcMDCT ( float *  output,
const float *  input 
)

Compute MDCT of size N = 2^nbits.

Definition at line 70 of file mdct.cpp.


Member Data Documentation

int Common::MDCT::_bits [private]

Definition at line 50 of file mdct.h.

FFT* Common::MDCT::_fft [private]

Definition at line 56 of file mdct.h.

int Common::MDCT::_size [private]

Definition at line 51 of file mdct.h.

float* Common::MDCT::_tCos [private]

Definition at line 53 of file mdct.h.

float* Common::MDCT::_tSin [private]

Definition at line 54 of file mdct.h.


The documentation for this class was generated from the following files:


Generated on Sat Sep 14 2019 05:03:59 for ResidualVM by doxygen 1.7.1
curved edge   curved edge