Commit graph

22 commits

Author SHA1 Message Date
Jean-Marc Valin
bc79991742 The fold bit can now be used by the encoder and decoder (encoder still needs
EXP_PSY)
2008-11-07 22:53:13 -05:00
Gregory Maxwell
0527f37352 Fix support for 64 sample frames. 2008-09-24 20:27:51 -04:00
Jean-Marc Valin
c994394fc3 Added signalling bits for enabling/disabling pitch, short blocks, and folding.
Also, making it possible to disable pitch for all frames.
2008-08-30 00:55:07 -04:00
Jean-Marc Valin
2146e649c8 Disabling pitch when gain is very small. 2008-04-21 15:08:57 +10:00
Jean-Marc Valin
05778451e7 optimisation: removed the shifts from the vq_index() inner loop 2008-04-18 19:34:58 +10:00
Jean-Marc Valin
7adca0e64a optimisation: better indexing/looping in vq_index() 2008-04-18 17:54:52 +10:00
Jean-Marc Valin
45a7ab5238 Optimisation: got rid of about 10% of the 32-bit divisions by using ec_enc_uint
in energy quantisation when possible.
2008-03-27 15:41:38 +11:00
Jean-Marc Valin
7cf79a7a5c Unrolled the inner loop in vq_index() so that the codebook unpacking doesn't
require a branch.
2008-03-24 21:39:49 +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
3dbc1d0df9 cleaning up some of the mode stuff 2008-03-08 15:21:24 +11:00
Jean-Marc Valin
c4a40c65c5 doing spreading function and gain quantisation in-place 2008-03-05 23:22:00 +11:00
Jean-Marc Valin
afa5eb38b5 fixed-point: quantised the pitch gain table. 2008-03-05 12:22:37 +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
8600f69f79 Initial support for a managed stack/scratchpad. Still needs some work. 2008-02-29 15:14:12 +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
017d4455da pitch gain is now celt_pgain_t 2008-02-26 16:19:03 +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
7e8a487ed2 No longer encoding the pitch index if the gain is zero anyway. 2008-02-11 16:55:34 +11:00
Jean-Marc Valin
2875f6bf8d Now using 8 bands for the pitch gain, with a 128-entry codebook. 2008-01-05 13:32:32 +11:00
Jean-Marc Valin
98d2a4917e No more cheating, everything fully quantised 2007-12-07 22:46:47 +11:00