Changes between Initial Version and Version 1 of SV8Specification


Ignore:
Timestamp:
10/23/06 17:57:55 (18 years ago)
Author:
r2d
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SV8Specification

    v1 v1  
     1
     2= SV8 specification draft =
     3
     4
     5== File header ==
     6
     7|| '''Field''' || '''length (bits)''' || '''Value''' ||
     8|| Magic || 24 || "MP+" ||
     9|| Version || 8 || 0x08 ||
     10This file header allow old mpc readers to stop decoding at this point, without crashing.
     11
     12== Block formating ==
     13
     14All blocks are formated using Key / Length / Value.
     15Key is 16 bits long. It's the block type.
     16Length is a variable size field using the same values as [http://www.matroska.org/technical/specs/index.html matroska] :
     17bits, big-endian
     181xxx xxxx                                                                              - value 0 to  2^7-2
     1901xx xxxx  xxxx xxxx                                                                   - value 0 to 2^14-2
     20001x xxxx  xxxx xxxx  xxxx xxxx                                                        - value 0 to 2^21-2
     210001 xxxx  xxxx xxxx  xxxx xxxx  xxxx xxxx                                             - value 0 to 2^28-2
     22...
     23The length is the size of the block in bytes, including the key and size fields. So the minimum length of a block is 3.
     24The value is the block content. Its size can be 0.
     25
     26|| '''Field''' || '''length (bits)''' || '''Value''' ||
     27|| Key || 16 || "EX" ||
     28|| Length || n * 8, 0 < n < inf || 0x1A ||
     29|| Value || Lentgh * 8 || "exemple" ||