Commit graph

108 commits

Author SHA1 Message Date
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
e4475871fb fixed leaked ritrev table 2008-02-08 16:08:40 +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
b3756709ad Fixed incorrect assumption about the number of bytes returned by the
entropy coder. All testcases pass again.
2008-02-08 11:50:17 +11:00
Jean-Marc Valin
012407760c Re-enabled intra-frame prediction, which seems to have exposed a few issues
with the entropy coder.
2008-02-07 21:14:16 +11:00
Jean-Marc Valin
f997ad51dc Mode info 2008-01-31 16:47:16 +11:00
Jean-Marc Valin
3d3bb68536 cleaning up 2008-01-31 10:05:39 +11:00
Jean-Marc Valin
6238bc0ece Moved the content of libentcode into libcelt to reduce dependencies,
especially now that we have a custom version of that code anyway. Moved
the test code to tests/
2008-01-28 22:28:54 +11:00
Jean-Marc Valin
94d4ea9305 Bit of cleaning up in the byte dumping part. Making use of any remaining bit(s)
to do error detection in the decoder.
2008-01-27 17:34:35 +11:00
Jean-Marc Valin
388f1d6cc8 Tweaks for slightly improving the handling of the last byte (still not
perfect)
2008-01-18 16:28:11 +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
b35536a3b0 Enabled pure CBR, though there's still some decoder issues. 2008-01-17 16:57:18 +11:00
Jean-Marc Valin
4fbd18d1f4 Close to getting CBR working 2008-01-17 14:07:55 +11:00
Jean-Marc Valin
45018cbfa2 Doing stereo mixing adaptively based on amplitude difference. 2008-01-11 14:02:07 +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
fdca84b42f Some stereo work (breaks the decoder for now) 2008-01-09 10:44:18 +11:00
Jean-Marc Valin
b21b2a404e Switched to mdct mask computation 2008-01-07 23:04:43 +11:00
Jean-Marc Valin
825ec60b53 Completed low-overlap MDCT support by reducing the synthesis
latency as well.
2008-01-05 22:49:23 +11:00
Jean-Marc Valin
a5431bfb09 Allowing reduced overlap MDCTs as an alternative
to multiple MDCTs per frame. Not complete yet.
2008-01-03 20:53:01 +11:00
Jean-Marc Valin
26c9e1452a Comments/cleanup, no code change 2007-12-31 21:27:54 +11:00
Jean-Marc Valin
97252d0365 Spreading function inside quant_bands() 2007-12-30 20:39:14 +11:00
Jean-Marc Valin
6c24524b88 Added a DCT in time direction when multiple MDCTs are used within the same
frame.
2007-12-29 23:27:42 +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
9d35ccdaea Fixed stereo version of the pitch estimator 2007-12-10 17:57:19 +11:00
Jean-Marc Valin
bf94045f41 Stereo almost works now (still need to fix the pitch estimate and add more
pulses)
2007-12-10 17:10:29 +11:00
Jean-Marc Valin
ffa13474ef Adding stereo support. Doesn't work yet, but at least it doesn't break
mono
2007-12-10 16:54:17 +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
1677aa9caa code cleanup: all inverse MDCTs in the same function 2007-12-08 01:13:34 +11:00
Jean-Marc Valin
fb83fb422f Very basic packet loss concealment code 2007-12-08 00:56:04 +11:00
Jean-Marc Valin
98d2a4917e No more cheating, everything fully quantised 2007-12-07 22:46:47 +11:00
Jean-Marc Valin
e38c7c18f7 Energy is now Laplace-encoded (very poorly for now) 2007-12-07 17:10:14 +11:00
Jean-Marc Valin
8143be3026 energy decoding partially done (cheating a bit) 2007-12-07 16:40:39 +11:00
Jean-Marc Valin
671bf403e6 More work on decoding (still cheating) 2007-12-07 15:36:39 +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
269d40a5c0 Added decoder code (not working yet) 2007-12-07 11:29:45 +11:00
Jean-Marc Valin
c245a226ce minor cleanup 2007-12-06 19:14:20 +11:00
Jean-Marc Valin
e5bab14e4f Doing init/reset of the entropy coder properly 2007-12-06 16:51:19 +11:00
Jean-Marc Valin
29ccab8aac Some work on index packing 2007-12-06 15:39:38 +11:00
Jean-Marc Valin
bc5cedf26f Linking with libentcode 2007-12-06 15:18:25 +11:00
Jean-Marc Valin
fa248735ea Quantisation of energies 2007-12-06 07:51:27 +11:00
Jean-Marc Valin
96870d9334 conversion to modes complete 2007-12-05 21:14:22 +11:00
Jean-Marc Valin
3337e5d3e5 More modes work 2007-12-05 21:00:03 +11:00
Jean-Marc Valin
73e51b3e94 Converting the code to use the modes instead of global arrays. 2007-12-05 17:48:24 +11:00
Jean-Marc Valin
ecb36a3323 Adding mode infrastructure (still incomplete) 2007-12-05 01:31:49 +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
3c453121d2 Vector quantisation of the residual (copied from Ghost/ceft) 2007-11-30 17:41:09 +11:00