/external/srec/srec/cfront/ |
D | frontobj.c | 68 static void delete_cep_object(front_cep *cepobj); 69 static void setup_cep_object(front_cep *cepobj, front_parameters *parameters, 71 static void reset_cep_object(front_cep *cepobj); 72 static void clear_cep_object(front_cep *cepobj); 108 config->cepobj = create_cep_object(); in setup_config_object() 112 setup_cep_object(config->cepobj, parameters, config->freqobj->nf, in setup_config_object() 124 clear_cep_object(config->cepobj); in clear_config_object() 130 delete_cep_object(config->cepobj); in clear_config_object() 131 config->cepobj = NULL; in clear_config_object() 163 front_freq *freqobj, front_cep *cepobj) in setup_channel_object() argument [all …]
|
D | cheldsp4.c | 66 static void scale_data(const front_cep *cepobj, const featdata *rpram, featdata *pram1, 69 static void pack_frame(const front_cep *cepobj, featdata *dest_frame, 152 static void scale_data(const front_cep *cepobj, const featdata *rpram, featdata *pram1, in scale_data() argument 160 for (i = 0; i <= cepobj->mel_dim; i++) in scale_data() 163 ASSERT((cepobj->melA_scale[i] *(float)SHIFT_DOWN(cep[i], COSINE_TABLE_SHIFT)) in scale_data() 165 ASSERT((cepobj->melA_scale[i] *(float)SHIFT_DOWN(cep[i], COSINE_TABLE_SHIFT)) in scale_data() 167 a = (bigdata)(SHIFT_DOWN((bigdata)cepobj->melA_scale[i] in scale_data() 169 … + (bigdata)cepobj->melB_scale[i], BYTERANGE_SHIFT + LOG_SCALE_SHIFT)); in scale_data() 173 for (i = 0; i <= cepobj->mel_dim; i++) in scale_data() 175 ASSERT((cepobj->dmelA_scale[i] *(float)rcep[i]) < LONG_MAX); in scale_data() [all …]
|
D | chelfep.c | 47 static featdata smoothed_c0(front_cep *cepobj, front_channel *channel); 51 front_freq *freqobj, front_cep *cepobj, in make_frame() argument 71 filterbank_emulation(channel, waveobj, freqobj, cepobj, in make_frame() 78 cepstrum_params(channel, waveobj, freqobj, cepobj); in make_frame() 81 (void) make_std_frame(channel, cepobj, framdata); in make_frame() 92 if (cepobj->do_smooth_c0) in make_frame() 94 smooth_c0 = smoothed_c0(cepobj, channel); in make_frame() 104 if (cepobj->do_skip_even_frames) in make_frame() 110 static featdata smoothed_c0(front_cep *cepobj, front_channel *channel) in smoothed_c0() argument 128 ASSERT((cepobj->melA_scale[0] *(float)SHIFT_DOWN(val, COSINE_TABLE_SHIFT)) in smoothed_c0() [all …]
|
D | chelmel4.c | 59 static void mel_loglookup_with_offset(front_cep *cepobj, 68 front_freq *freqobj, front_cep *cepobj) in cepstrum_params() argument 72 if (cepobj->mel_loop) in cepstrum_params() 73 mel_spectrum_correction(freqobj->filterbank, cepobj->mel_loop, channel->num_freq); in cepstrum_params() 76 mel_loglookup_with_offset(cepobj, channel); in cepstrum_params() 83 icostrans(cepobj->cs, channel->filterbank, channel->cep, in cepstrum_params() 84 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() 125 static void mel_loglookup_with_offset(front_cep *cepobj, in mel_loglookup_with_offset() argument 135 channel->filterbank[ii] = (cepdata) log_lookup(&cepobj->logtab, in mel_loglookup_with_offset() [all …]
|
D | ca_front.c | 150 hFrontend->config->freqobj, hFrontend->config->cepobj, in CA_MakeFrame() 157 hFrontend->config->cepobj, in CA_MakeFrame() 194 dim = 2 * hFrontend->config->cepobj->mel_dim; in CA_GetFrontendUtteranceDimension() 195 if (hFrontend->config->cepobj->do_dd_mel) in CA_GetFrontendUtteranceDimension() 196 dim += hFrontend->config->cepobj->mel_dim; in CA_GetFrontendUtteranceDimension()
|
D | ca_wave.c | 78 hFrontend->config->cepobj); in CA_ConfigureWave()
|
D | spec_anl.c | 57 front_freq *freqobj, front_cep *cepobj, samdata *income, in filterbank_emulation() argument
|
/external/srec/srec/include/ |
D | front.h | 217 front_cep *cepobj; member 230 front_freq *freqobj, front_cep *cepobj, 242 front_freq *freqobj, front_cep *cepobj, samdata *income, samdata *outgo, 245 front_freq *freqobj, front_cep *cepobj); 246 int make_std_frame(front_channel *channel, front_cep *cepobj, 248 int purge_std_frames(front_channel *channel, front_cep *cepobj, 270 front_freq *freqobj, front_cep *cepobj);
|