Changes between Version 5 and Version 6 of SV8Specification
- Timestamp:
- 10/25/06 00:27:02 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SV8Specification
v5 v6 11 11 12 12 13 == Block format ing ==13 == Block formatting == 14 14 15 15 All blocks are formated using Key / Length / Value.[[BR]] 16 16 Key is 16 bits long. It's the block ID.[[BR]] 17 Length is a variable size field using the same values as [http://www.matroska.org/technical/specs/index.html matroska] :[[BR]] 18 {{{ 19 bits, big-endian 20 1xxx xxxx - value 0 to 2^7-2 21 01xx xxxx xxxx xxxx - value 0 to 2^14-2 22 001x xxxx xxxx xxxx xxxx xxxx - value 0 to 2^21-2 23 0001 xxxx xxxx xxxx xxxx xxxx xxxx xxxx - value 0 to 2^28-2 24 ... 25 }}} 26 27 other way ([http://svn.mplayerhq.hu/mplayer/trunk/DOCS/tech/nut.txt?view=markup nut] way) : 17 Variable block length encoding ([http://svn.mplayerhq.hu/mplayer/trunk/DOCS/tech/nut.txt?view=markup NUT] way) : 28 18 {{{ 29 19 bits, big-endian … … 35 25 }}} 36 26 37 what do you prefer ? I prefer the nut way38 39 27 The length is the size of the block in bytes, including the key and size fields. So the minimum length of a block is 3 bytes.[[BR]] 40 28 The value is the block content. Its size can be 0.[[BR]] … … 44 32 || Key || 16 || "EX" || 45 33 || Length || n*8; 0 < n < 10 || 0x1A || 46 || Value || Len tgh * 8 || "exemple" ||34 || Value || Length * 8 || "example" || 47 35 48 36 … … 98 86 || encoder version || 24 || 0-255.0-255.a-z || || 99 87 88 ( 32 bits for encoder version like MajorNumber.MinorNumber.Implementation.Build ? ) 89 100 90 == Audio block == 101 91 … … 121 111 122 112 Checksum (MD5, SHA1) or error correcting code (LDPC).[[BR]] 123 Useful ? 113 To be defined later. May be better to keep security features external only. 124 114 125 115 == Tags ==