Commit graph

135 commits

Author SHA1 Message Date
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
472a5f03c6 Fixed a bunch of warnings 2008-02-19 13:12:32 +11:00
Jean-Marc Valin
883bd8e556 Option use of SSE intrinsics (still trying to convince gcc not to move the
input data across all registers)
2008-02-15 00:34:01 +11:00
Jean-Marc Valin
0d587d89c1 More VQ comments/cleanup, disabled ineffective optimisation 2008-02-14 21:29:50 +11:00
Jean-Marc Valin
a073c7bedf minor cleanup/commenting to vq search 2008-02-14 16:58:04 +11:00
Jean-Marc Valin
3b277dc757 vq search is now moving much less data around 2008-02-14 16:46:50 +11:00
Jean-Marc Valin
5fa59954a9 moved pulse [en|de]coding to cwrs.c 2008-02-14 13:50:44 +11:00
Jean-Marc Valin
0df0eb4c67 doing the folding properly. 2008-02-13 16:00:10 +11:00
Jean-Marc Valin
c9cc6d3e34 Introducing a (very) crude budget for the energy encoder. 2008-02-13 11:37:41 +11:00
Jean-Marc Valin
ac1e03d78e minor optimisation+tuning of vq search 2008-02-12 23:00:18 +11:00
Jean-Marc Valin
636f5c86ab bit of cleaning up 2008-02-12 17:40:27 +11:00
Jean-Marc Valin
cab576ec9b Updating only the L-best entries in alg_quant() that are useful. 2008-02-12 17:21:14 +11:00
Jean-Marc Valin
fe41983619 Copying pointers is faster than copying arrays (who knew!). 2008-02-12 15:05:01 +11:00
Jean-Marc Valin
846d4e240b Allowing the quantiser serch to put more than one pulse at one,
giving a (minor) speedup. Also fixed optional memory-based ncwrs64().
2008-02-12 13:48:48 +11:00
Jean-Marc Valin
0e20ca0969 Enabling "plain folding" in case we don't even have enough bits for intra-frame
prediction
2008-02-11 15:33:53 +11:00
Jean-Marc Valin
8f0f4b9421 Limiting intra-frame prediction codebook to 32 entries (plus sign) 2008-02-11 13:52:44 +11:00
Jean-Marc Valin
a76a0b23eb Further simplified the API by passing the rate directly to the
encode function. Also, trying to properly flush the bit packer
(still some problems left).
2008-01-17 22:43:05 +11:00
Jean-Marc Valin
a4833ffada Stereo decoding working again (fixed a few issues in the encoder at the same
time)
2008-01-10 15:34:00 +11:00
Jean-Marc Valin
0d227d86e5 Got the intra-band prediction/copy to work correctly with
pulse spreading (and to work at all).
2007-12-31 16:12:12 +11:00
Jean-Marc Valin
46014ca49a Propagating perceptual weighting around (not used yet). 2007-12-14 13:47:04 +11:00
Jean-Marc Valin
4a897680e3 Working on some stability issues (appears to be solved by making the pitch
projection less aggressive). Also, fixed a 64-bit overflow in the stereo mode
and added a "band rotation" function.
2007-12-12 00:45:15 +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
11f01729e6 Some cleaning up, a few less warnings and the decoder no longer does an
infinitete loop in Laplace decoding when the data is corrupted.
2007-12-09 01:19:36 +11:00
Jean-Marc Valin
0aa3903a4a Cheating decoder now produces the same result as the encoder 2007-12-07 15:09:58 +11:00
Jean-Marc Valin
6e9058adb9 Nearly working cheating decoder. 2007-12-07 14:59:06 +11:00
Jean-Marc Valin
70c8ffdd55 More decoding work 2007-12-07 14:20:01 +11:00
Jean-Marc Valin
fc08d0a6d6 Algebraic codebook decoding (not tested yet) 2007-12-07 13:26:15 +11:00
Jean-Marc Valin
9cace64e5f Fixed codebook entirely quantised 2007-12-06 17:44:09 +11:00
Jean-Marc Valin
29ccab8aac Some work on index packing 2007-12-06 15:39:38 +11:00
Jean-Marc Valin
1e7087e4cf Compressing the innovation along the pitch direction 2007-12-04 13:05:43 +11:00
Jean-Marc Valin
25298f296a Allowing to add pulses on top of intra-band prediction 2007-12-03 15:24:11 +11:00
Jean-Marc Valin
50d1116883 Fixed intra-frame prediction (added sign) 2007-12-03 14:34:52 +11:00
Jean-Marc Valin
4841a0a02b Intra-frame prediction 2007-12-03 13:54:30 +11:00
Jean-Marc Valin
41af421540 Oops, forgot to add the Ghost/ceft vq files 2007-11-30 18:35:37 +11:00