[vorbis-dev] overhead ??

Ralph Giles giles at xiph.org
Fri Dec 5 17:10:45 PST 2003



On Sat, Dec 06, 2003 at 01:13:50AM +0100, Francesco Gadaleta wrote:

> "We simply add the lacing values for the total size; the last lacing value
> for a packet is always the value that is less than 255. Note that this
> encoding both avoids imposing a maximum packet size as well as imposing
> minimum overhead on small packets (as opposed to, eg, simply using two
> bytes at the head of every packet and having a max packet size of 32k.
> Small packets (<255, the typical case) are penalized with twice the
> segmentation overhead). Using the lacing values as suggested, small
> packets see the minimum possible byte-aligned overheade (1 byte) and large
> packets, over 512 bytes or so, see a fairly constant ~.5% overhead on
> encoding space."

This paragraph gives motivation for the method of marking packet length. What is unclear? I'm 
happy to elaborate, you do not say what is it you would like explained.

 -r
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list