Home
last modified time | relevance | path

Searched refs:prdata (Results 1 – 8 of 8) sorted by relevance

/external/srec/srec/include/
Dpre_desc.h68 prdata multable_factor; /* euclidean to multable */
69 prdata multable_factor_gaussian; /* euclidean to multable */
70 prdata grand_mod_cov; /* grand covariance modulus */
71 prdata grand_mod_cov_gaussian; /* grand covariance modulus */
80 const prdata *table;
81 prdata add_log_limit;
82 prdata scale; /* X - scale to log function */
83 prdata inv_scale;
147 prdata seq_sq_sum; /* sum of the squared of frames */
148 prdata seq_sq_sum_whole; /* sum of the squared of frames, for wholeword */
[all …]
Dhmm_type.h35 typedef int prdata; /* for observation probabilities */ typedef
Dsimapi.h117 prdata imelda_scale;
/external/srec/srec/crec/
Dget_fram.c118 prep->add.scale = (prdata)((2 * imelda_scale * imelda_scale) / MUL_SCALE in init_preprocessed()
119 + 0.5) - (prdata)0.5; in init_preprocessed()
120 prep->add.inv_scale = (prdata)(((float)(0x01 << 12) * MUL_SCALE) / in init_preprocessed()
122 (prdata)0.5; in init_preprocessed()
124 prep->mul.multable_factor = (prdata)(((MUL_SCALE * (0x01 << EUCLID_SHIFT) in init_preprocessed()
128 - (prdata)0.5; in init_preprocessed()
129 prep->mul.grand_mod_cov = (prdata)((MUL_SCALE * prep->uni_score_scale * in init_preprocessed()
133 - (prdata)0.5 - prep->uni_score_offset; in init_preprocessed()
134 prep->mul.grand_mod_cov_gaussian = (prdata)(2 * imelda_scale * imelda_scale * in init_preprocessed()
138 - (prdata)0.5; in init_preprocessed()
[all …]
/external/srec/srec/clib/
Dlog_add.c44 static const prdata logtab__table[3125] = { 271, 270, 270, 269, 269, 268, 268, 267, 267, 266, 266, …
54 logtab->add_log_limit = (prdata)(ADD_LOG_LIMIT * mul_scale * logtab->scale); in create_lookup_logadd()
58 prdata* table = (prdata *) CALLOC(logtab->add_log_limit + 2, sizeof(prdata), "clib.logadd"); in create_lookup_logadd()
66 table[ii] = (prdata)(logtab->scale * mul_scale * log(1 in create_lookup_logadd()
Dlog_add.h23 static PINLINE prdata log_increment_inline(prdata ival, const logadd_table_info *logtab);
25 static PINLINE prdata log_increment_inline(prdata ival, const logadd_table_info *logtab) in log_increment_inline()
Dswimodel.c407 static PINLINE prdata Gaussian_Grand_Density_Swimodel(const preprocessed *data, const featdata *mea… in Gaussian_Grand_Density_Swimodel()
413 prdata pval; in Gaussian_Grand_Density_Swimodel()
414 prdata diff; in Gaussian_Grand_Density_Swimodel()
441 prdata pval, gval; in mixture_diagonal_gaussian_swimodel()
443 prdata dval; in mixture_diagonal_gaussian_swimodel()
450 pval = -(prdata) MAX_LOG; in mixture_diagonal_gaussian_swimodel()
457 gval = ((prdata) * (weightptr++) * prep->add.scale in mixture_diagonal_gaussian_swimodel()
/external/srec/srec/ca/
Dpat_basi.c112 hPattern->data.prep->mix_score_scale = (prdata)(128 * hPatInput->mix_score_scale + 0.5) in CA_LoadPattern()
113 - (prdata)0.5; in CA_LoadPattern()
114 hPattern->data.prep->uni_score_scale = (prdata)(128 * hPatInput->uni_score_scale + 0.5) in CA_LoadPattern()
115 - (prdata)0.5; in CA_LoadPattern()
116 hPattern->data.prep->uni_score_offset = (prdata) hPatInput->uni_score_offset; in CA_LoadPattern()
117 hPattern->data.prep->imelda_scale = (prdata)hPatInput->imelda_scale; in CA_LoadPattern()
154 (prdata)(WEIGHT_SCALE * exp((double)(0x01 << WT_ADJUST) * in CA_LoadPattern()
156 0.5) - (prdata)0.5; in CA_LoadPattern()