diff options
author | Filippos Karapetis | 2012-04-19 01:13:47 -0700 |
---|---|---|
committer | Filippos Karapetis | 2012-04-19 01:13:47 -0700 |
commit | a1618c215ba4b731c61df39a0eb31fc8028d34ed (patch) | |
tree | 324929ba691765db61d7012b5eb75c87f7eb1d3e /common/dct.h | |
parent | 677806a4e97033a3e35559cf2a1da7ba45b0b72c (diff) | |
parent | 0f66d2c701958dc70ed57b570a7f59965a90bf66 (diff) | |
download | scummvm-rg350-a1618c215ba4b731c61df39a0eb31fc8028d34ed.tar.gz scummvm-rg350-a1618c215ba4b731c61df39a0eb31fc8028d34ed.tar.bz2 scummvm-rg350-a1618c215ba4b731c61df39a0eb31fc8028d34ed.zip |
Merge pull request #226 from digitall/sincos
Replace large static Sin and Cos tables with dynamically generated ones.
Diffstat (limited to 'common/dct.h')
-rw-r--r-- | common/dct.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/dct.h b/common/dct.h index 2c8c5129b8..085423ddff 100644 --- a/common/dct.h +++ b/common/dct.h @@ -33,6 +33,8 @@ #include "common/math.h" #include "common/rdft.h" +#include "common/cosinetables.h" + namespace Common { /** @@ -59,6 +61,7 @@ private: int _bits; TransformType _trans; + CosineTable _cos; const float *_tCos; float *_csc2; |