List Info

Thread: : r638 - docs/nut.txt




: r638 - docs/nut.txt
country flaguser name
Switzerland
2008-02-15 00:33:17
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
_______________________________________________
NUT-devel mailing list
NUT-develmplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/nut-devel

Re: : r638 - docs/nut.txt
user name
2008-02-15 00:47:44
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
_______________________________________________
NUT-devel mailing list
NUT-develmplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/nut-devel

Re: : r638 - docs/nut.txt
user name
2008-02-15 02:20:41
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
_______________________________________________
NUT-devel mailing list
NUT-develmplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/nut-devel

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )