Mercurial > mplayer.hg
annotate adpcm.h @ 3803:b081763865d4
used by NuppelVideo
author | alex |
---|---|
date | Thu, 27 Dec 2001 21:27:59 +0000 |
parents | 55603340d1b2 |
children | 8a88ed2473aa |
rev | line source |
---|---|
3756 | 1 #ifndef ADPCM_H |
2 #define ADPCM_H | |
3 | |
4 #define IMA_ADPCM_BLOCK_SIZE 0x22 | |
5 #define IMA_ADPCM_SAMPLES_PER_BLOCK 0x40 | |
6 | |
3787 | 7 #define MS_ADPCM_BLOCK_SIZE 256 |
8 #define MS_ADPCM_SAMPLES_PER_BLOCK ((256 - 7) * 2) | |
3756 | 9 |
3787 | 10 int ima_adpcm_decode_block(unsigned short *output, unsigned char *input, |
11 int channels); | |
12 int ms_adpcm_decode_block(unsigned short *output, unsigned char *input, | |
13 int channels); | |
3756 | 14 |
15 #endif |