Jean-Marc Valin
f93747c44a
fixed-point: changed find_spectral_pitch() to use single-precision (16-bit) FFT.
...
This involved adding kfft_single.[ch] that redefines kiss_fft a second time
with a different prefix. All this is still a bit of a mess now. The mask
had to be converted to 16-bit input, but we're still using floats to apply it.
2008-03-05 17:20:30 +11:00
Jean-Marc Valin
4024444811
nothing to see here
2008-03-05 15:18:53 +11:00
Jean-Marc Valin
b624cdd2ce
fixed-point: masking curve computation now converted. ***Fixed a bug in the
...
handling of the left side slope of the spreading function (right-side coef
was used)
2008-03-05 13:40:20 +11:00
Jean-Marc Valin
312132780e
A bunch of const qualifyers and a few comments
2008-03-03 16:52:54 +11:00
Jean-Marc Valin
730c6e392d
Applying the window properly in find_spectral_pitch()
2008-03-03 16:38:29 +11:00
Jean-Marc Valin
ddb181b75e
A bit more reordering in stack memory allocation -- saved 1024 bytes on peak use
2008-03-03 14:53:47 +11:00
Jean-Marc Valin
137ec8e9b8
applying the pitch windowing directly in find_spectral_pitch()
2008-03-03 14:44:42 +11:00
Jean-Marc Valin
37942649cc
Saved 4 kB of stack usage in find_spectral_pitch() by doing the FFT in-place
...
(sort of)
2008-03-01 22:55:27 +11:00
Jean-Marc Valin
a556694e12
Stereo pitch search no longer requires twice the memory/complexity.
2008-03-01 20:14:20 +11:00
Jean-Marc Valin
d748cd5570
Another C90-fying pass. Fixed some warnings in the process.
2008-03-01 07:27:03 +11:00
Jean-Marc Valin
8d4ac155e6
Saved on stack usage by changing the order of the allocation
2008-02-29 17:24:02 +11:00
Jean-Marc Valin
9b9e98625c
Bit of memory reduction in the pitch search. More needed.
2008-02-29 17:07:53 +11:00
Jean-Marc Valin
8600f69f79
Initial support for a managed stack/scratchpad. Still needs some work.
2008-02-29 15:14:12 +11:00
Jean-Marc Valin
5f09ea5659
celt_mask_t for masking curves
2008-02-26 16:43:04 +11:00
Jean-Marc Valin
8835a4df25
Removed useless masking curve for current frame and ignored Fs argument to
...
masking computation functions.
2008-02-26 16:35:19 +11:00
Jean-Marc Valin
5c032a4cb4
fixed-point: celt_sig_t now a 32-bit value.
2008-02-25 14:55:09 +11:00
Jean-Marc Valin
49ca99efa5
fixed-point: initial support for using the fixed-point MDCT (rest is still all
...
float)
2008-02-25 14:12:10 +11:00
Jean-Marc Valin
37d13ceebe
Adding celt_sig_t where needed
2008-02-22 14:45:58 +11:00
Jean-Marc Valin
879fbfd528
Updated Doxygen comments, removed an incorrectly placed LGPL header (we own
...
copyright, so it's fine!)
2008-02-20 17:17:13 +11:00
Jean-Marc Valin
9a0bba183c
Everything should now compile with a C89 compiler.
2008-02-20 14:08:50 +11:00
Jean-Marc Valin
0bb05bc5ea
Another bunch of C99 array conversions (few more to go)
2008-02-20 13:43:40 +11:00
Jean-Marc Valin
02fa913c32
More C89 fixes, making sure to include config.h from all source files.
2008-02-20 12:09:29 +11:00
Jean-Marc Valin
a85657bd29
removed // comments and added stack_alloc.h (not used everywhere yet)
...
to make the code more C89-friendly.
2008-02-20 11:59:30 +11:00
Jean-Marc Valin
5b50f4bf81
Decays corresponding to the psychoacoustic spreading function are now
...
pre-computed (instead of computing tons of pow() uselessly all the time)
2008-02-11 11:50:20 +11:00
Jean-Marc Valin
b7ed44ba0a
minor tweak to pitch weighting function, disabled some code that doesn't
...
do anything yet.
2008-02-11 11:15:33 +11:00
Jean-Marc Valin
7351e286c8
Everything converted to use kiss-fft. Got rid of smallft and fftwrap.
...
Code much leaner now.
2008-02-08 15:09:45 +11:00
Jean-Marc Valin
9d35ccdaea
Fixed stereo version of the pitch estimator
2007-12-10 17:57:19 +11:00
Jean-Marc Valin
991410be59
Added a simple psychoacoustic model (still needs a lot of work).
2007-12-10 01:28:34 +11:00
Jean-Marc Valin
f3efa3e132
Some improvements to the pitch period estimation
2007-12-01 01:55:17 +11:00
Jean-Marc Valin
6f7e83d8f4
Pre-emphasis, plus a few minor tweaks
2007-12-01 00:36:41 +11:00
Jean-Marc Valin
4bf5fd8824
Pitch cleanup/bugfix
2007-11-30 15:01:48 +11:00
Jean-Marc Valin
14191b3ccd
Added pitch analysis. Doesn't crash, but otherwise untested.
2007-11-30 12:15:49 +11:00