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

github.com/mumble-voip/celt-0.7.0.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@octasic.com>2009-06-12 01:40:37 +0400
committerJean-Marc Valin <jean-marc.valin@octasic.com>2009-06-12 01:40:37 +0400
commitf1b5006d8c0b4fc1c136bb485d8ae3b100f69dc3 (patch)
treecb0e4b25354172a7046368cf3256ee3dcd51ef93
parenta76a5e8f0c8797e902924a8f186800707038aa2d (diff)
ietf doc: fine energy
-rw-r--r--doc/ietf/draft-valin-celt-codec.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/ietf/draft-valin-celt-codec.xml b/doc/ietf/draft-valin-celt-codec.xml
index 9e07c3c..ec78d5e 100644
--- a/doc/ietf/draft-valin-celt-codec.xml
+++ b/doc/ietf/draft-valin-celt-codec.xml
@@ -321,7 +321,14 @@ implemented in ec_laplace_encode() (<xref target="laplace.c">laplace.c</xref>).
<section anchor="fine-energy" title="Fine energy quantization">
<t>
-After the coarse
+After the coarse energy quantization and encoding, the bit allocation is computed
+(<xref target="allocation"></xref>) and the number of bits to use for refining the energy quantization is determined for each band. Let B_i be the number of fine energy bits
+for band i, the refement is an integer f in the range [0,2^B_i-1]. The mapping between f
+and the correction applied to the corse energy is equal to (f+1/2)/2^B_i - 1/2.
+</t>
+
+<t>
+Remaining bits encoded at the end
</t>
</section> <!-- fine energy -->