annotate adpcm.h @ 3803:b081763865d4

used by NuppelVideo
author alex
date Thu, 27 Dec 2001 21:27:59 +0000
parents 55603340d1b2
children 8a88ed2473aa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3756
734d0c0a8ab0 Initial support for unified ADPCM decoder
melanson
parents:
diff changeset
1 #ifndef ADPCM_H
734d0c0a8ab0 Initial support for unified ADPCM decoder
melanson
parents:
diff changeset
2 #define ADPCM_H
734d0c0a8ab0 Initial support for unified ADPCM decoder
melanson
parents:
diff changeset
3
734d0c0a8ab0 Initial support for unified ADPCM decoder
melanson
parents:
diff changeset
4 #define IMA_ADPCM_BLOCK_SIZE 0x22
734d0c0a8ab0 Initial support for unified ADPCM decoder
melanson
parents:
diff changeset
5 #define IMA_ADPCM_SAMPLES_PER_BLOCK 0x40
734d0c0a8ab0 Initial support for unified ADPCM decoder
melanson
parents:
diff changeset
6
3787
55603340d1b2 implemented open source MS ADPCM decoder
melanson
parents: 3756
diff changeset
7 #define MS_ADPCM_BLOCK_SIZE 256
55603340d1b2 implemented open source MS ADPCM decoder
melanson
parents: 3756
diff changeset
8 #define MS_ADPCM_SAMPLES_PER_BLOCK ((256 - 7) * 2)
3756
734d0c0a8ab0 Initial support for unified ADPCM decoder
melanson
parents:
diff changeset
9
3787
55603340d1b2 implemented open source MS ADPCM decoder
melanson
parents: 3756
diff changeset
10 int ima_adpcm_decode_block(unsigned short *output, unsigned char *input,
55603340d1b2 implemented open source MS ADPCM decoder
melanson
parents: 3756
diff changeset
11 int channels);
55603340d1b2 implemented open source MS ADPCM decoder
melanson
parents: 3756
diff changeset
12 int ms_adpcm_decode_block(unsigned short *output, unsigned char *input,
55603340d1b2 implemented open source MS ADPCM decoder
melanson
parents: 3756
diff changeset
13 int channels);
3756
734d0c0a8ab0 Initial support for unified ADPCM decoder
melanson
parents:
diff changeset
14
734d0c0a8ab0 Initial support for unified ADPCM decoder
melanson
parents:
diff changeset
15 #endif