
Author: ods15 Date: Fri Feb 15 07:33:16 2008 New Revision: 638 Log: Clarify that frame size includes the elision header size Modified: docs/nut.txt Modified: docs/nut.txt ============================================================================== --- docs/nut.txt (original) +++ docs/nut.txt Fri Feb 15 07:33:16 2008 @@ -677,8 +677,10 @@ reserved_count[frame_code] (v) MUST be <256. data_size - The size of the following frame. data_size = data_size_lsb + data_size_msb * data_size_mul ; + The size of the following frame, including a possible elision header. + If data_size is 500 bytes, and it has an elision header of 10 bytes, + then the stored frame data following the frame header is 490 bytes. coded_pts (v) If coded_pts < ( 1 << msb_pts_shift ) then it is an lsb

On Fri, Feb 15, 2008 at 07:33:17AM +0100, ods15 wrote:
--- docs/nut.txt (original) +++ docs/nut.txt Fri Feb 15 07:33:16 2008 @@ -677,8 +677,10 @@ reserved_count[frame_code] (v)
data_size - The size of the following frame. data_size = data_size_lsb + data_size_msb * data_size_mul ; + The size of the following frame, including a possible elision header. + If data_size is 500 bytes, and it has an elision header of 10 bytes, + then the stored frame data following the frame header is 490 bytes.
The description does not appear to match the formula. Diego

On Fri, Feb 15, 2008 at 07:47:44AM +0100, Diego Biurrun wrote:
On Fri, Feb 15, 2008 at 07:33:17AM +0100, ods15 wrote:
--- docs/nut.txt (original) +++ docs/nut.txt Fri Feb 15 07:33:16 2008 @@ -677,8 +677,10 @@ reserved_count[frame_code] (v)
data_size - The size of the following frame. data_size = data_size_lsb + data_size_msb * data_size_mul ; + The size of the following frame, including a possible elision header. + If data_size is 500 bytes, and it has an elision header of 10 bytes, + then the stored frame data following the frame header is 490 bytes.
The description does not appear to match the formula.
They are describing different aspects of data_size... data_size is not coded anywhere, it is calculated vie the formula stated above (that's why i moved the formula up - its the definition of data_size) then i described the value of data_size, how it is used... - ods15
participants (3)
-
Diego Biurrun
-
ods15
-
ods15@ods15.dyndns.org