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

(Inverse) Discrete Cosine Transforms. More...

#include <dct.h>

Collaboration diagram for Common::DCT:

List of all members.

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
CosineTable _cos
const float * _tCos
float * _csc2
RDFT_rdft

Detailed Description

(Inverse) Discrete Cosine Transforms.

Used in engines:

  • scumm

Definition at line 46 of file dct.h.


Member Enumeration Documentation

Enumerator:
DCT_II 
DCT_III 
DCT_I 
DST_I 

Definition at line 48 of file dct.h.


Constructor & Destructor Documentation

Common::DCT::DCT ( int  bits,
TransformType  trans 
)

Definition at line 33 of file dct.cpp.

Common::DCT::~DCT (  ) 

Definition at line 46 of file dct.cpp.


Member Function Documentation

void Common::DCT::calc ( float *  data  ) 

Definition at line 51 of file dct.cpp.

void Common::DCT::calcDCTI ( float *  data  )  [private]

Definition at line 73 of file dct.cpp.

void Common::DCT::calcDCTII ( float *  data  )  [private]

Definition at line 105 of file dct.cpp.

void Common::DCT::calcDCTIII ( float *  data  )  [private]

Definition at line 142 of file dct.cpp.

void Common::DCT::calcDSTI ( float *  data  )  [private]

Definition at line 176 of file dct.cpp.


Member Data Documentation

int Common::DCT::_bits [private]

Definition at line 61 of file dct.h.

Definition at line 64 of file dct.h.

float* Common::DCT::_csc2 [private]

Definition at line 67 of file dct.h.

Definition at line 69 of file dct.h.

const float* Common::DCT::_tCos [private]

Definition at line 65 of file dct.h.

Definition at line 62 of file dct.h.


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


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