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 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.
|
|
|
|
|
|
|
|
Based on eos' code which is based on FFmpeg's code
|