Lines Matching refs:channel
60 front_channel *channel);
67 void cepstrum_params(front_channel *channel, front_wave *waveobj,
73 mel_spectrum_correction(freqobj->filterbank, cepobj->mel_loop, channel->num_freq);
76 mel_loglookup_with_offset(cepobj, channel);
79 write_scaled_frames(freqobj->nf, 1, channel->filterbank, D_FIXED, 1 / (float)LOG_SCALE);
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)));
126 front_channel *channel)
132 if (channel->shift > 0)
133 for (ii = 0; ii < channel->num_freq; ii++)
135 channel->filterbank[ii] = (cepdata) log_lookup(&cepobj->logtab,
136 (int)(channel->filterbank[ii] +
137 SHIFT_DOWN(cepobj->mel_offset[ii], channel->shift)),
138 channel->shift);
141 for (ii = 0; ii < channel->num_freq; ii++)
143 channel->filterbank[ii] = (cepdata) log_lookup(&cepobj->logtab,
144 (int)(channel->filterbank[ii] +
145 SHIFT_UP(cepobj->mel_offset[ii], -channel->shift)),
146 channel->shift);