Main Page
Classes
Files
File List
File Members
include
approx_cont_mgau.h
Go to the documentation of this file.
1
/* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */
2
/* ====================================================================
3
* Copyright (c) 1999-2004 Carnegie Mellon University. All rights
4
* reserved.
5
*
6
* Redistribution and use in source and binary forms, with or without
7
* modification, are permitted provided that the following conditions
8
* are met:
9
*
10
* 1. Redistributions of source code must retain the above copyright
11
* notice, this list of conditions and the following disclaimer.
12
*
13
* 2. Redistributions in binary form must reproduce the above copyright
14
* notice, this list of conditions and the following disclaimer in
15
* the documentation and/or other materials provided with the
16
* distribution.
17
*
18
* This work was supported in part by funding from the Defense Advanced
19
* Research Projects Agency and the National Science Foundation of the
20
* United States of America, and the CMU Sphinx Speech Consortium.
21
*
22
* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND
23
* ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
24
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY
26
* NOR ITS EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
*
34
* ====================================================================
35
*
36
*/
37
/*
38
* approx_cont_mgau.h
39
*
40
* **********************************************
41
* CMU ARPA Speech Project
42
*
43
* Copyright (c) 1999 Carnegie Mellon University.
44
* ALL RIGHTS RESERVED.
45
* **********************************************
46
*
47
* HISTORY
48
* $Log$
49
* Revision 1.1 2006/04/05 20:27:30 dhdfu
50
* A Great Reorganzation of header files and executables
51
*
52
* Revision 1.10 2005/06/21 18:05:12 arthchan2003
53
* Log. approx_cont_mgau_frame_eval has interface's changes. ci_senscr,
54
* best_score is now wrapped up ascr_t. approx_cont_mgau_ci_eval is now
55
* taking care of maxing ci senone score for a frame.
56
*
57
* Revision 1.6 2005/06/09 20:55:29 archan
58
* Add comments for approx_cont_mgau.h.
59
*
60
* Revision 1.5 2005/04/20 03:30:58 archan
61
* Part of refactoring: move best scores inside approx_cont_mgau.h
62
*
63
* Revision 1.4 2005/03/30 01:22:46 archan
64
* Fixed mistakes in last updates. Add
65
*
66
*
67
* 23-Jan-2004 Arthur Chan (archan@cs.cmu.edu)
68
* started
69
*/
70
71
72
#ifndef _S3_APPROXCONGAU_H_
73
#define _S3_APPROXCONGAU_H_
74
75
#include <logmath.h>
76
#include <profile.h>
77
#include "
cont_mgau.h
"
78
#include "
subvq.h
"
79
#include "
gs.h
"
80
#include "
fast_algo_struct.h
"
81
#include "
ascr.h
"
82
#include "
mdef.h
"
83
#include "
s3types.h
"
84
85
#ifdef __cplusplus
86
extern
"C"
{
87
#endif
88
#if 0
89
}
/* Fool Emacs into not indenting things. */
90
#endif
91
221
S3DECODER_EXPORT
222
int32
approx_cont_mgau_frame_eval
(
mdef_t
*mdef,
223
subvq_t
*svq,
224
gs_t
*gs,
225
mgau_model_t
*g,
226
fast_gmm_t
*fastgmm,
230
ascr_t
*a,
232
float32 *feat,
233
int32 frame,
234
int32 *cache_ci_senscr,
235
ptmr_t *tm_ovrhd,
236
logmath_t *logmath
237
);
238
239
246
S3DECODER_EXPORT
247
void
approx_cont_mgau_ci_eval
(
248
subvq_t
*svq,
249
gs_t
*gs,
250
mgau_model_t
*g,
251
fast_gmm_t
*fg,
255
mdef_t
*mdef,
256
float32 *feat,
257
int32 *ci_senscr,
258
int32 *best_score,
259
int32 fr,
260
logmath_t *logmath
261
);
262
263
#if 0
264
{
/* Stop indent from complaining */
265
#endif
266
#ifdef __cplusplus
267
}
268
#endif
269
270
#endif
Generated by
1.8.1.1