aboutsummaryrefslogtreecommitdiff
path: root/common/rdft.h
AgeCommit message (Collapse)Author
2012-04-19Merge pull request #226 from digitall/sincosFilippos Karapetis
Replace large static Sin and Cos tables with dynamically generated ones.
2012-04-17COMMON: Update DCT & RDFT to avoid dynamic allocation of Sine/Cos Tables.D G Turner
2012-04-14COMMON: Replaced static Sine and Cosine tables with dynamic generated.D G Turner
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-13COMMON: Fixes for compiling without USE_BINK enabled.D G Turner
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.
2011-07-18COMMON: Update class documentation to say they're now used by SCUMMMatthew Hoops
2011-07-18COMMON: Remove USE_BINK checks from header filesMatthew Hoops
2011-07-13BUILD: Allow for disabling Bink supportMatthew Hoops
2011-07-02COMMON: Add RDFT math codeMatthew Hoops
Based on eos' code which is based on FFmpeg's code