Home
last modified time | relevance | path

Searched refs:mel_dim (Results 1 – 15 of 15) sorted by relevance

/external/srec/srec/cfront/
Dcheldsp4.c63 int mel_dim);
65 int mel_dim);
76 int mel_dim) in regress() argument
96 cpt = cp_buf + (d - 1) * (mel_dim + 1); in regress()
97 for (i = 0; i <= mel_dim; i++, cpt++) in regress()
98 …rg[i] = (cepdata) SHIFT_DOWN((*cpt - *(cpt + mel_dim + 1)), 1 + COSINE_TABLE_SHIFT); /* Shift doe… in regress()
102 for (i = 0; i <= mel_dim; i++) in regress()
106 for (j = 0; j < Q2; j++, cpt += (mel_dim + 1)) in regress()
114 void dd_regress(cepdata *dd, const cepdata *cp_buf, unsigned short frmind, int mel_dim) in dd_regress() argument
125 cpt = cp_buf + (mel_dim + 1); in dd_regress()
[all …]
Dfrontobj.c63 static void setup_freq_object(front_freq *freqobj, front_parameters *parameters, int mel_dim);
70 size_t num_fb, size_t mel_dim);
111 setup_freq_object(config->freqobj, parameters, parameters->mel_dim); in setup_config_object()
113 parameters->mel_dim); in setup_config_object()
183 channel->mel_dim = cepobj->mel_dim; in setup_channel_object()
184 channel->cep = (cepdata *) CALLOC((Q2 + 1) * (channel->mel_dim + 1), in setup_channel_object()
186 channel->rasta = (cepdata *) CALLOC((channel->mel_dim + 1), in setup_channel_object()
188 channel->framdata = (featdata *) CALLOC(3 * (channel->mel_dim + 1), in setup_channel_object()
255 memset(channel->cep, 0x00, Q2 *(channel->mel_dim + 1) * sizeof(float)); in reset_channel_object()
260 for (ii = 0; ii <= channel->mel_dim; ii++) in reset_channel_object()
[all …]
Dca_cms.c112 hFrontArgs->mel_dim * 3, /* TODO: find appropriate number */ in CA_LoadCMSParameters()
114 hFrontArgs->mel_dim, in CA_LoadCMSParameters()
117 hWave->data.channel->mel_dim = hFrontArgs->mel_dim; /* TODO: more checks */ in CA_LoadCMSParameters()
135 int dim = hWave->data.channel->mel_dim * 3; in CA_ClearCMSParameters()
137 int dim = hWave->data.channel->mel_dim; in CA_ClearCMSParameters()
176 hUtt->data.gen_utt.num_chan = 3 * hWave->data.channel->mel_dim; in CA_AttachCMStoUtterance()
178 hUtt->data.gen_utt.num_chan = hWave->data.channel->mel_dim; in CA_AttachCMStoUtterance()
243 hWave->data.channel->mel_dim * 3); in CA_CalculateCMSParameters()
245 hWave->data.channel->mel_dim); in CA_CalculateCMSParameters()
Dchelfep.c62 MEMMOVE(channel->cep + (channel->mel_dim + 1), channel->cep, in make_frame()
63 (Q2 - 1) *(channel->mel_dim + 1), sizeof(float)); in make_frame()
117 val = channel->cep[DELTA * (channel->mel_dim+1)]; in smoothed_c0()
120 val = (channel->cep[(DELTA-1) * (channel->mel_dim+1)] >> 2) in smoothed_c0()
121 + (channel->cep[DELTA * (channel->mel_dim+1)] >> 1) in smoothed_c0()
122 + (channel->cep[(DELTA+1) * (channel->mel_dim+1)] >> 2); in smoothed_c0()
Dchelmel4.c84 channel->num_freq, cepobj->mel_dim); in cepstrum_params()
88 …write_scaled_frames((cepobj->mel_dim + 1), 1, channel->cep, D_FIXED, (float)1 / (0x01 << (LOG_SCAL… in cepstrum_params()
Dca_front.c194 dim = 2 * hFrontend->config->cepobj->mel_dim; in CA_GetFrontendUtteranceDimension()
196 dim += hFrontend->config->cepobj->mel_dim; in CA_GetFrontendUtteranceDimension()
Dspec_anl.c63 MEMMOVE(channel->cep + (channel->mel_dim + 1), channel->cep, in filterbank_emulation()
64 (Q2 - 1) *(channel->mel_dim + 1), sizeof(cepdata)); in filterbank_emulation()
/external/srec/srec/ca/
Dutt_basi.c76 …init_utterance(&hUtt->data, LIVE_INPUT, 3*hFrontPar->mel_dim, /* TODO: change to proper function … in CA_InitUtteranceForFrontend()
78 hFrontPar->mel_dim, 1); in CA_InitUtteranceForFrontend()
/external/srec/srec/include/
Dfront.h84 size_t mel_dim; member
186 size_t mel_dim; member
Dfrontpar.h34 int mel_dim; member
Dpre_desc.h194 int mel_dim; member
/external/srec/config/en.us/
Dbaseline.par50 CREC.Frontend.mel_dim = 12 ;
Dbaseline8k.par56 CREC.Frontend.mel_dim = 12 ;
Dbaseline11k.par54 CREC.Frontend.mel_dim = 12 ;
/external/srec/srec/Recognizer/src/
DRecognizerImpl.c375 CHKLOG(rc, ESR_SessionGetInt("CREC.Frontend.mel_dim", &params->mel_dim)); in SR_RecognizerGetFrontendLegacyParametersImpl()