/external/srec/srec/cfront/ |
H A D | chelfep.c | 47 static featdata smoothed_c0(front_cep *cepobj, front_channel *channel); 51 front_freq *freqobj, front_cep *cepobj, 71 filterbank_emulation(channel, waveobj, freqobj, cepobj, 78 cepstrum_params(channel, waveobj, freqobj, cepobj); 81 (void) make_std_frame(channel, cepobj, framdata); 92 if (cepobj->do_smooth_c0) 94 smooth_c0 = smoothed_c0(cepobj, channel); 104 if (cepobj->do_skip_even_frames) 110 static featdata smoothed_c0(front_cep *cepobj, front_channel *channel) argument 128 ASSERT((cepobj 50 make_frame(front_channel *channel, front_wave *waveobj, front_freq *freqobj, front_cep *cepobj, voicing_info *voice, samdata *inFramesWorth, samdata *refFramesWorth, int num_samples, featdata *framdata, featdata *voicedata) argument [all...] |
H A D | chelmel4.c | 59 static void mel_loglookup_with_offset(front_cep *cepobj, 68 front_freq *freqobj, front_cep *cepobj) 72 if (cepobj->mel_loop) 73 mel_spectrum_correction(freqobj->filterbank, cepobj->mel_loop, channel->num_freq); 76 mel_loglookup_with_offset(cepobj, channel); 83 icostrans(cepobj->cs, channel->filterbank, channel->cep, 84 channel->num_freq, cepobj->mel_dim); 88 write_scaled_frames((cepobj->mel_dim + 1), 1, channel->cep, D_FIXED, (float)1 / (0x01 << (LOG_SCALE_SHIFT + COSINE_TABLE_SHIFT))); 125 static void mel_loglookup_with_offset(front_cep *cepobj, argument 135 channel->filterbank[ii] = (cepdata) log_lookup(&cepobj 67 cepstrum_params(front_channel *channel, front_wave *waveobj, front_freq *freqobj, front_cep *cepobj) argument [all...] |
H A 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, argument 160 for (i = 0; i <= cepobj->mel_dim; i++) 163 ASSERT((cepobj->melA_scale[i] *(float)SHIFT_DOWN(cep[i], COSINE_TABLE_SHIFT)) 165 ASSERT((cepobj->melA_scale[i] *(float)SHIFT_DOWN(cep[i], COSINE_TABLE_SHIFT)) 167 a = (bigdata)(SHIFT_DOWN((bigdata)cepobj->melA_scale[i] 169 + (bigdata)cepobj->melB_scale[i], BYTERANGE_SHIFT + LOG_SCALE_SHIFT)); 173 for (i = 0; i <= cepobj->mel_dim; i++) 175 ASSERT((cepobj 195 pack_frame(const front_cep *cepobj, featdata *dest_frame, const featdata *rasta_data, const featdata *mel_data, const featdata *del_data, const featdata *deldel_data) argument 222 make_std_frame(front_channel *channel, front_cep *cepobj, featdata *hFrame) argument [all...] |
H A 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(); 112 setup_cep_object(config->cepobj, parameters, config->freqobj->nf, 124 clear_cep_object(config->cepobj); 130 delete_cep_object(config->cepobj); 131 config->cepobj = NULL; 163 front_freq *freqobj, front_cep *cepobj) 161 setup_channel_object( front_channel *channel, front_wave *waveobj, front_freq *freqobj, front_cep *cepobj) argument 535 front_cep *cepobj; local 541 delete_cep_object(front_cep *cepobj) argument 548 setup_cep_object(front_cep *cepobj, front_parameters *parameters, size_t num_fb, size_t mel_dim) argument 641 reset_cep_object(front_cep *cepobj) argument 648 clear_cep_object(front_cep *cepobj) argument [all...] |
H A D | spec_anl.c | 57 front_freq *freqobj, front_cep *cepobj, samdata *income, 56 filterbank_emulation(front_channel * channel, front_wave *waveobj, front_freq *freqobj, front_cep *cepobj, samdata *income, samdata *outgo, int num_samples) argument
|
/external/srec/srec/include/ |
H A D | front.h | 217 front_cep *cepobj; member in struct:__anon11067 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);
|