Age | Commit message (Collapse) | Author |
|
|
|
The repeated functions expanded from the original DECL_FFT macros are
now replaced by a recursive fft() function.
|
|
The cosine tables are now allocated once on object construction.
Also, only the tables necessary (less than or equal to _bits) are
created.
|
|
This makes it easier to look at reworking the Cosine Table usage to
prevent repeated reallocation on calc() calls.
|
|
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.
|
|
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)
|
|
|
|
|
|
Based on eos' code which is in turn based on FFmpeg's code
|
|
Based on eos' code which is based on FFmpeg's code
|