72e8535d7a
PR: 118467 Submitted by: Pietro Cerutti <gahr@gahr.ch> Approved by: portmgr (erwin)
29 lines
1.2 KiB
C
29 lines
1.2 KiB
C
--- src/libsphinx2/cdcn_update.c.orig 2001-12-13 22:11:20.000000000 +0100
|
|
+++ src/libsphinx2/cdcn_update.c 2007-12-06 19:40:02.000000000 +0100
|
|
@@ -47,6 +47,11 @@
|
|
* Modified by Uday Jain, June 95
|
|
*
|
|
*************************************************************************/
|
|
+static float initialize (float [][NUM_COEFF+1], int, float *, float *, float,
|
|
+ float [][NUM_COEFF+1], float *, float [][NUM_COEFF+1], int);
|
|
+static void correction(float *, float *, float *, float *, int);
|
|
+static float max_q (float *, float *, float *, float *, float *,
|
|
+ float *, int, float *, int);
|
|
|
|
float
|
|
cdcn_update (float *z, /* The observed cepstrum vectors */
|
|
@@ -56,13 +61,7 @@
|
|
float distortion;
|
|
float *noise, *tilt, *codebook, *prob, *variance, *corrbook;
|
|
int num_codes;
|
|
- /* Multidimensional arrays, gar gar gar */
|
|
- static float initialize (float *, int, float *, float *, float,
|
|
- float *, float *, float *, int);
|
|
- static void correction(float *, float *, float *, float *, int);
|
|
- static float max_q (float *, float *, float *, float *, float *,
|
|
- float *, int, float *, int);
|
|
-
|
|
+
|
|
/*
|
|
* If error, dont bother
|
|
*/
|