DPCM: Difference between revisions

From Sierra Wiki
Jump to navigationJump to search
Andrew Branscom (talk | contribs)
 
Andrew Branscom (talk | contribs)
m 2 revisions imported
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 09:36, 16 February 2025

This is a set of DPCM codecs used in AUD 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


References



Related Links