summaryrefslogtreecommitdiffstats
path: root/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon
diff options
context:
space:
mode:
Diffstat (limited to 'branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon')
-rw-r--r--branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/basop32.h22
-rw-r--r--branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/bvcommon.h130
-rw-r--r--branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/mathutil.h47
-rw-r--r--branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/memutil.h31
-rw-r--r--branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/typedef.h36
-rw-r--r--branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/utility.h31
6 files changed, 0 insertions, 297 deletions
diff --git a/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/basop32.h b/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/basop32.h
deleted file mode 100644
index f3c47d8..0000000
--- a/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/basop32.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*****************************************************************************/
-/* BroadVoice(R)16 (BV16) Fixed-Point ANSI-C Source Code */
-/* Revision Date: November 13, 2009 */
-/* Version 1.1 */
-/*****************************************************************************/
-
-/*****************************************************************************/
-/* Copyright 2000-2009 Broadcom Corporation */
-/* */
-/* This software is provided under the GNU Lesser General Public License, */
-/* version 2.1, as published by the Free Software Foundation ("LGPL"). */
-/* This program is distributed in the hope that it will be useful, but */
-/* WITHOUT ANY SUPPORT OR WARRANTY; without even the implied warranty of */
-/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LGPL for */
-/* more details. A copy of the LGPL is available at */
-/* http://www.broadcom.com/licenses/LGPLv2.1.php, */
-/* or by writing to the Free Software Foundation, Inc., */
-/* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-/*****************************************************************************/
-
-#include "../itug191lib/basop32.h"
-#include "../itug729ilib/oper_32b.h"
diff --git a/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/bvcommon.h b/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/bvcommon.h
deleted file mode 100644
index b8accf1..0000000
--- a/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/bvcommon.h
+++ /dev/null
@@ -1,130 +0,0 @@
-/*****************************************************************************/
-/* BroadVoice(R)16 (BV16) Fixed-Point ANSI-C Source Code */
-/* Revision Date: November 13, 2009 */
-/* Version 1.1 */
-/*****************************************************************************/
-
-/*****************************************************************************/
-/* Copyright 2000-2009 Broadcom Corporation */
-/* */
-/* This software is provided under the GNU Lesser General Public License, */
-/* version 2.1, as published by the Free Software Foundation ("LGPL"). */
-/* This program is distributed in the hope that it will be useful, but */
-/* WITHOUT ANY SUPPORT OR WARRANTY; without even the implied warranty of */
-/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LGPL for */
-/* more details. A copy of the LGPL is available at */
-/* http://www.broadcom.com/licenses/LGPLv2.1.php, */
-/* or by writing to the Free Software Foundation, Inc., */
-/* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-/*****************************************************************************/
-
-
-/*****************************************************************************
- bvcommon.h : Common Fixed-Point Library: common #defines and prototypes
-
- $Log$
-******************************************************************************/
-
-#ifndef BVCOMMON_H
-#define BVCOMMON_H
-
-/* ----- Basic Codec Parameters ----- */
-
-#define LPCO 8 /* LPC Order for 8 kHz sampled lowband signal */
-#define Ngrd 60
-
-#define LSPMIN 49 /* 0.00150 minimum lsp frequency */
-#define LSPMAX 32694 /* 0.99775 maximum lsp frequency */
-#define DLSPMIN 410 /* 0.01250 minimum lsp spacing */
-#define STBLDIM 3 /* dimension of stability enforcement */
-
-/* LPC bandwidth expansion */
-extern Word16 bwel[];
-
-/* LPC to lsp Conversion */
-extern Word16 grid[];
-
-/* LPC WEIGHTING FILTER */
-extern Word16 STWAL[];
-
-/* Coarse Pitch Search */
-extern Word16 invk[];
-
-/* Pitch tap codebook - actually content different for BV16 and BV32 */
-extern Word16 pp9cb[];
-
-/* Function prototypes */
-
-void azfilter(
- Word16 a[], /* (i) Q12 : prediction coefficients */
- Word16 m, /* (i) : LPC order */
- Word16 x[], /* (i) Q0 : input signal samples, incl. past */
- Word16 y[], /* (o) Q0 : filtered output signal */
- Word16 lg /* (i) : size of filtering */
- );
-
-void apfilter(
- Word16 a[], /* (i) Q12 : prediction coefficients */
- Word16 m, /* (i) : LPC order */
- Word16 x[], /* (i) Q0 : input signal */
- Word16 y[], /* (o) Q0 : output signal */
- Word16 lg, /* (i) : size of filtering */
- Word16 mem[], /* (i/o) Q0: filter memory */
- Word16 update /* (i) : memory update flag */
- );
-
-void lsp2a(
-Word16 lsp[], /* (i) Q15 : line spectral frequencies */
-Word16 a[]); /* (o) Q12 : predictor coefficients (order = 10) */
-
-void stblz_lsp(
-Word16 *lsp, /* Q15 */
-Word16 order);
-
-Word16 stblchck(
-Word16 *x,
-Word16 vdim);
-
-void a2lsp(
-Word16 a[], /* (i) Q12 : predictor coefficients */
-Word16 lsp[], /* (o) Q15 : line spectral frequencies */
-Word16 old_lsp[]); /* (i) : old lsp[] (in case not found 10 roots) */
-
-void Autocorr(
- Word32 r[], /* (o) : Autocorrelations */
- Word16 x[], /* (i) : Input signal */
- Word16 window[],/* (i) : LPC Analysis window */
- Word16 l_window,/* (i) : window length */
- Word16 m); /* (i) : LPC order */
-
-void Spectral_Smoothing(
-Word16 m, /* (i) : LPC order */
-Word32 rl[], /* (i/o) : Autocorrelations lags */
-Word16 lag_h[], /* (i) : SST coefficients (msb) */
-Word16 lag_l[]); /* (i) : SST coefficients (lsb) */
-
-void Levinson(
- Word32 r32[], /* (i) : r32[] double precision vector of autocorrelation coefficients */
- Word16 a[], /* (o) : a[] in Q12 - LPC coefficients */
- Word16 old_a[], /* (i/o): old_a[] in Q12 - previous LPC coefficients */
- Word16 m); /* (i) : LPC order */
-
-void pp3dec(
-Word16 idx,
-Word16 *b);
-
-void vqdec(
-Word16 *xq,
-Word16 idx,
-Word16 *cb,
-Word16 vdim);
-
-#ifdef _MSC_VER
-#include "math.h"
-static __inline double round(double val)
-{
- return floor(val + 0.5);
-}
-#endif
-
-#endif /* BVCOMMON_H */
diff --git a/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/mathutil.h b/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/mathutil.h
deleted file mode 100644
index e54a74c..0000000
--- a/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/mathutil.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*****************************************************************************/
-/* BroadVoice(R)16 (BV16) Fixed-Point ANSI-C Source Code */
-/* Revision Date: November 13, 2009 */
-/* Version 1.1 */
-/*****************************************************************************/
-
-/*****************************************************************************/
-/* Copyright 2000-2009 Broadcom Corporation */
-/* */
-/* This software is provided under the GNU Lesser General Public License, */
-/* version 2.1, as published by the Free Software Foundation ("LGPL"). */
-/* This program is distributed in the hope that it will be useful, but */
-/* WITHOUT ANY SUPPORT OR WARRANTY; without even the implied warranty of */
-/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LGPL for */
-/* more details. A copy of the LGPL is available at */
-/* http://www.broadcom.com/licenses/LGPLv2.1.php, */
-/* or by writing to the Free Software Foundation, Inc., */
-/* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-/*****************************************************************************/
-
-
-/*****************************************************************************
- fixmath.h : Common Fixed-Point Library:
-
- $Log$
-******************************************************************************/
-
-Word32 Pow2( /* Q0 output */
- Word16 int_comp, /* Q0 Integer part */
- Word16 frac_comp /* Q15 frac_compal part */
- );
-
-void Log2(
- Word32 x, /* (i) input */
- Word16 *int_comp, /* Q0 integer part */
- Word16 *frac_comp /* Q15 fractional part */
- );
-
-void sqrt_i(Word16 x_man, Word16 x_exp, Word16 *y_man, Word16 *y_exp);
-Word16 sqrts(Word16 x);
-
-extern Word16 tabsqrt[];
-extern Word16 tablog[];
-extern Word16 tabpow[];
-extern Word16 costable[];
-extern Word16 acosslope[];
-
diff --git a/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/memutil.h b/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/memutil.h
deleted file mode 100644
index 4c67f5f..0000000
--- a/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/memutil.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*****************************************************************************/
-/* BroadVoice(R)16 (BV16) Fixed-Point ANSI-C Source Code */
-/* Revision Date: November 13, 2009 */
-/* Version 1.1 */
-/*****************************************************************************/
-
-/*****************************************************************************/
-/* Copyright 2000-2009 Broadcom Corporation */
-/* */
-/* This software is provided under the GNU Lesser General Public License, */
-/* version 2.1, as published by the Free Software Foundation ("LGPL"). */
-/* This program is distributed in the hope that it will be useful, but */
-/* WITHOUT ANY SUPPORT OR WARRANTY; without even the implied warranty of */
-/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LGPL for */
-/* more details. A copy of the LGPL is available at */
-/* http://www.broadcom.com/licenses/LGPLv2.1.php, */
-/* or by writing to the Free Software Foundation, Inc., */
-/* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-/*****************************************************************************/
-
-
-/*****************************************************************************
- memutil.h : Common Fixed-Point Library: memory utilities
-
- $Log$
-******************************************************************************/
-
-Word16 *allocWord16(long nl, long nh);
-void deallocWord16(Word16 *v, long nl, long nh);
-Word32 *allocWord32(long nl, long nh);
-void deallocWord32(Word32 *v, long nl, long nh);
diff --git a/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/typedef.h b/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/typedef.h
deleted file mode 100644
index 68f5e17..0000000
--- a/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/typedef.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*****************************************************************************/
-/* BroadVoice(R)16 (BV16) Fixed-Point ANSI-C Source Code */
-/* Revision Date: November 13, 2009 */
-/* Version 1.1 */
-/*****************************************************************************/
-
-/*****************************************************************************/
-/* Copyright 2000-2009 Broadcom Corporation */
-/* */
-/* This software is provided under the GNU Lesser General Public License, */
-/* version 2.1, as published by the Free Software Foundation ("LGPL"). */
-/* This program is distributed in the hope that it will be useful, but */
-/* WITHOUT ANY SUPPORT OR WARRANTY; without even the implied warranty of */
-/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LGPL for */
-/* more details. A copy of the LGPL is available at */
-/* http://www.broadcom.com/licenses/LGPLv2.1.php, */
-/* or by writing to the Free Software Foundation, Inc., */
-/* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-/*****************************************************************************/
-
-
-/*****************************************************************************
- typedef.h : Common Fixed-Point Library:
-
- $Log$
-******************************************************************************/
-
-#ifndef __TYPEDEF__
-#define __TYPEDEF__
-typedef unsigned char UWord8;
-typedef short Word16;
-typedef int Word32;
-typedef unsigned int UWord32;
-typedef int Flag;
-#endif
-
diff --git a/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/utility.h b/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/utility.h
deleted file mode 100644
index ea4202e..0000000
--- a/branches/1.0/thirdparties/android/include/BroadVoice16/bvcommon/utility.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*****************************************************************************/
-/* BroadVoice(R)16 (BV16) Fixed-Point ANSI-C Source Code */
-/* Revision Date: November 13, 2009 */
-/* Version 1.1 */
-/*****************************************************************************/
-
-/*****************************************************************************/
-/* Copyright 2000-2009 Broadcom Corporation */
-/* */
-/* This software is provided under the GNU Lesser General Public License, */
-/* version 2.1, as published by the Free Software Foundation ("LGPL"). */
-/* This program is distributed in the hope that it will be useful, but */
-/* WITHOUT ANY SUPPORT OR WARRANTY; without even the implied warranty of */
-/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LGPL for */
-/* more details. A copy of the LGPL is available at */
-/* http://www.broadcom.com/licenses/LGPLv2.1.php, */
-/* or by writing to the Free Software Foundation, Inc., */
-/* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-/*****************************************************************************/
-
-
-/*****************************************************************************
- utility.h : Common Fixed-Point Library:
-
- $Log$
-******************************************************************************/
-
-void W16copy(Word16 *y, Word16 *x, int size);
-void W16zero(Word16 *x, int size);
-void W32copy(Word32 *y, Word32 *x, int size);
-
OpenPOWER on IntegriCloud