summaryrefslogtreecommitdiff
path: root/codecs/ilbc/doCPLC.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-04-15 04:36:52 +0000
committerMark Spencer <markster@digium.com>2003-04-15 04:36:52 +0000
commitc4da749362b2842ba0478dcdb309c29dd353c795 (patch)
tree468bcd1944564d1b84b5a9d46b2eb437fe3c73a3 /codecs/ilbc/doCPLC.h
parentdbe00ec2d2029c61ffb7b58ee6184274058767f4 (diff)
Add iLBC codec
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/ilbc/doCPLC.h')
-rwxr-xr-xcodecs/ilbc/doCPLC.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/codecs/ilbc/doCPLC.h b/codecs/ilbc/doCPLC.h
new file mode 100755
index 000000000..6f3612bd1
--- /dev/null
+++ b/codecs/ilbc/doCPLC.h
@@ -0,0 +1,31 @@
+
+/******************************************************************
+
+ iLBC Speech Coder ANSI-C Source Code
+
+ doCPLC.h
+
+ Copyright (c) 2001,
+ Global IP Sound AB.
+ All rights reserved.
+
+******************************************************************/
+
+#ifndef __iLBC_DOLPC_H
+#define __iLBC_DOLPC_H
+
+void doThePLC(
+ float *PLCresidual, /* (o) concealed residual */
+ float *PLClpc, /* (o) concealed LP parameters */
+ int PLI, /* (i) packet loss indicator
+ 0 - no PL, 1 = PL */
+ float *decresidual, /* (i) decoded residual */
+ float *lpc, /* (i) decoded LPC (only used for no PL) */
+ int inlag, /* (i) pitch lag */
+ iLBC_Dec_Inst_t *iLBCdec_inst
+ /* (i/o) decoder instance */
+);
+
+#endif
+
+