Commit graph

247 commits

Author SHA1 Message Date
Jean-Marc Valin
65d79e4419 Corrected the last digit of pi after massive public outcry :-) 2008-02-26 07:38:27 +11:00
Jean-Marc Valin
b5a4c40dd8 Ogg decoder does gapless for the beginning of the file. 2008-02-25 17:58:21 +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
bd43729ecd MDCT is in fixed-point now 2008-02-25 12:07:13 +11:00
Jean-Marc Valin
2e8a3b20d0 MDCT conversion, part I. 2008-02-25 11:49:38 +11:00
Jean-Marc Valin
42667b0a5f real fft no longer needs an internal buffer. 2008-02-25 09:47:25 +11:00
Jean-Marc Valin
4508ebd585 real fft snr comparison testcase includes DC 2008-02-24 23:48:15 +11:00
Jean-Marc Valin
44830b0440 Float FFT now does the same scaling as the fixed-point FFT 2008-02-24 22:36:05 +11:00
Jean-Marc Valin
e8b6830f53 minor tweak to FFT 2008-02-24 22:06:04 +11:00
Jean-Marc Valin
d911bc4d0d Added a mixed-precision version of the FFT with 32-bit data and 16-bit twiddles. 2008-02-24 17:16:47 +11:00
Jean-Marc Valin
9ced5d042d Created an separate kiss_twiddle_cpx type to make it possible to use
different precision for twiddles and data.
2008-02-24 13:46:30 +11:00
Jean-Marc Valin
2c1d2f5bcc MDCT now scales down by N/2 instead of N/4. The factor two is moved to the
overlap-add during synthesis.
2008-02-22 21:54:11 +11:00
Jean-Marc Valin
b8e5c4c658 testcase for the MDCT and IMDCT 2008-02-22 18:02:56 +11:00
Jean-Marc Valin
5b9c3b358a Increased precision for real FFT 2008-02-22 17:34:13 +11:00
Jean-Marc Valin
b8ee0cece0 Oops, forgot a file 2008-02-22 16:30:33 +11:00
Jean-Marc Valin
25649c1569 Fixed the FFT for higher precision 2008-02-22 16:19:39 +11:00
Jean-Marc Valin
37d13ceebe Adding celt_sig_t where needed 2008-02-22 14:45:58 +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
14806ab936 Fixed the real fft testsuite as well 2008-02-22 13:20:05 +11:00
Jean-Marc Valin
af8402e033 Fixed stuff that got broken during the forward-backward split of the FFT 2008-02-22 12:13:59 +11:00
Jean-Marc Valin
df3cb9be1f Added a TODO list 2008-02-22 11:24:45 +11:00
Jean-Marc Valin
44ffd5a8da Making sure freed or corrupted modes can't be used (produce a run-time warning). 2008-02-22 00:39:25 +11:00
Jean-Marc Valin
14f5e7cd09 Updated the header and celtenc/celtdec tools to the new way modes are handled. 2008-02-21 23:59:17 +11:00
Jean-Marc Valin
d501f6143c Doing intra-frame prediction backwards (and a few comments) 2008-02-21 12:16:57 +11:00
Jean-Marc Valin
5e2196373f Development documentation (internals) 2008-02-20 18:02:42 +11:00
Jean-Marc Valin
e6b7465087 Some sampling rate cleanup (now in the mode) 2008-02-20 18:01:08 +11:00
Jean-Marc Valin
276de7211d Mode doc 2008-02-20 17:45:51 +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
8c19b030df Changed _new() to _create() in the API. Added some documentation
on how to use the API.
2008-02-20 15:53:15 +11:00
Jean-Marc Valin
3df6e27f34 making sure testcases have a non-zero error code when they fail 2008-02-20 15:08:08 +11:00
Jean-Marc Valin
9caa3346c4 Testcase for laplace encoder 2008-02-20 15:00:26 +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
d3b86e5347 cwrs converted to use VARDECL/ALLOC macros 2008-02-20 12:18:41 +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
2991af5b8e Updated the testcase for the latest issues found with libentcode 2008-02-19 21:02:43 +11:00
Timothy B. Terriberry
c5eba7b3ec Don't flush the last buffered symbol if it is zero.
When rng starts out 0x80000000, this can cause an extra zero byte to be written
 to the stream.
2008-02-19 20:54:55 +11:00
Timothy B. Terriberry
6c87ba6c1b Fix flushing the final byte in the face of nothing but carry propagation. 2008-02-19 20:54:49 +11:00
Jean-Marc Valin
583a14ac96 Remove leading zeros in testcelt 2008-02-19 17:34:02 +11:00
Jean-Marc Valin
f2d5aed8a5 Allowing to choose the frame size and rate from testcelt 2008-02-19 16:45:37 +11:00
Jean-Marc Valin
5a4bbdeb5f Slight increase to the bit allocation in the mid-high freqs 2008-02-19 14:32:08 +11:00
Jean-Marc Valin
472a5f03c6 Fixed a bunch of warnings 2008-02-19 13:12:32 +11:00
Jean-Marc Valin
25358cd407 Merged the rate allocation atruct directly into the mode struct. 2008-02-19 12:21:32 +11:00
Jean-Marc Valin
224d2dab9c celtclient udp two-way streamer. Not enabled yet because it's still tricky
to build
2008-02-19 10:24:12 +11:00
Jean-Marc Valin
dba28a52ce cwrs.c links to derf's article on pulse vector encoding. 2008-02-18 23:40:43 +11:00
Jean-Marc Valin
ccea9ce917 Two-pass algorithm for filling the remaining bits. Still not perfect, but close
enough.
2008-02-18 22:03:18 +11:00
Jean-Marc Valin
17683ebefd minor change to critical bands definitions (nothing to see here) 2008-02-18 21:45:19 +11:00