tterribe
3eff11d8d4
Add ec_dec_tell() to report the same information as ec_enc_tell() decode side. Remove ec_enc_tell() and replace it with ec_enc_tellf(): just request 0 fractional bits if you want an integer value.
...
git-svn-id: http://svn.xiph.org/trunk/ghost@14394 0101bb08-14d6-0310-b084-bc0e0c8e3800
2008-01-11 20:51:03 +11:00
tterribe
fad779ca56
Add ec_enc_tellf, which can return the number of bits used to fractional precision.
...
git-svn-id: http://svn.xiph.org/trunk/ghost@14393 0101bb08-14d6-0310-b084-bc0e0c8e3800
2008-01-11 20:51:03 +11:00
tterribe
06390d082d
Add oc_enc_tell to report an estimate of the number of bits used so far.
...
Remove the special case for 0 in EC_ILOG, as we never pass it 0 and this
generates slightly better code.
Update ec_enc_bits64 to split the encoded values along word boundaries...
this should generate slightly better code, as well as fix a subtle bug (the
proper bits were not being masked out of the low part).
However, this will render previous streams that used this function undecodable
(to my knowledge, no one is actually using it yet).
git-svn-id: http://svn.xiph.org/trunk/ghost@14391 0101bb08-14d6-0310-b084-bc0e0c8e3800
2008-01-11 20:51:03 +11:00
Jean-Marc Valin
f347dd3b3d
Fixed parallel build
2007-12-11 18:01:22 +11:00
Timothy B. Terriberry
f13fea7b53
Added ec_{enc|dec}_bits64 and ec_{enc|dec}_bits64.
...
Updated broken paper URLs.
Cleaned up non-multiply-free range coder documentation (e.g., stop claiming
it's multiply-free).
2007-12-11 13:25:57 +11:00
Timothy B. Terriberry
d710177d0a
Documentation fixes and a couple of other minor edits.
2007-12-11 13:25:00 +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
9c3e22c440
Moving to non-multiply-free entropy coder
2007-12-07 22:25:31 +11:00
Jean-Marc Valin
b7ceec2bae
oops, forgot laplace.h
2007-12-07 18:54:59 +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
b726185d5b
Fixed Laplace encoder
2007-12-07 16:06:27 +11:00
Jean-Marc Valin
bb57fe44e2
Most of the Laplace encoding works, except that ec_decode() is still not giving
...
me what I expect
2007-12-07 10:56:25 +11:00
Jean-Marc Valin
468c5395b4
More code for laplace decoding (doesn't work)
2007-12-07 09:50:22 +11:00
Jean-Marc Valin
6887fb5181
Code for encoding Laplace-distributed variables (doesn't work).
2007-12-07 01:40:02 +11:00
Timothy B. Terriberry
2ec8d9e522
Multiplier-free entropy coder
2007-12-06 15:09:53 +11:00