Jean-Marc Valin
bd2828f64b
Decision on whether to use pitch is now taken only based on energy in the
...
first three bands (instead of total MDCT window energy)
2008-03-26 08:10:27 +11:00
Jean-Marc Valin
d9584dbafc
properly defined EPSILON for the float case
2008-03-26 00:00:18 +11:00
Jean-Marc Valin
f5b0587bd2
s/ROUND/ROUND16/
2008-03-21 10:46:17 +11:00
Jean-Marc Valin
c7e0b76c06
Making sure not to use the C library calls directly
2008-03-16 07:55:29 +11:00
Jean-Marc Valin
d857ac48de
Using reciprocal approximation instead of full 32-bit division in alg_quant()
2008-03-12 13:26:37 +11:00
Jean-Marc Valin
72e8003f75
Added macro definitions for the TI C5x family (untested)
2008-03-12 10:16:26 +11:00
Jean-Marc Valin
c209c342bf
fixed-point: defined HALF32() and used it for the forward mdct.
2008-03-07 17:50:45 +11:00
Jean-Marc Valin
03892c18d4
fixed-point: finished intra_prediction(). No float ops left in vq.c
2008-03-07 17:25:47 +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
92376697c6
fixed-point: converted the pitch gain quantisation, except for the codebook
...
itself
2008-03-05 11:31:57 +11:00
Jean-Marc Valin
f675adce51
fixed-point: First check-point in alg_quant() conversion
2008-02-28 12:15:17 +11:00
Jean-Marc Valin
a02ca1ee35
fixed-point: Added a ROUND() operator, no real change to the code
2008-02-28 11:33:22 +11:00
Jean-Marc Valin
9d8d9b3f37
fixed-point: compression factor (alpha) now a 16-bit value (still internally
...
converted to float though)
2008-02-27 16:17:39 +11:00
Jean-Marc Valin
ff74e396e4
fixed-point: converted compute_pitch_gain() and removed the energy-based
...
weighting that didn't seem to help anyway.
2008-02-27 15:35:43 +11:00
Jean-Marc Valin
5d56183404
fixed-point: log-energy for previous frame now a 16-bit value. This currently
...
intruduces a bit of an encoder-decoder mismatch (Q8 in dB), but it'll be
reduced when the interals of quant_energy_mono() are properly converted to
fixed-point and oldEBands gets rounded instead of truncated.
2008-02-27 11:59:05 +11:00
Jean-Marc Valin
42074389bd
fixed-point: pre/de-emphasis converted.
2008-02-27 11:08:53 +11:00
Jean-Marc Valin
2805a14eca
fixed-point: celt_pgain_t now a 16-bit value (Q15)
2008-02-26 17:02:08 +11:00
Jean-Marc Valin
5f09ea5659
celt_mask_t for masking curves
2008-02-26 16:43:04 +11:00
Jean-Marc Valin
017d4455da
pitch gain is now celt_pgain_t
2008-02-26 16:19:03 +11:00
Jean-Marc Valin
b60340f7e3
fixed-point: band energy now a 32-bit value. It might have (barely) fix into
...
16-bit, but at this point, it's not worth the trouble and loss of accuracy.
2008-02-26 15:41:51 +11:00
Jean-Marc Valin
e901fe35b8
fixed-point: added a celt_ener_t type for band energy.
2008-02-26 14:46:26 +11:00
Jean-Marc Valin
2fa8affdc5
fixed-point: celt_norm_t now a 16-bit value.
2008-02-26 12:21:58 +11:00
Jean-Marc Valin
b4dfce4665
fixed-point: Using a NORM_SCALING of 16384, sig_norm_t is still a float though.
2008-02-25 17:41:30 +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
18ddc02afd
Separating types for normalised vs. denormalised data paths
2008-02-22 14:24:50 +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
abe043f0a1
Moving everything to the same type abstraction (sort of).
2008-01-31 14:26:29 +11:00
Jean-Marc Valin
f8db800c44
Added support for codebooks up to 64 bits.
2007-12-11 14:52:56 +11:00
Jean-Marc Valin
6f7e83d8f4
Pre-emphasis, plus a few minor tweaks
2007-12-01 00:36:41 +11:00
Jean-Marc Valin
14191b3ccd
Added pitch analysis. Doesn't crash, but otherwise untested.
2007-11-30 12:15:49 +11:00
Jean-Marc Valin
63590897db
Initial commit with the autotools stuff and files taken from Speex and Vorbis.
2007-11-29 17:01:16 +11:00