approx_cont_mgau.h

Go to the documentation of this file.
00001 /* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */
00002 /* ====================================================================
00003  * Copyright (c) 1999-2004 Carnegie Mellon University.  All rights
00004  * reserved.
00005  *
00006  * Redistribution and use in source and binary forms, with or without
00007  * modification, are permitted provided that the following conditions
00008  * are met:
00009  *
00010  * 1. Redistributions of source code must retain the above copyright
00011  *    notice, this list of conditions and the following disclaimer. 
00012  *
00013  * 2. Redistributions in binary form must reproduce the above copyright
00014  *    notice, this list of conditions and the following disclaimer in
00015  *    the documentation and/or other materials provided with the
00016  *    distribution.
00017  *
00018  * This work was supported in part by funding from the Defense Advanced 
00019  * Research Projects Agency and the National Science Foundation of the 
00020  * United States of America, and the CMU Sphinx Speech Consortium.
00021  *
00022  * THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND 
00023  * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 
00024  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00025  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY
00026  * NOR ITS EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
00027  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
00028  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
00029  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
00030  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
00031  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
00032  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00033  *
00034  * ====================================================================
00035  *
00036  */
00037 /*
00038  * approx_cont_mgau.h
00039  * 
00040  * **********************************************
00041  * CMU ARPA Speech Project
00042  *
00043  * Copyright (c) 1999 Carnegie Mellon University.
00044  * ALL RIGHTS RESERVED.
00045  * **********************************************
00046  * 
00047  * HISTORY
00048  * $Log$
00049  * Revision 1.1  2006/04/05  20:27:30  dhdfu
00050  * A Great Reorganzation of header files and executables
00051  * 
00052  * Revision 1.10  2005/06/21 18:05:12  arthchan2003
00053  * Log. approx_cont_mgau_frame_eval has interface's changes. ci_senscr,
00054  * best_score is now wrapped up ascr_t. approx_cont_mgau_ci_eval is now
00055  * taking care of maxing ci senone score for a frame.
00056  *
00057  * Revision 1.6  2005/06/09 20:55:29  archan
00058  * Add comments for approx_cont_mgau.h.
00059  *
00060  * Revision 1.5  2005/04/20 03:30:58  archan
00061  * Part of refactoring: move best scores inside approx_cont_mgau.h
00062  *
00063  * Revision 1.4  2005/03/30 01:22:46  archan
00064  * Fixed mistakes in last updates. Add
00065  *
00066  * 
00067  * 23-Jan-2004 Arthur Chan (archan@cs.cmu.edu)
00068  *             started
00069  */
00070 
00071 
00072 #ifndef _S3_APPROXCONGAU_H_
00073 #define _S3_APPROXCONGAU_H_
00074 
00075 #include <logmath.h>
00076 #include <profile.h>
00077 #include "cont_mgau.h"
00078 #include "subvq.h"
00079 #include "gs.h"
00080 #include "fast_algo_struct.h"
00081 #include "ascr.h"
00082 #include "mdef.h"
00083 #include "s3types.h"
00084 
00085 #ifdef __cplusplus
00086 extern "C" {
00087 #endif
00088 #if 0
00089 } /* Fool Emacs into not indenting things. */
00090 #endif
00091 
00221 S3DECODER_EXPORT
00222 int32 approx_cont_mgau_frame_eval (mdef_t *mdef,
00223                                    subvq_t *svq,
00224                                    gs_t *gs, 
00225                                    mgau_model_t *g,
00226                                    fast_gmm_t *fastgmm,  
00230                                    ascr_t *a,           
00232                                    float32 *feat,       
00233                                    int32 frame,         
00234                                    int32 *cache_ci_senscr, 
00235                                    ptmr_t *tm_ovrhd,        
00236                                    logmath_t *logmath
00237     );
00238 
00239 
00246 S3DECODER_EXPORT
00247 void approx_cont_mgau_ci_eval (
00248     subvq_t *svq,
00249     gs_t *gs,
00250     mgau_model_t *g,
00251     fast_gmm_t *fg, 
00255     mdef_t *mdef,  
00256     float32 *feat, 
00257     int32 *ci_senscr, 
00258     int32 *best_score, 
00259     int32 fr, 
00260     logmath_t *logmath
00261     );
00262 
00263 #if 0
00264 { /* Stop indent from complaining */
00265 #endif
00266 #ifdef __cplusplus
00267 }
00268 #endif
00269 
00270 #endif

Generated on 7 Mar 2010 by  doxygen 1.6.1