summaryrefslogtreecommitdiff
path: root/pjmedia/src/pjmedia-codec/ilbc/gainquant.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-07-31 15:25:14 +0000
committerBenny Prijono <bennylp@teluu.com>2006-07-31 15:25:14 +0000
commit2d507021e3078779c8b48c44c8881558f0ee6242 (patch)
treea9e27e7543b728242bca923417cdaf527b2d5515 /pjmedia/src/pjmedia-codec/ilbc/gainquant.h
parentce9088d8978fdd457158ec0ea4c8e11e10b2960f (diff)
Really add the iLBC files into SVN now (duh!).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@638 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src/pjmedia-codec/ilbc/gainquant.h')
-rw-r--r--pjmedia/src/pjmedia-codec/ilbc/gainquant.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/pjmedia/src/pjmedia-codec/ilbc/gainquant.h b/pjmedia/src/pjmedia-codec/ilbc/gainquant.h
new file mode 100644
index 00000000..0d024246
--- /dev/null
+++ b/pjmedia/src/pjmedia-codec/ilbc/gainquant.h
@@ -0,0 +1,30 @@
+
+ /******************************************************************
+
+ iLBC Speech Coder ANSI-C Source Code
+
+ gainquant.h
+
+ Copyright (C) The Internet Society (2004).
+ All Rights Reserved.
+
+ ******************************************************************/
+
+ #ifndef __iLBC_GAINQUANT_H
+ #define __iLBC_GAINQUANT_H
+
+ float gainquant(/* (o) quantized gain value */
+ float in, /* (i) gain value */
+ float maxIn,/* (i) maximum of gain value */
+ int cblen, /* (i) number of quantization indices */
+ int *index /* (o) quantization index */
+ );
+
+ float gaindequant( /* (o) quantized gain value */
+ int index, /* (i) quantization index */
+ float maxIn,/* (i) maximum of unquantized gain */
+ int cblen /* (i) number of quantization indices */
+ );
+
+ #endif
+