changeset 20778:2581bc30a279

size and stream_id docs
author michael
date Wed, 08 Nov 2006 18:50:58 +0000
parents ee79769c9e30
children 1721569b4d7d
files DOCS/tech/nut.txt
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/tech/nut.txt	Wed Nov 08 18:46:42 2006 +0000
+++ b/DOCS/tech/nut.txt	Wed Nov 08 18:50:58 2006 +0000
@@ -588,12 +588,22 @@
     frame then the syncpoint timestamp is used, see global_key_pts
 
 stream_id[frame_code]
+    if FLAG_STREAM_ID is not set then this is the stream number for the
+    frame following this frame_code
+    if FLAG_STREAM_ID is set then this value has no meaning
     MUST be <250
 
 data_size_mul[frame_code]
+    if FLAG_SIZE_MSB is set then data_size_msb which is stored after the
+    frame code is multiplied with it and forms the more significant part
+    of the size of the following frame
+    if FLAG_SIZE_MSB is not set then this field has no meaning
     MUST be <16384
 
 data_size_lsb[frame_code]
+    the less significant part of the size of the following frame
+    this added together with data_size_mul*data_size_msb is the size of
+    the following frame
     MUST be <16384
 
 pts_delta[frame_code]
@@ -606,6 +616,7 @@
     MUST be <256
 
 data_size
+    the size of the following frame
     data_size= data_size_lsb + data_size_msb*data_size_mul;
 
 coded_pts