summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2010-07-06 07:39:07 -0400
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2010-07-06 07:39:07 -0400
commitf1babf8e9c025bc55fef06812a6ba0585c8f6332 (patch)
treec8ad498c91937378c7d7e5ffb75a970561618c42 /doc
parent79723bb36761cf877c089fc7cf04f1c7f4d46b1d (diff)
downloadopus-f1babf8e9c025bc55fef06812a6ba0585c8f6332.tar.gz
MFS update
Diffstat (limited to 'doc')
-rw-r--r--doc/draft-valin-codec-prototype.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/draft-valin-codec-prototype.xml b/doc/draft-valin-codec-prototype.xml
index 08679cde..99b64a2a 100644
--- a/doc/draft-valin-codec-prototype.xml
+++ b/doc/draft-valin-codec-prototype.xml
@@ -175,16 +175,18 @@ for a total of 14 configurations.
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>
<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>