Commit Graph

10 Commits

Author SHA1 Message Date
Johannes Schickel
854e22b38b COMMON: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01:00
Willem Jan Palenstijn
dd003b6a28 COMMON: Add basic documentation for RDFT 2013-06-08 22:03:22 +02:00
Filippos Karapetis
a1618c215b Merge pull request #226 from digitall/sincos
Replace large static Sin and Cos tables with dynamically generated ones.
2012-04-19 01:13:47 -07:00
D G Turner
0f66d2c701 COMMON: Update DCT & RDFT to avoid dynamic allocation of Sine/Cos Tables. 2012-04-17 22:12:20 +01:00
D G Turner
f4ba8a6485 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.
2012-04-14 11:18:55 +01:00
D G Turner
11143d4839 COMMON: Fixes for compiling without USE_BINK enabled.
The math utility classes in Common are now used by more than just Bink
Video i.e. Huffman is used by SVQ1, RDFT by QDM2 etc. so need to remove
conditional inclusion of objects in the Common Library.

This was done as these functions are very large wrt. binary size.
This is mainly due to the sine, cosine and log tables which should be
reconsidered as to whether these are needed or can be replaced by
standard sin()/cos() calls.
2012-04-13 09:17:17 +01:00
Matthew Hoops
e6171fbb74 COMMON: Update class documentation to say they're now used by SCUMM 2011-07-18 10:21:20 -04:00
Matthew Hoops
c4d3a86010 COMMON: Remove USE_BINK checks from header files 2011-07-18 10:13:50 -04:00
Matthew Hoops
a50abde1b1 BUILD: Allow for disabling Bink support 2011-07-13 12:08:26 -04:00
Matthew Hoops
f311a7ee67 COMMON: Add RDFT math code
Based on eos' code which is based on FFmpeg's code
2011-07-02 15:28:09 -04:00