• Home
  • Raw
  • Download

Lines Matching refs:fftdata

54 static void hamming_window(fftdata *ham, int win_len);
170 channel->prebuff = (fftdata *) CALLOC(freqobj->window_length + 1, in setup_channel_object()
171 sizeof(fftdata), "cfront.prebuff"); in setup_channel_object()
172 channel->prerefbuff = (fftdata *) CALLOC(freqobj->window_length + 1, in setup_channel_object()
173 sizeof(fftdata), "cfront.prerefbuff"); in setup_channel_object()
256 memset(channel->prebuff, 0x00, channel->buff_size * sizeof(fftdata)); in reset_channel_object()
257 memset(channel->prerefbuff, 0x00, channel->buff_size * sizeof(fftdata)); in reset_channel_object()
396 freqobj->peakpickup = (fftdata) fixed_point_convert(t, COEFDATA_SHIFT); in setup_freq_object()
400 freqobj->peakpickdown = (fftdata) fixed_point_convert(t, COEFDATA_SHIFT); in setup_freq_object()
413 freqobj->fc[-1] = (fftdata) freqobj->low_cut; /* 1st channel at cutoff */ in setup_freq_object()
416 freqobj->fc[freqobj->nf] = (fftdata)(100 * i); /* 100 Hz */ in setup_freq_object()
420 freqobj->fc[freqobj->nf] = (fftdata) fixed_round(f); /* 10 % */ in setup_freq_object()
426 freqobj->fc[freqobj->nf] = (fftdata) high_cut; in setup_freq_object()
427 freqobj->fc[freqobj->nf+1] = (fftdata) high_cut; in setup_freq_object()
440 freqobj->fcscl[i+1] = (fftdata) 0.0; in setup_freq_object()
444 …freqobj->framp[j] = (fftdata) fixed_point_convert(t, RAMP_SHIFT); /* scale it up by 12 bits, (16 -… in setup_freq_object()
445 …freqobj->fcscl[i] += (fftdata) SHIFT_UP(1, RAMP_SHIFT) - freqobj->framp[j]; /* scale it up by 1… in setup_freq_object()
468 freqobj->ham = (fftdata *) CALLOC(freqobj->window_length + 1, in setup_freq_object()
469 sizeof(fftdata), "cfront.ham"); in setup_freq_object()
490 static void hamming_window(fftdata *ham, int win_len) in hamming_window()
502 ham[i] = (fftdata) fixed_point_convert((float)coef, in hamming_window()