gainquant.h

Go to the documentation of this file.
00001 
00002    /******************************************************************
00003 
00004        iLBC Speech Coder ANSI-C Source Code
00005 
00006        gainquant.h
00007 
00008        Copyright (C) The Internet Society (2004).
00009        All Rights Reserved.
00010 
00011    ******************************************************************/
00012 
00013    #ifndef __iLBC_GAINQUANT_H
00014    #define __iLBC_GAINQUANT_H
00015 
00016    float gainquant(/* (o) quantized gain value */
00017        float in,       /* (i) gain value */
00018        float maxIn,/* (i) maximum of gain value */
00019        int cblen,      /* (i) number of quantization indices */
00020        int *index      /* (o) quantization index */
00021    );
00022 
00023    float gaindequant(  /* (o) quantized gain value */
00024        int index,      /* (i) quantization index */
00025        float maxIn,/* (i) maximum of unquantized gain */
00026        int cblen       /* (i) number of quantization indices */
00027    );
00028 
00029    #endif
00030 

Generated on Thu Apr 16 06:27:36 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6