From f1b5006d8c0b4fc1c136bb485d8ae3b100f69dc3 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Thu, 11 Jun 2009 17:40:37 -0400 Subject: [PATCH] ietf doc: fine energy --- doc/ietf/draft-valin-celt-codec.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/ietf/draft-valin-celt-codec.xml b/doc/ietf/draft-valin-celt-codec.xml index 9e07c3c7..ec78d5ef 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() (laplace.c).
-After the coarse +After the coarse energy quantization and encoding, the bit allocation is computed +() 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. + + + +Remaining bits encoded at the end