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

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2011-09-08 01:06:17 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2011-09-08 01:07:16 +0400
commit4c0e25fcdd0c156c4076a8e699b532ba7479b673 (patch)
treeed9d754bdcae57d401037366fb583ed95ba7d532
parentb0f4e90bff5f902ddbad28d7934f58baf7f135ff (diff)
Adds missing details about reserving the anticollapse/skip/stereo bits
-rw-r--r--doc/draft-ietf-codec-opus.xml20
1 files changed, 7 insertions, 13 deletions
diff --git a/doc/draft-ietf-codec-opus.xml b/doc/draft-ietf-codec-opus.xml
index bc7d3746..23305e44 100644
--- a/doc/draft-ietf-codec-opus.xml
+++ b/doc/draft-ietf-codec-opus.xml
@@ -4158,9 +4158,14 @@ plus 48 (6 bits) is less than or equal to the total frame size in 8th
bits minus total_boost (a product of the above band boost procedure),
decode the trim value using the inverse CDF {127, 126, 124, 119, 109, 87, 41, 19, 9, 4, 2, 0}.</t>
-<t>Stereo parameters</t>
+<t>For 10 ms and 20 ms frames using short blocks and that have at least LM+2 bits left prior to
+the allocation process, then one anti-collapse bit is reserved in the allocation process so it can
+be decoded later. Following the the anti-collapse reservation, one bit is reserved for skip is available.</t>
+
+<t>For stereo frames, bits are reserved for intensity stereo and for dual stereo. Intensity stereo
+requires ilog2(end-start) bits. Those bits are reserved if there is enough bits left. Following this, one
+bit is reserved for dual stereo if available.</t>
-<t>Anti-collapse reservation</t>
<t>The allocation computation begins by setting up some initial conditions.
'total' is set to the remaining available 8th bits, computed by taking the
@@ -5166,17 +5171,6 @@ T = | | Ms
</section>
- <section title='Range Encoder'>
- <t>
- Range encoding is a well known method for entropy coding in which a bitstream sequence is continually updated with every new symbol, based on the probability for that symbol. It is similar to arithmetic coding, but rather than being restricted to generating binary output symbols, it can generate symbols in any chosen number base. In SILK all side information is range encoded. Each quantized parameter has its own cumulative density function based on histograms for the quantization indices obtained by running a training database.
- </t>
-
- <section title='Bitstream Encoding Details'>
- <t>
- TBD.
- </t>
- </section>
- </section>
</section>