view adpcm.h @ 3801:3cea69dda1b3

added NuppelVideo demuxer, based on Panagiotis Issaris' patch
author alex
date Thu, 27 Dec 2001 21:24:56 +0000
parents 55603340d1b2
children 8a88ed2473aa
line wrap: on
line source

#ifndef ADPCM_H
#define ADPCM_H

#define IMA_ADPCM_BLOCK_SIZE 0x22
#define IMA_ADPCM_SAMPLES_PER_BLOCK 0x40

#define MS_ADPCM_BLOCK_SIZE 256
#define MS_ADPCM_SAMPLES_PER_BLOCK ((256 - 7) * 2)

int ima_adpcm_decode_block(unsigned short *output, unsigned char *input,
  int channels);
int ms_adpcm_decode_block(unsigned short *output, unsigned char *input,
  int channels);

#endif