diff options
author | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2009-02-09 08:45:48 +0300 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2009-02-09 08:45:48 +0300 |
commit | 9a6c4966309edea641602fea556e5ef654f95f08 (patch) | |
tree | 9e07f1d40499747b3f0a15f22a8ac7e40a38e9b0 /libcelt/cwrs.h | |
parent | 9acd9293c35b9b2c005e8582fbdbbf3caebbe5fc (diff) |
Changed the allocator to be smarter about the way it allocates
fine energy bits. Also, doing better rounding of the bits.
Diffstat (limited to 'libcelt/cwrs.h')
-rw-r--r-- | libcelt/cwrs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcelt/cwrs.h b/libcelt/cwrs.h index 9f7418e..eabdf75 100644 --- a/libcelt/cwrs.h +++ b/libcelt/cwrs.h @@ -36,6 +36,8 @@ #include "entenc.h" #include "entdec.h" +int log2_frac(ec_uint32 val, int frac); + /* Returns log of an integer with fractional accuracy */ int log2_frac64(ec_uint64 val, int frac); /* Whether the CWRS codebook will fit into 32 bits */ |