www.pudn.com > iMagic_2006_0428_v098r23.rar > amrcodec.h
/* ***************************************************************************** * * GSM AMR-NB speech codec R98 Version 7.6.0 December 12, 2001 * R99 Version 3.3.0 * REL-4 Version 4.1.0 * ***************************************************************************** * * File : armcodec.h * Purpose : AMR coder and deocder * ***************************************************************************** */ #ifndef amrcodec_h #define amrcodec_h //"$Id $" /* ***************************************************************************** * INCLUDE FILES ***************************************************************************** */ /* ***************************************************************************** * DEFINITION OF DATA TYPES ***************************************************************************** */ /* ******************************************************************************** * DECLARATION OF PROTOTYPES ******************************************************************************** */ /* ************************************************************** * * European digital cellular telecommunications system * 4750 ... 12200 bits/s speech codec for * Adaptive Multi-Rate speech traffic channels * * Bit-Exact C Simulation Code - Encoder * * R98: Version 7.6.0 * R99: Version 3.3.0 * REL-4: Version 4.1.0 December 12, 2001 * REL-5: Version 5.1.0 March 26, 2003 *************************************************************** * *Code compiled with VAD option: VAD1 (ENS) * * Usage: * * -e [-dtx] amr_mode speech_file bitstream_file * * or * * -e [-dtx] -modefile=mode_file speech_file bitstream_file * * -dtx enables DTX mode * -modefile=mode_file reads AMR modes from text file (one line per frame) */ int coder (); /* *************************************************************** * * European digital cellular telecommunications system * 4750 ... 12200 bits/s speech codec for * Adaptive Multi-Rate speech traffic channels * * Bit-Exact C Simulation Code - Decoder * * R98: Version 7.6.0 * R99: Version 3.3.0 * REL-4: Version 4.1.0 December 12, 2001 * REL-5: Version 5.1.0 March 26, 2003 *************************************************************** * * Usage: * * -d [-rxframetype] bitstream_file synth_file * * -rxframetype expects the RX frame type in bitstream_file (instead of TX) */ int decoder (); //int AmrStartDecodingInf(STREAM *hFile, STVIDEOCLIPINFO *stVideoInfo); unsigned long calculateAMRFileLength(void); #endif