Commit Graph

7 Commits

Author SHA1 Message Date
Johannes Schickel
bab02dd42b COMMON: Some formatting fixes in RDFT code. 2014-06-02 01:00:15 +02:00
Johannes Schickel
3c0c64f820 COMMON: Use float constants in RDFT code.
We use float types in variables, thus also use them for constants. Silences
some conversion warnings.
2014-06-02 01:00:15 +02:00
Johannes Schickel
854e22b38b COMMON: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01: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
Matthew Hoops
6334ec413f COMMON: Move cosine/sine tables out of header files
Access is now restricted to using the getSineTable()/getCosineTable() helper functions.
2011-07-19 00:45:16 -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