JoseRaimundo / pds_mestrado

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ADPCM

Compile

make clean; make

Running encoder

./bin/main e input_file output_file

Running decoder

./bin/main d input_file output_file

Description

/*The basic structure
struct ADPCMstate {
    short prevsample;/* Predicted sample */
    int previndex;/* Index into step size table */
};
/* Function prototype for the ADPCM Encoder routine */
char ADPCMEncoder(short , struct ADPCMstate *);
/* Function prototype for the ADPCM Decoder routine */
int ADPCMDecoder(char , struct ADPCMstate *);

Encoder

adpcm encoder

Decoder

adpcm decoder

Reference

About


Languages

Language:C++ 59.2%Language:Python 34.4%Language:C 4.9%Language:Makefile 1.5%