[www] r836 - trunk/www.matroska.org/data/technical/specs/codecid

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2004-12-31 12:33:26 +0300 (Fri, 31 Dec 2004)
New Revision: 836

Modified:
   trunk/www.matroska.org/data/technical/specs/codecid/wavpack.html
Log:
spec: space efficient way of storing WavPack

Modified: trunk/www.matroska.org/data/technical/specs/codecid/wavpack.html
===================================================================
--- trunk/www.matroska.org/data/technical/specs/codecid/wavpack.html	2004-12-30 12:51:13 UTC (rev 835)
+++ trunk/www.matroska.org/data/technical/specs/codecid/wavpack.html	2004-12-31 09:33:26 UTC (rev 836)
@@ -52,18 +52,19 @@
 
 <p>WavPack has an hybrid mode. That means the data are encoded in 2 files. The first one has a lossy part and the second file has the correction file that olds the missing data to reconstruct the original file losslessly. Each block in the correction file corresponds to a block in the lossy file with the same number of samples, that's also true for a multi-track file. That means if a frame is made of 4 blocks, the correction file will have 4 blocks in the corresponding frame. The header of the correction block is exactly the same as in the lossy block, except for the crc. In Matroska we store the correction part as an additional data available to the Block (see <a href="../index.html#BlockAdditions">BlockAdditions</a>)</p>
 
-<p>To save space and avoid redundant information in Matroska we remove data from the header when saved in Matroska. All the data are kept in little-endian</p>
+<p>To save space and avoid redundant information in Matroska we remove data from the header when saved in Matroska. All the data are kept in little-endian.</p>
 
 <h3>Lossless &amp; lossy mono/stereo file</h3>
 <ul>
+<li> CodecPrivate
+<pre>
+{
+  uint16_t version;       // 0x403 for now
+}
+</pre></li>
 <li> Block
 <pre>
 {
-  uint16_t version;       // 0x403 for now
-  uint8_t track_no;       // track number (0 if not used, like now)
-  uint8_t index_no;       // remember these? (0 if not used, like now)
-  uint32_t total_samples; // for entire file (-1 if unknown)
-  uint32_t block_index;   // index of first sample in block (to file begin)
   uint32_t block_samples; // # samples in this block
   uint32_t flags;         // various flags for id and decoding
   uint32_t crc;           // crc for actual decoded data
@@ -74,14 +75,15 @@
 
 <h3>Hybrid mono/stereo files</h3>
 <ul>
+<li> CodecPrivate
+<pre>
+{
+  uint16_t version;       // 0x403 for now
+}
+</pre></li>
 <li> Block
 <pre>
 {
-  uint16_t version;       // 0x403 for now
-  uint8_t track_no;       // track number (0 if not used, like now)
-  uint8_t index_no;       // remember these? (0 if not used, like now)
-  uint32_t total_samples; // for entire file (-1 if unknown)
-  uint32_t block_index;   // index of first sample in block (to file begin)
   uint32_t block_samples; // # samples in this block
   uint32_t flags;         // various flags for id and decoding
   uint32_t crc;           // crc for actual decoded data
@@ -99,14 +101,15 @@
 
 <h3>Lossless &amp; lossy multi-track file</h3>
 <ul>
+<li> CodecPrivate
+<pre>
+{
+  uint16_t version;       // 0x403 for now
+}
+</pre></li>
 <li> Block
 <pre>
 {
-  uint16_t version;       // 0x403 for now
-  uint8_t track_no;       // track number (0 if not used, like now)
-  uint8_t index_no;       // remember these? (0 if not used, like now)
-  uint32_t total_samples; // for entire file (-1 if unknown)
-  uint32_t block_index;   // index of first sample in block (to file begin)
   uint32_t block_samples; // # samples in this block
   uint32_t flags;         // various flags for id and decoding
   uint32_t crc;           // crc for actual decoded data
@@ -131,14 +134,15 @@
 
 <h3>Hybrid multi-track files</h3>
 <ul>
+<li> CodecPrivate
+<pre>
+{
+  uint16_t version;       // 0x403 for now
+}
+</pre></li>
 <li> Block
 <pre>
 {
-  uint16_t version;       // 0x403 for now
-  uint8_t track_no;       // track number (0 if not used, like now)
-  uint8_t index_no;       // remember these? (0 if not used, like now)
-  uint32_t total_samples; // for entire file (-1 if unknown)
-  uint32_t block_index;   // index of first sample in block (to file begin)
   uint32_t block_samples; // # samples in this block
   uint32_t flags;         // various flags for id and decoding
   uint32_t crc;           // crc for actual decoded data
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.