aboutsummaryrefslogtreecommitdiff
path: root/common/rdft.cpp
AgeCommit message (Collapse)Author
2018-08-25COMMON: Update RDFT and DCT cos/sin table constructor usageDavid Fioramonti
When the constructor for the cos/sin table was changed from number of bits to number of points all usages thoughout the code should of been changed, but this was missed in RDFT and DCT. Fixes Trac#10683.
2018-05-10COMMON: Use nullptr instead of NULL or 0 where appropriateBastien Bouclet
2014-06-02COMMON: Some formatting fixes in RDFT code.Johannes Schickel
2014-06-02COMMON: Use float constants in RDFT code.Johannes Schickel
We use float types in variables, thus also use them for constants. Silences some conversion warnings.
2014-02-18COMMON: Make GPL headers consistent in themselves.Johannes Schickel
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.
2011-07-19COMMON: Move cosine/sine tables out of header filesMatthew Hoops
Access is now restricted to using the getSineTable()/getCosineTable() helper functions.
2011-07-02COMMON: Add RDFT math codeMatthew Hoops
Based on eos' code which is based on FFmpeg's code