xoreos
0.0.5
|
(Inverse) Discrete Cosine Transforms. More...
#include <dct.h>
Public Types | |
enum | TransformType { DCT_II, DCT_III, DCT_I, DST_I } |
Public Member Functions | |
DCT (int bits, TransformType trans) | |
~DCT () | |
void | calc (float *data) |
Private Member Functions | |
void | calcDCTI (float *data) |
void | calcDCTII (float *data) |
void | calcDCTIII (float *data) |
void | calcDSTI (float *data) |
Private Attributes | |
int | _bits |
TransformType | _trans |
const float * | _tCos |
ScopedPtr< RDFT > | _rdft |
ScopedArray< float > | _csc2 |
Common::DCT::DCT | ( | int | bits, |
TransformType | trans | ||
) |
Definition at line 60 of file dct.cpp.
References _bits, _csc2, _rdft, _tCos, _trans, DCT_III, Common::RDFT::DFT_R2C, Common::getCosineTable(), Common::RDFT::IDFT_C2R, M_PI, and Common::ScopedPtrBase< T, Deallocator >::reset().
void Common::DCT::calc | ( | float * | data | ) |
Definition at line 76 of file dct.cpp.
References _trans, calcDCTI(), calcDCTII(), calcDCTIII(), calcDSTI(), DCT_I, DCT_II, DCT_III, and DST_I.
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 81 of file dct.h.
Referenced by calcDCTI(), calcDCTII(), calcDCTIII(), calcDSTI(), and DCT().
|
private |
Definition at line 88 of file dct.h.
Referenced by calcDCTIII(), and DCT().
Definition at line 86 of file dct.h.
Referenced by calcDCTI(), calcDCTII(), calcDCTIII(), calcDSTI(), and DCT().
|
private |