Skip to content
Snippets Groups Projects
Forked from Xiph.Org / Opus
5247 commits behind the upstream repository.
user avatar
tterribe authored
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
06390d08
History
This is an attempt to write a low-latency audio codec. Don't bother with 
this unless you're interested in codec development. Certainly don't expect 
this to be ready any time soon. Oh, and don't complain if it sets your house
on fire.

To compile:
% ./configure
% make

To test the encoder:
% testcelt input.sw output.sw

where input.sw is a 16-bit (machine endian) *mono* audio file sampled at 
44.1 kHz or 48 kHz. The output file is already decompressed since we do not
currently produce compressed files. By default the bit-rate will be around 38 kbps, but replacing "mode1" by "mode2" in testcelt will encode at 58 kbps, which
is (sort of) suitable for music.