Home
last modified time | relevance | path

Searched refs:fftdata (Results 1 – 7 of 7) sorted by relevance

/external/srec/srec/cfront/
Dspec_anl.c46 void peakpick(front_freq *freqobj, fftdata *density, int num_freq);
47 void magsq(fftdata *x, fftdata *y, fftdata *z, int ns);
49 void preemph(fftdata *data, int window_len, samdata *wav_data,
52 void filtbank(front_freq *freqobj, fftdata *density, cepdata *fbo);
143 void preemph(fftdata *data, int window_len, samdata *wav_data, in preemph()
162 sizeof(fftdata)); in preemph()
170 data[i] = (fftdata) wav_data[i]; in preemph()
179 data[i] = (fftdata)(SHIFT_DOWN(temp - (*last_sample), COEFDATA_SHIFT)); in preemph()
186 void magsq(fftdata *x, fftdata *y, fftdata *z, int ns) in magsq()
195 z[0] = (fftdata)((bigdata)x[0] * (bigdata)x[0]); in magsq()
[all …]
Dsp_fft.c93 fftdata c, fftdata d, in complex_multiplier()
94 fftdata* real, fftdata* imag) in complex_multiplier()
108 static PINLINE int data_bits(const int length, fftdata data[]) in data_bits()
358 static PINLINE void four_point_fft1(fftdata* data) in four_point_fft1()
360 fftdata r0, r1, r2; in four_point_fft1()
406 static PINLINE void two_point_fft1(fftdata* data) in two_point_fft1()
408 fftdata r0, r1; in two_point_fft1()
425 fftdata* data) in comp_L_butterfly1()
428 fftdata r0, r1, r2, r3, i0, i1, i2, i3; in comp_L_butterfly1()
481 void do_fft1(srfft* pthis, unsigned length2, fftdata* data) in do_fft1()
[all …]
Dfrontobj.c54 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()
[all …]
/external/srec/srec/include/
Dsp_fft.h189 typedef fftdata trigonomydata;
220 fftdata *real;
221 fftdata *imag;
271 void do_real_fft(srfft* pthis, unsigned length, fftdata* data);
291 void do_real_ifft(srfft* pthis, unsigned length, fftdata* data);
Dfront.h90 fftdata *prebuff; /* buffer for preemphasised data */
91 fftdata *prerefbuff; /* buffer for preemphasised data outgoing */
163 fftdata peakpickup;
164 fftdata peakpickdown;
167 fftdata fcb[NF];
168 fftdata *fc;
170 fftdata fcscl[NF+1], framp[NP+1];
171 fftdata *ham;
Dfft.h40 int place_sample_data(fft_info *fft, fftdata *seq, fftdata *smooth, int num);
Dfronttyp.h26 typedef int fftdata; /* TODO: Swap in fixed point datatype when working */ typedef