aboutsummaryrefslogtreecommitdiff
path: root/common/fft.h
diff options
context:
space:
mode:
authorD G Turner2012-04-14 11:18:55 +0100
committerD G Turner2012-04-14 11:18:55 +0100
commitf4ba8a6485b097a8ef1e2004d1af127243f379f1 (patch)
tree0cd4d3ebb0e7fbc9a4385e5244925570839aedda /common/fft.h
parent1809b9173cc158713246ae7bd70fe37a0dea1dd0 (diff)
downloadscummvm-rg350-f4ba8a6485b097a8ef1e2004d1af127243f379f1.tar.gz
scummvm-rg350-f4ba8a6485b097a8ef1e2004d1af127243f379f1.tar.bz2
scummvm-rg350-f4ba8a6485b097a8ef1e2004d1af127243f379f1.zip
COMMON: Replaced static Sine and Cosine tables with dynamic generated.
This removes the large static tables from the binary (which saves 500K to 1Mb of binary size) and replaced them with a class which generates the required tables as needed in RAM. This has been tested with QDM2 and shows no obvious performance degredation and Memprof shows no significant rise in RAM usage.
Diffstat (limited to 'common/fft.h')
-rw-r--r--common/fft.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/fft.h b/common/fft.h
index e77c53c2a7..318e1d2f97 100644
--- a/common/fft.h
+++ b/common/fft.h
@@ -64,9 +64,6 @@ private:
Complex *_expTab;
Complex *_tmpBuf;
- const float *_tSin;
- const float *_tCos;
-
int _splitRadix;
int _permutation;