\doxysection{feat.\+h}
\label{feat_8h_source}\index{include/sphinxbase/feat.h@{include/sphinxbase/feat.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*\ -\/*-\/\ c-\/basic-\/offset:\ 4;\ indent-\/tabs-\/mode:\ nil\ -\/*-\/\ */}}
\DoxyCodeLine{00002\ \textcolor{comment}{/*\ ====================================================================}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ Copyright\ (c)\ 1999-\/2004\ Carnegie\ Mellon\ University.\ \ All\ rights}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ reserved.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ Redistribution\ and\ use\ in\ source\ and\ binary\ forms,\ with\ or\ without}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ modification,\ are\ permitted\ provided\ that\ the\ following\ conditions}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ are\ met:}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *\ 1.\ Redistributions\ of\ source\ code\ must\ retain\ the\ above\ copyright}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ \ \ \ notice,\ this\ list\ of\ conditions\ and\ the\ following\ disclaimer.\ }}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ 2.\ Redistributions\ in\ binary\ form\ must\ reproduce\ the\ above\ copyright}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ \ \ \ notice,\ this\ list\ of\ conditions\ and\ the\ following\ disclaimer\ in}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ \ \ \ the\ documentation\ and/or\ other\ materials\ provided\ with\ the}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *\ \ \ \ distribution.}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *\ This\ work\ was\ supported\ in\ part\ by\ funding\ from\ the\ Defense\ Advanced\ }}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ Research\ Projects\ Agency\ and\ the\ National\ Science\ Foundation\ of\ the\ }}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ United\ States\ of\ America,\ and\ the\ CMU\ Sphinx\ Speech\ Consortium.}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ THIS\ SOFTWARE\ IS\ PROVIDED\ BY\ CARNEGIE\ MELLON\ UNIVERSITY\ \`{}\`{}AS\ IS''\ AND\ }}
\DoxyCodeLine{00023\ \textcolor{comment}{\ *\ ANY\ EXPRESSED\ OR\ IMPLIED\ WARRANTIES,\ INCLUDING,\ BUT\ NOT\ LIMITED\ TO,\ }}
\DoxyCodeLine{00024\ \textcolor{comment}{\ *\ THE\ IMPLIED\ WARRANTIES\ OF\ MERCHANTABILITY\ AND\ FITNESS\ FOR\ A\ PARTICULAR}}
\DoxyCodeLine{00025\ \textcolor{comment}{\ *\ PURPOSE\ ARE\ DISCLAIMED.\ \ IN\ NO\ EVENT\ SHALL\ CARNEGIE\ MELLON\ UNIVERSITY}}
\DoxyCodeLine{00026\ \textcolor{comment}{\ *\ NOR\ ITS\ EMPLOYEES\ BE\ LIABLE\ FOR\ ANY\ DIRECT,\ INDIRECT,\ INCIDENTAL,}}
\DoxyCodeLine{00027\ \textcolor{comment}{\ *\ SPECIAL,\ EXEMPLARY,\ OR\ CONSEQUENTIAL\ DAMAGES\ (INCLUDING,\ BUT\ NOT\ }}
\DoxyCodeLine{00028\ \textcolor{comment}{\ *\ LIMITED\ TO,\ PROCUREMENT\ OF\ SUBSTITUTE\ GOODS\ OR\ SERVICES;\ LOSS\ OF\ USE,\ }}
\DoxyCodeLine{00029\ \textcolor{comment}{\ *\ DATA,\ OR\ PROFITS;\ OR\ BUSINESS\ INTERRUPTION)\ HOWEVER\ CAUSED\ AND\ ON\ ANY\ }}
\DoxyCodeLine{00030\ \textcolor{comment}{\ *\ THEORY\ OF\ LIABILITY,\ WHETHER\ IN\ CONTRACT,\ STRICT\ LIABILITY,\ OR\ TORT\ }}
\DoxyCodeLine{00031\ \textcolor{comment}{\ *\ (INCLUDING\ NEGLIGENCE\ OR\ OTHERWISE)\ ARISING\ IN\ ANY\ WAY\ OUT\ OF\ THE\ USE\ }}
\DoxyCodeLine{00032\ \textcolor{comment}{\ *\ OF\ THIS\ SOFTWARE,\ EVEN\ IF\ ADVISED\ OF\ THE\ POSSIBILITY\ OF\ SUCH\ DAMAGE.}}
\DoxyCodeLine{00033\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00034\ \textcolor{comment}{\ *\ ====================================================================}}
\DoxyCodeLine{00035\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00036\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00037\ \textcolor{comment}{/*}}
\DoxyCodeLine{00038\ \textcolor{comment}{\ *\ feat.h\ -\/-\/\ Cepstral\ features\ computation.}}
\DoxyCodeLine{00039\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00040\ \textcolor{comment}{\ *\ **********************************************}}
\DoxyCodeLine{00041\ \textcolor{comment}{\ *\ CMU\ ARPA\ Speech\ Project}}
\DoxyCodeLine{00042\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00043\ \textcolor{comment}{\ *\ Copyright\ (c)\ 1999\ Carnegie\ Mellon\ University.}}
\DoxyCodeLine{00044\ \textcolor{comment}{\ *\ ALL\ RIGHTS\ RESERVED.}}
\DoxyCodeLine{00045\ \textcolor{comment}{\ *\ **********************************************}}
\DoxyCodeLine{00046\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00047\ \textcolor{comment}{\ *\ HISTORY}}
\DoxyCodeLine{00048\ \textcolor{comment}{\ *\ \$Log\$}}
\DoxyCodeLine{00049\ \textcolor{comment}{\ *\ Revision\ 1.1\ \ 2006/04/05\ \ 20:27:30\ \ dhdfu}}
\DoxyCodeLine{00050\ \textcolor{comment}{\ *\ A\ Great\ Reorganzation\ of\ header\ files\ and\ executables}}
\DoxyCodeLine{00051\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00052\ \textcolor{comment}{\ *\ Revision\ 1.17\ \ 2006/02/23\ 03:59:40\ \ arthchan2003}}
\DoxyCodeLine{00053\ \textcolor{comment}{\ *\ Merged\ from\ branch\ SPHINX3\_5\_2\_RCI\_IRII\_BRANCH:\ a,\ Free\ buffers\ correctly.\ b,\ Fixed\ dox-\/doc.}}
\DoxyCodeLine{00054\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00055\ \textcolor{comment}{\ *\ Revision\ 1.16.4.1\ \ 2005/07/05\ 06:25:08\ \ arthchan2003}}
\DoxyCodeLine{00056\ \textcolor{comment}{\ *\ Fixed\ dox-\/doc.}}
\DoxyCodeLine{00057\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00058\ \textcolor{comment}{\ *\ Revision\ 1.16\ \ 2005/06/22\ 03:29:35\ \ arthchan2003}}
\DoxyCodeLine{00059\ \textcolor{comment}{\ *\ Makefile.am\ s\ \ for\ all\ subdirectory\ of\ libs3decoder/}}
\DoxyCodeLine{00060\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00061\ \textcolor{comment}{\ *\ Revision\ 1.5\ \ 2005/06/13\ 04:02:56\ \ archan}}
\DoxyCodeLine{00062\ \textcolor{comment}{\ *\ Fixed\ most\ doxygen-\/style\ documentation\ under\ libs3decoder.}}
\DoxyCodeLine{00063\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00064\ \textcolor{comment}{\ *\ Revision\ 1.4\ \ 2005/04/21\ 23:50:26\ \ archan}}
\DoxyCodeLine{00065\ \textcolor{comment}{\ *\ Some\ more\ refactoring\ on\ the\ how\ reporting\ of\ structures\ inside\ kbcore\_t\ is\ done,\ it\ is\ now\ 50\%\ nice.\ Also\ added\ class-\/based\ LM\ test\ case\ into\ test-\/decode.sh.in.\ \ At\ this\ moment,\ everything\ in\ search\ mode\ 5\ is\ already\ done.\ \ It\ is\ time\ to\ test\ the\ idea\ whether\ the\ search\ can\ really\ be\ used.}}
\DoxyCodeLine{00066\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00067\ \textcolor{comment}{\ *\ Revision\ 1.3\ \ 2005/03/30\ 01:22:46\ \ archan}}
\DoxyCodeLine{00068\ \textcolor{comment}{\ *\ Fixed\ mistakes\ in\ last\ updates.\ Add}}
\DoxyCodeLine{00069\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00070\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00071\ \textcolor{comment}{\ *\ 20.Apr.2001\ \ RAH\ (rhoughton@mediasite.com,\ ricky.houghton@cs.cmu.edu)}}
\DoxyCodeLine{00072\ \textcolor{comment}{\ *\ \ \ \ \ \ \ \ \ \ \ \ \ \ Adding\ feat\_free()\ to\ free\ allocated\ memory}}
\DoxyCodeLine{00073\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00074\ \textcolor{comment}{\ *\ 04-\/Jan-\/1999\ \ M\ K\ Ravishankar\ (rkm@cs.cmu.edu)\ at\ Carnegie\ Mellon\ University}}
\DoxyCodeLine{00075\ \textcolor{comment}{\ *\ \ \ \ \ \ \ \ \ \ \ \ \ \ Started.}}
\DoxyCodeLine{00076\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00077\ }
\DoxyCodeLine{00078\ }
\DoxyCodeLine{00079\ \textcolor{preprocessor}{\#ifndef\ \_S3\_FEAT\_H\_}}
\DoxyCodeLine{00080\ \textcolor{preprocessor}{\#define\ \_S3\_FEAT\_H\_}}
\DoxyCodeLine{00081\ }
\DoxyCodeLine{00082\ \textcolor{preprocessor}{\#include\ <stdio.h>}}
\DoxyCodeLine{00083\ }
\DoxyCodeLine{00084\ \textcolor{comment}{/*\ Win32/WinCE\ DLL\ gunk\ */}}
\DoxyCodeLine{00085\ \textcolor{preprocessor}{\#include\ <sphinxbase/sphinxbase\_export.h>}}
\DoxyCodeLine{00086\ \textcolor{preprocessor}{\#include\ <sphinxbase/prim\_type.h>}}
\DoxyCodeLine{00087\ \textcolor{preprocessor}{\#include\ <sphinxbase/fe.h>}}
\DoxyCodeLine{00088\ \textcolor{preprocessor}{\#include\ <sphinxbase/cmn.h>}}
\DoxyCodeLine{00089\ \textcolor{preprocessor}{\#include\ <sphinxbase/agc.h>}}
\DoxyCodeLine{00090\ }
\DoxyCodeLine{00091\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00092\ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}\ \{}
\DoxyCodeLine{00093\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00094\ \textcolor{preprocessor}{\#if\ 0}}
\DoxyCodeLine{00095\ \textcolor{comment}{/*\ Fool\ Emacs.\ */}}
\DoxyCodeLine{00096\ \}}
\DoxyCodeLine{00097\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00098\ }
\DoxyCodeLine{00102\ \textcolor{preprocessor}{\#define\ LIVEBUFBLOCKSIZE\ \ \ \ \ \ \ \ 256\ \ \ \ }}
\DoxyCodeLine{00104\ \textcolor{preprocessor}{\#define\ S3\_MAX\_FRAMES\ \ \ \ \ \ \ \ \ \ \ 15000\ \ \ \ }\textcolor{comment}{/*\ RAH,\ I\ believe\ this\ is\ still\ too\ large,\ but\ better\ than\ before\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00105\ }
\DoxyCodeLine{00106\ \textcolor{preprocessor}{\#define\ cepstral\_to\_feature\_command\_line\_macro()\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00107\ \textcolor{preprocessor}{\{\ "{}-\/feat"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00108\ \textcolor{preprocessor}{\ \ \ \ \ \ ARG\_STRING,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00109\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}1s\_c\_d\_dd"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00110\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}Feature\ stream\ type,\ depends\ on\ the\ acoustic\ model"{}\ \},\ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00111\ \textcolor{preprocessor}{\{\ "{}-\/ceplen"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00112\ \textcolor{preprocessor}{\ \ \ \ \ \ ARG\_INT32,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00113\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}13"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00114\ \textcolor{preprocessor}{\ \ \ \ \ "{}Number\ of\ components\ in\ the\ input\ feature\ vector"{}\ \},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00115\ \textcolor{preprocessor}{\{\ "{}-\/cmn"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00116\ \textcolor{preprocessor}{\ \ \ \ \ \ ARG\_STRING,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00117\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}current"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00118\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}Cepstral\ mean\ normalization\ scheme\ ('current',\ 'prior',\ or\ 'none')"{}\ \},\ \(\backslash\)}}
\DoxyCodeLine{00119\ \textcolor{preprocessor}{\{\ "{}-\/cmninit"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00120\ \textcolor{preprocessor}{\ \ \ \ \ \ ARG\_STRING,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00121\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}8.0"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00122\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}Initial\ values\ (comma-\/separated)\ for\ cepstral\ mean\ when\ 'prior'\ is\ used"{}\ \},\ \(\backslash\)}}
\DoxyCodeLine{00123\ \textcolor{preprocessor}{\{\ "{}-\/varnorm"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00124\ \textcolor{preprocessor}{\ \ \ \ \ \ ARG\_BOOLEAN,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00125\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}no"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00126\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}Variance\ normalize\ each\ utterance\ (only\ if\ CMN\ ==\ current)"{}\ \},\ \ \ \(\backslash\)}}
\DoxyCodeLine{00127\ \textcolor{preprocessor}{\{\ "{}-\/agc"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00128\ \textcolor{preprocessor}{\ \ \ \ \ \ ARG\_STRING,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00129\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}none"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00130\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}Automatic\ gain\ control\ for\ c0\ ('max',\ 'emax',\ 'noise',\ or\ 'none')"{}\ \},\ \(\backslash\)}}
\DoxyCodeLine{00131\ \textcolor{preprocessor}{\{\ "{}-\/agcthresh"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00132\ \textcolor{preprocessor}{\ \ \ \ \ \ ARG\_FLOAT32,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00133\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}2.0"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00134\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}Initial\ threshold\ for\ automatic\ gain\ control"{}\ \},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00135\ \textcolor{preprocessor}{\{\ "{}-\/lda"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00136\ \textcolor{preprocessor}{\ \ \ \ \ \ ARG\_STRING,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00137\ \textcolor{preprocessor}{\ \ \ \ \ \ NULL,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00138\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}File\ containing\ transformation\ matrix\ to\ be\ applied\ to\ features\ (single-\/stream\ features\ only)"{}\ \},\ \(\backslash\)}}
\DoxyCodeLine{00139\ \textcolor{preprocessor}{\{\ "{}-\/ldadim"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00140\ \textcolor{preprocessor}{\ \ \ \ \ \ ARG\_INT32,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00141\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}0"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00142\ \textcolor{preprocessor}{\ \ \ \ \ \ "{}Dimensionality\ of\ output\ of\ feature\ transformation\ (0\ to\ use\ entire\ matrix)"{}\ \},\ \(\backslash\)}}
\DoxyCodeLine{00143\ \textcolor{preprocessor}{\{"{}-\/svspec"{},\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00144\ \textcolor{preprocessor}{\ \ \ \ \ ARG\_STRING,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00145\ \textcolor{preprocessor}{\ \ \ \ \ NULL,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00146\ \textcolor{preprocessor}{\ \ \ \ \ "{}Subvector\ specification\ (e.g.,\ 24,0-\/11/25,12-\/23/26-\/38\ or\ 0-\/12/13-\/25/26-\/38)"{}\}}}
\DoxyCodeLine{00147\ }
\DoxyCodeLine{00155\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }feat\_s\ \{}
\DoxyCodeLine{00156\ \ \ \ \ \textcolor{keywordtype}{int}\ refcount;\ \ \ \ \ \ \ }
\DoxyCodeLine{00157\ \ \ \ \ \textcolor{keywordtype}{char}\ *name;\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00158\ \ \ \ \ int32\ cepsize;\ \ \ \ \ \ \ }
\DoxyCodeLine{00159\ \ \ \ \ int32\ n\_stream;\ \ \ \ \ }
\DoxyCodeLine{00160\ \ \ \ \ uint32\ *stream\_len;\ \ \ \ \ \ \ }
\DoxyCodeLine{00161\ \ \ \ \ int32\ window\_size;\ \ \ \ \ \ \ }
\DoxyCodeLine{00163\ \ \ \ \ int32\ n\_sv;\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00164\ \ \ \ \ uint32\ *sv\_len;\ \ \ \ \ \ }
\DoxyCodeLine{00165\ \ \ \ \ int32\ **subvecs;\ \ \ \ }
\DoxyCodeLine{00166\ \ \ \ \ mfcc\_t\ *sv\_buf;\ \ \ \ \ \ }
\DoxyCodeLine{00167\ \ \ \ \ int32\ sv\_dim;\ \ \ \ \ \ \ }
\DoxyCodeLine{00169\ \ \ \ \ cmn\_type\_t\ cmn;\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00170\ \ \ \ \ int32\ varnorm;\ \ \ \ \ \ \ }
\DoxyCodeLine{00172\ \ \ \ \ agc\_type\_t\ agc;\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00186\ \ \ \ \ void\ (*compute\_feat)(\textcolor{keyword}{struct\ }feat\_s\ *fcb,\ mfcc\_t\ **input,\ mfcc\_t\ **feat);}
\DoxyCodeLine{00187\ \ \ \ \ cmn\_t\ *cmn\_struct;\ \ \ }
\DoxyCodeLine{00189\ \ \ \ \ agc\_t\ *agc\_struct;\ \ \ }
\DoxyCodeLine{00192\ \ \ \ \ mfcc\_t\ **cepbuf;\ \ \ \ }
\DoxyCodeLine{00193\ \ \ \ \ mfcc\_t\ **tmpcepbuf;\ }
\DoxyCodeLine{00194\ \ \ \ \ int32\ \ \ bufpos;\ \ \ \ \ }
\DoxyCodeLine{00195\ \ \ \ \ int32\ \ \ curpos;\ \ \ \ \ }
\DoxyCodeLine{00197\ \ \ \ \ mfcc\_t\ ***lda;\ }
\DoxyCodeLine{00198\ \ \ \ \ uint32\ n\_lda;\ \ \ }
\DoxyCodeLine{00199\ \ \ \ \ uint32\ out\_dim;\ }
\DoxyCodeLine{00200\ \}\ feat\_t;}
\DoxyCodeLine{00201\ }
\DoxyCodeLine{00205\ \textcolor{preprocessor}{\#define\ feat\_name(f)\ \ \ \ \ \ \ \ \ \ \ \ ((f)-\/>name)}}
\DoxyCodeLine{00209\ \textcolor{preprocessor}{\#define\ feat\_cepsize(f)\ \ \ \ \ \ \ \ \ ((f)-\/>cepsize)}}
\DoxyCodeLine{00213\ \textcolor{preprocessor}{\#define\ feat\_window\_size(f)\ \ \ \ \ ((f)-\/>window\_size)}}
\DoxyCodeLine{00219\ \textcolor{preprocessor}{\#define\ feat\_n\_stream(f)\ \ \ \ \ \ \ \ ((f)-\/>n\_stream)}}
\DoxyCodeLine{00225\ \textcolor{preprocessor}{\#define\ feat\_stream\_len(f,i)\ \ \ \ ((f)-\/>stream\_len[i])}}
\DoxyCodeLine{00229\ \textcolor{preprocessor}{\#define\ feat\_dimension1(f)\ \ \ \ \ \ ((f)-\/>n\_sv\ ?\ (f)-\/>n\_sv\ :\ f-\/>n\_stream)}}
\DoxyCodeLine{00233\ \textcolor{preprocessor}{\#define\ feat\_dimension2(f,i)\ \ \ \ ((f)-\/>lda\ ?\ (f)-\/>out\_dim\ :\ ((f)-\/>sv\_len\ ?\ (f)-\/>sv\_len[i]\ :\ f-\/>stream\_len[i]))}}
\DoxyCodeLine{00237\ \textcolor{preprocessor}{\#define\ feat\_dimension(f)\ \ \ \ \ \ \ ((f)-\/>out\_dim)}}
\DoxyCodeLine{00241\ \textcolor{preprocessor}{\#define\ feat\_stream\_lengths(f)\ \ ((f)-\/>lda\ ?\ (\&(f)-\/>out\_dim)\ :\ (f)-\/>sv\_len\ ?\ (f)-\/>sv\_len\ :\ f-\/>stream\_len)}}
\DoxyCodeLine{00242\ }
\DoxyCodeLine{00265\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00266\ int32\ **parse\_subvecs(\textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *str);}
\DoxyCodeLine{00267\ }
\DoxyCodeLine{00271\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00272\ \textcolor{keywordtype}{void}\ subvecs\_free(int32\ **subvecs);}
\DoxyCodeLine{00273\ }
\DoxyCodeLine{00274\ }
\DoxyCodeLine{00287\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00288\ mfcc\_t\ ***feat\_array\_alloc(feat\_t\ *fcb,\ \ \ }
\DoxyCodeLine{00290\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ nfr\ \ \ \ }
\DoxyCodeLine{00291\ \ \ \ \ );}
\DoxyCodeLine{00292\ }
\DoxyCodeLine{00296\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00297\ mfcc\_t\ ***feat\_array\_realloc(feat\_t\ *fcb,\ }
\DoxyCodeLine{00299\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mfcc\_t\ ***old\_feat,\ }
\DoxyCodeLine{00300\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ ofr,\ }
\DoxyCodeLine{00301\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ nfr\ \ }
\DoxyCodeLine{00302\ \ \ \ \ );}
\DoxyCodeLine{00303\ }
\DoxyCodeLine{00307\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00308\ \textcolor{keywordtype}{void}\ feat\_array\_free(mfcc\_t\ ***feat);}
\DoxyCodeLine{00309\ }
\DoxyCodeLine{00310\ }
\DoxyCodeLine{00326\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00327\ feat\_t\ *feat\_init(\textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *type,}
\DoxyCodeLine{00328\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ cmn\_type\_t\ cmn,\ }
\DoxyCodeLine{00331\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ varnorm,\ \ }
\DoxyCodeLine{00334\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ agc\_type\_t\ agc,\ }
\DoxyCodeLine{00336\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ breport,\ }
\DoxyCodeLine{00337\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ cepsize\ \ }
\DoxyCodeLine{00340\ \ \ \ \ );}
\DoxyCodeLine{00341\ }
\DoxyCodeLine{00346\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00347\ int32\ feat\_read\_lda(feat\_t\ *feat,\ \ \ \ \ }
\DoxyCodeLine{00348\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *ldafile,\ }
\DoxyCodeLine{00349\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ dim\ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00350\ \ \ \ \ );}
\DoxyCodeLine{00351\ }
\DoxyCodeLine{00355\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00356\ \textcolor{keywordtype}{void}\ feat\_lda\_transform(feat\_t\ *fcb,\ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00357\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mfcc\_t\ ***inout\_feat,\ \ \ }
\DoxyCodeLine{00358\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ uint32\ nfr\ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00359\ \ \ \ \ );}
\DoxyCodeLine{00360\ }
\DoxyCodeLine{00379\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00380\ \textcolor{keywordtype}{int}\ feat\_set\_subvecs(feat\_t\ *fcb,\ int32\ **subvecs);}
\DoxyCodeLine{00381\ }
\DoxyCodeLine{00385\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00386\ \textcolor{keywordtype}{void}\ feat\_print(feat\_t\ *fcb,\ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00387\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mfcc\_t\ ***feat,\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00388\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ nfr,\ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00389\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ FILE\ *fp\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00390\ \ \ \ \ );}
\DoxyCodeLine{00391\ }
\DoxyCodeLine{00392\ \ \ }
\DoxyCodeLine{00409\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00410\ int32\ feat\_s2mfc2feat(feat\_t\ *fcb,\ }
\DoxyCodeLine{00411\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *file,\ }
\DoxyCodeLine{00412\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *dir,\ \ }
\DoxyCodeLine{00414\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *cepext,}
\DoxyCodeLine{00417\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ sf,\ int32\ ef,\ \ \ \textcolor{comment}{/*\ Start/End\ frames}}
\DoxyCodeLine{00418\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ within\ file\ to\ be\ read.\ Use}}
\DoxyCodeLine{00419\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 0,-\/1\ to\ process\ entire}}
\DoxyCodeLine{00420\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ file\ */}}
\DoxyCodeLine{00421\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mfcc\_t\ ***feat,\ \ \ }
\DoxyCodeLine{00423\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ maxfr\ \ \ \ \ \ \ }
\DoxyCodeLine{00427\ \ \ \ \ );}
\DoxyCodeLine{00428\ }
\DoxyCodeLine{00429\ }
\DoxyCodeLine{00458\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00459\ int32\ feat\_s2mfc2feat\_live(feat\_t\ \ *fcb,\ \ \ \ \ }
\DoxyCodeLine{00460\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mfcc\_t\ **uttcep,\ \ }
\DoxyCodeLine{00461\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ *inout\_ncep,}
\DoxyCodeLine{00463\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ beginutt,\ \ \ }
\DoxyCodeLine{00464\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ endutt,\ \ \ \ \ }
\DoxyCodeLine{00465\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mfcc\_t\ ***ofeat\ \ \ }
\DoxyCodeLine{00468\ \ \ \ \ );}
\DoxyCodeLine{00469\ }
\DoxyCodeLine{00470\ }
\DoxyCodeLine{00476\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00477\ feat\_t\ *feat\_retain(feat\_t\ *f);}
\DoxyCodeLine{00478\ }
\DoxyCodeLine{00484\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00485\ \textcolor{keywordtype}{int}\ feat\_free(feat\_t\ *f\ }
\DoxyCodeLine{00486\ \ \ \ \ );}
\DoxyCodeLine{00487\ }
\DoxyCodeLine{00491\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00492\ \textcolor{keywordtype}{void}\ feat\_report(feat\_t\ *f\ }
\DoxyCodeLine{00493\ \ \ \ \ );}
\DoxyCodeLine{00494\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00495\ \}}
\DoxyCodeLine{00496\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00497\ }
\DoxyCodeLine{00498\ }
\DoxyCodeLine{00499\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
