ref: f1babf8e9c025bc55fef06812a6ba0585c8f6332
parent: 79723bb36761cf877c089fc7cf04f1c7f4d46b1d
author: Jean-Marc Valin <[email protected]>
date: Tue Jul 6 03:39:07 EDT 2010
MFS update
--- a/doc/draft-valin-codec-prototype.xml
+++ b/doc/draft-valin-codec-prototype.xml
@@ -175,9 +175,11 @@
There is thus a total of 30 configurations, so 5 bits are necessary (with 2 codes unused) to
indicate the mode, frame size and sampling rate (MFS). This leaves 3 bits for the number of frames per packets (codes 0 to 7):
<list style="symbols">
-<t>0-3: 1-4 frames in the packet, each with equal compressed size</t>
-<t>4-6: 1-3 frames in the packet, with different compressed sizes, which need to be encoded</t>
-<t>7: The first frame has this MFS, but others have different MFS. Compressed sizes need to be encoded.</t>
+<t>0-2: 1-3 frames in the packet, each with equal compressed size</t>
+<t>3: arbitrary number of frames in the packet, each with equal compressed size (size needs to be signalled)</t>
+<t>4-5: 2-3 frames in the packet, with different compressed sizes, which need to be encoded (except the last one)</t>
+<t>6: arbitrary number of frames in the packet, with different compressed sizes, each of which needs to be encoded</t>
+<t>7: The first frame has this MFS, but others have different MFS. Compressed sizes need to be encoded.</t>
</list>
</t>
@@ -184,7 +186,7 @@
<t>
The compressed size of the frames (if needed) is indicated -- usually -- with one byte, with the following meaning:
<list style="symbols">
-<t>0: No frame (DTX)</t>
+<t>0: No frame (DTX or lost packet)</t>
<t>1-251: Size of the frame in bytes</t>
<t>252-255: A second byte is needed. The total size is (size[1]*4)+(size[0]%4)+252</t>
</list>