#include <hmm_calc.h>
Collaboration diagram for __hmmwork__:

Data Fields | |
| LOGPROB(* | calc_outprob )(struct __hmmwork__ *) |
| Function to compute output probability with/without code book level cache. | |
| LOGPROB(* | calc_outprob_state )(struct __hmmwork__ *) |
| Function to compute state output with/without GMS support. | |
| void(* | compute_gaussset )(struct __hmmwork__ *, HTK_HMM_Dens **g, int num, int *last_id, int lnum) |
| Pruning function to compute likelihood of a mixture component. | |
| boolean(* | compute_gaussset_init )(struct __hmmwork__ *) |
| Initialization function that corresponds to compute_gaussset. | |
| void(* | compute_gaussset_free )(struct __hmmwork__ *) |
| Function to Free above. | |
| HTK_HMM_INFO * | OP_hmminfo |
| Current HMM definition data. | |
| HTK_HMM_INFO * | OP_gshmm |
| Current GMS HMM data. | |
| HTK_Param * | OP_param |
| Current parameter. | |
| int | OP_gprune_num |
| Current number of computed mixtures for pruning. | |
| int | OP_time |
| Current time. | |
| int | OP_last_time |
| last time | |
| HTK_HMM_State * | OP_state |
| Current state. | |
| int | OP_state_id |
| Current state ID. | |
| short | OP_nstream |
| Number of input stream (copy from header). | |
| VECT * | OP_vec_stream [MAXSTREAMNUM] |
| input vector for each stream at current frame | |
| short | OP_veclen_stream [MAXSTREAMNUM] |
| vector length for each stream | |
| VECT * | OP_vec |
| Current input vector to be computed. | |
| short | OP_veclen |
| Current vector length to be computed. | |
| int | OP_calced_maxnum |
| Allocated length of below. | |
| LOGPROB * | OP_calced_score |
| Scores of computed mixtures. | |
| int * | OP_calced_id |
| IDs of computed mixtures. | |
| int | OP_calced_num |
| Number of computed mixtures. | |
| int | statenum |
| Local work area that holds total number of HMM states in the HMM definition data. | |
| LOGPROB ** | outprob_cache |
| State-level cache [t][stateid]. | |
| int | outprob_allocframenum |
| Allocated frames of the cache. | |
| BMALLOC_BASE * | croot |
| Root alloc pointer to state outprob cache. | |
| LOGPROB * | last_cache |
| Local work are to hold cache list of current time. | |
| MIXCACHE *** | mixture_cache |
| Codebook cache: [time][book_id][0..computed_mixture_num]. | |
| short ** | mixture_cache_num |
| Num of mixtures to be calculated and stored in mixture_cache. | |
| BMALLOC_BASE * | mroot |
| Root alloc pointer to state outprob cache. | |
| int * | tmix_last_id |
| List of computed mixture id on the previous input frame. | |
| int | tmix_allocframenum |
| Allocated frame length of codebook cache. | |
| boolean * | mixcalced |
| Mark which Gaussian has been computed. | |
| LOGPROB * | dimthres |
| Threshold for each dimension (inversed). | |
| int | dimthres_num |
| Length of above. | |
| LOGPROB * | backmax |
| Backward sum of max for each dimension (inversed). | |
| int | backmax_num |
| Length of above. | |
| LOGPROB * | cd_nbest_maxprobs |
| Work area that holds N-best state scores for pseudo state set. | |
| int | cd_nbest_maxn |
| Allocated length of above. | |
| int | my_nbest |
| Number of states to be selected. | |
| int | gms_allocframenum |
| Allocated number of frame for storing fallback scores per frame. | |
| GS_SET * | gsset |
| Set of GS states. | |
| int | gsset_num |
| Num of above. | |
| int * | state2gs |
| Mapping from triphone state id to gs id. | |
| boolean * | gms_is_selected |
| TRUE if the frame is already selected. | |
| LOGPROB ** | fallback_score |
| [t][gssetid], LOG_ZERO if selected | |
| int * | gsindex |
| Index buffer. | |
| LOGPROB * | t_fs |
| Current fallback_score. | |
| int ** | gms_last_max_id_list |
| maximum mixture id of last call for each states | |
Definition at line 65 of file hmm_calc.h.
1.5.1