Sierra DPCM

From MultimediaWiki
Revision as of 11:25, 24 March 2006 by Multimedia Mike (talk | contribs) (revert spam/vandalism)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This is a set of DPCM codecs used in Sierra Audio and VMD.

Old DPCM

Decoding of DPCM is very simple: read nibble, get corresponding delta value from table and update current sample value.

Delta table:

 { 0,  1,  2,  3,  6, 10, 15, 21,
 -21,-15,-10, -6, -3, -2, -1, -0}

New DPCM

New scheme differs from old one by delta table (note the order of its second part):

 { 0,  1,  2,  3,  6,  10,  15,  21,
  -0, -1, -2, -3, -6, -10, -15, -21}

16-bit DPCM

TODO