Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2009-07-26 04:16:01 +0400
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2009-07-26 04:16:01 +0400
commit949a29bf0c7305bd79021815a06123b343972743 (patch)
tree7ebe15e5bef4c1e79145fd396f72ec9a02a8465c /libcelt/entenc.h
parent50cf82f7abebea4f46c296e674820eb04d0551fd (diff)
Raw bits encoding/decoding functions renamed to *_raw() and re-introducing
original ec_encode_bin()/ec_decode_bin() to optimize performance when ft is a power of two.
Diffstat (limited to 'libcelt/entenc.h')
-rw-r--r--libcelt/entenc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcelt/entenc.h b/libcelt/entenc.h
index 5c082ab..10647eb 100644
--- a/libcelt/entenc.h
+++ b/libcelt/entenc.h
@@ -78,7 +78,8 @@ void ec_enc_init(ec_enc *_this,ec_byte_buffer *_buf);
decoded value will fall.
_ft: The sum of the frequencies of all the symbols*/
void ec_encode(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned _ft);
-void ec_encode_bin(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned bits);
+void ec_encode_bin(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned _bits);
+void ec_encode_raw(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned bits);
/*Encodes a sequence of raw bits in the stream.
_fl: The bits to encode.
_ftb: The number of bits to encode.