Commit Graph

14 Commits

Author SHA1 Message Date
David Fioramonti
da57cef0c3 COMMON: FFT update cos/sin table constructor change
They now take in the size rather than the power of 2 exponent.
2018-08-18 16:30:57 +02:00
Bastien Bouclet
955e18c648 COMMON: Use nullptr instead of NULL or 0 where appropriate 2018-05-10 08:35:46 +02:00
Bastien Bouclet
53388bf6e8 COMMON: Plug a memory leak in the FFT class 2015-07-13 18:45:31 +02:00
Bastien Bouclet
ed037a527c COMMON: Add getRevTab to FFT 2015-02-01 10:35:23 +01:00
Johannes Schickel
854e22b38b COMMON: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01:00
D G Turner
aa61c9abd3 COMMON: Refactoring of FFT class to remove repeated fft<x>() functions.
The repeated functions expanded from the original DECL_FFT macros are
now replaced by a recursive fft() function.
2012-04-17 20:23:38 +01:00
D G Turner
422334da5a COMMON: Refactoring of FFT class, removing Cosine Table Reallocations.
The cosine tables are now allocated once on object construction.
Also, only the tables necessary (less than or equal to _bits) are
created.
2012-04-16 21:05:21 +01:00
D G Turner
d04717f323 COMMON: Minor refactoring of FFT class, removing DECL_FFT macro.
This makes it easier to look at reworking the Cosine Table usage to
prevent repeated reallocation on calc() calls.
2012-04-16 15:24:47 +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
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Matthew Hoops
9ad45e28a1 COMMON: Fix some formatting 2011-07-19 10:31:03 -04:00
Matthew Hoops
87b4ef5547 COMMON: Update code from eos 2011-07-18 10:28:10 -04:00
Matthew Hoops
4ace7f626b VIDEO: Add Bink video decoder
Based on eos' code which is in turn based on FFmpeg's code
2011-07-02 16:36:37 -04:00
Matthew Hoops
3aefa913fa COMMON: Add an FFT math handler
Based on eos' code which is based on FFmpeg's code
2011-07-02 15:23:49 -04:00