summaryrefslogtreecommitdiffstats
path: root/thirdparties/android/include/g729b/vad.h
diff options
context:
space:
mode:
authorbossiel <bossiel@yahoo.fr>2011-08-10 22:59:15 +0000
committerbossiel <bossiel@yahoo.fr>2011-08-10 22:59:15 +0000
commit1ebf5a5fcda0c9154e22ed02404fd46525a7fd9f (patch)
tree4b6214a7142ab1035cb0e47444e88af38e712421 /thirdparties/android/include/g729b/vad.h
downloaddoubango-1.0.zip
doubango-1.0.tar.gz
Move deprecated v1.0 from trunk to branches1.0
Diffstat (limited to 'thirdparties/android/include/g729b/vad.h')
-rw-r--r--thirdparties/android/include/g729b/vad.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/thirdparties/android/include/g729b/vad.h b/thirdparties/android/include/g729b/vad.h
new file mode 100644
index 0000000..c598e9b
--- /dev/null
+++ b/thirdparties/android/include/g729b/vad.h
@@ -0,0 +1,30 @@
+/*
+ ITU-T G.729A Annex B ANSI-C Source Code
+ Version 1.3 Last modified: August 1997
+ Copyright (c) 1996, France Telecom, Rockwell International,
+ Universite de Sherbrooke.
+ All rights reserved.
+*/
+
+#define NP 12 /* Increased LPC order */
+#define NOISE 0
+#define VOICE 1
+#define INIT_FRAME 32
+#define INIT_COUNT 20
+#define ZC_START 120
+#define ZC_END 200
+
+void vad_init(void);
+
+void vad(
+ Word16 rc,
+ Word16 *lsf,
+ Word16 *r_h,
+ Word16 *r_l,
+ Word16 exp_R0,
+ Word16 *sigpp,
+ Word16 frm_count,
+ Word16 prev_marker,
+ Word16 pprev_marker,
+ Word16 *marker);
+
OpenPOWER on IntegriCloud