Gregory Maxwell
f40bbf751d
Include missing copyright information in various files, for signoff.
...
Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
2009-02-03 23:08:31 -05:00
Timothy B. Terriberry
0268a99676
Fix ectest to not check a case which isn't guaranteed to work, and which we don't use.
...
When I removed the special case for EC_ILOG(0) in commit
06390d082d
, it broke ec_dec_uint() with _ft=1
(which should encode the value 0 using 0 bits).
This feature was tested by ectest.c, but not actually used by libcelt.
An assert has been added to ec_dec_uint() to ensure that we don't try to use
this feature by accident.
ec_enc_uint() was actually correct, but support for this feature has been
removed and the assert put in its place.
2008-12-20 23:19:56 -05:00
Jean-Marc Valin
761811d91b
re-enable support for resizable buffers in the range coder
2008-10-18 09:11:05 -04:00
Jean-Marc Valin
8679a80ee2
Encoder now writes data directly in the user buffer
2008-10-18 07:44:35 -04:00
Jean-Marc Valin
2b08d7a210
Removing the 64-bit part of the range coder.
2008-10-04 21:10:26 -04:00
Jean-Marc Valin
c2decd39a6
Made a second version of ec_{en|de}code optimised for encoding bits (no div
...
required) and using it in ec_{en|de}c_bits()
2008-03-22 22:58:45 +11:00
Jean-Marc Valin
dc767f67f9
No longer trying to save bits when encoding integers near the upper limit
...
(and fix for celt_div with 16-bit numerator on a 16-bit CPU)
2008-03-22 22:23:58 +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
71a84590e7
Removed unnecessary header inclusions
2008-03-14 11:09:50 +11:00
Jean-Marc Valin
79fa8b6c3b
Just in case sizeof(char)!=1
2008-02-28 00:14:02 +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
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