DVI IMA ADPCM: Difference between revisions

From MultimediaWiki
Jump to navigation Jump to search
(add more information)
m (formatting)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
According to the [[XAnim]] multimedia application, there are two variants of DVI [[IMA ADPCM]], both of which are encoded and decoded with the IMA ADPCM algorithm. The original variant encodes the top nibble of a byte first, then the bottom nibble. The revised variant has the opposite encoding order.
According to the [[XAnim]] multimedia application, there are two variants of DVI [[IMA ADPCM]], both of which are encoded and decoded with the IMA ADPCM algorithm. The original variant encodes the top nibble of a byte first, then the bottom nibble. The revised variant has the opposite encoding order.


[[IMA ADPCM]] and [[Microsoft IMA ADPCM]] are both the same codec, an implementation of the Intel/DVI(R) IMA ADPCM standard, the only difference being encapsulation around (and nybble order of) the ADPCM data. The [[IMA ADPCM]] standard did not specify headers (RIFF/WAV/AU/etc) nor did it specify a nybble order for packing 4-bit ADPCM nybbles to a byte, while the [[Microsoft IMA ADPCM]] implementation does. It is possible that other [[IMA ADPCM]] implementations, such as the one in .AU and .AIFF files, is different in this regard.
== DVI4 ==
 
The [https://www.freesoft.org/CIE/RFC/1890/10.htm DVI4] codec, as defined in [https://www.freesoft.org/CIE/RFC/1890/index.htm RFC1890] is a variant of [[IMA ADPCM]].
In DVI4 the block header stores the initial predictor state, unlike [[IMA ADPCM]] where the block header stores the first sample.
Otherwise, DVI4 is decoded identically to [[IMA ADPCM]].


[[Category:Audio Codecs]]
[[Category:Audio Codecs]]
[[Category:ADPCM Audio Codecs]]
[[Category:ADPCM Audio Codecs]]
[[Category:IMA ADPCM Audio Codecs]]
[[Category:IMA ADPCM Audio Codecs]]

Latest revision as of 19:30, 11 October 2018

According to the XAnim multimedia application, there are two variants of DVI IMA ADPCM, both of which are encoded and decoded with the IMA ADPCM algorithm. The original variant encodes the top nibble of a byte first, then the bottom nibble. The revised variant has the opposite encoding order.

DVI4

The DVI4 codec, as defined in RFC1890 is a variant of IMA ADPCM. In DVI4 the block header stores the initial predictor state, unlike IMA ADPCM where the block header stores the first sample. Otherwise, DVI4 is decoded identically to IMA ADPCM.