Home | History | Annotate | Download | only in libspeex

Lines Matching defs:out

30    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
45 static int maximize_range(spx_word16_t *in, spx_word16_t *out, spx_word16_t bound, int len)
64 out[i] = SHL16(in[i], shift);
69 static void renorm_range(spx_word16_t *in, spx_word16_t *out, int shift, int len)
74 out[i] = PSHR16(in[i], shift);
98 void spx_fft(void *table, float *in, float *out)
100 if (in==out)
106 out[i] = scale*in[i];
111 out[i] = scale*in[i];
113 spx_drft_forward((struct drft_lookup *)table, out);
116 void spx_ifft(void *table, float *in, float *out)
118 if (in==out)
124 out[i] = in[i];
126 spx_drft_backward((struct drft_lookup *)table, out);
156 void spx_fft(void *table, spx_word16_t *in, spx_word16_t *out)
159 DftiComputeForward(t->desc, in, out);
162 void spx_ifft(void *table, spx_word16_t *in, spx_word16_t *out)
165 DftiComputeBackward(t->desc, in, out);
174 float *out;
184 table->out = fftwf_malloc(sizeof(float) * (size+2));
186 table->fft = fftwf_plan_dft_r2c_1d(size, table->in, (fftwf_complex *) table->out, FFTW_PATIENT);
187 table->ifft = fftwf_plan_dft_c2r_1d(size, (fftwf_complex *) table->in, table->out, FFTW_PATIENT);
199 fftwf_free(t->out);
204 void spx_fft(void *table, spx_word16_t *in, spx_word16_t *out)
210 float *optr = t->out;
217 out[0] = optr[0];
219 out[i] = optr[i+1];
222 void spx_ifft(void *table, spx_word16_t *in, spx_word16_t *out)
228 float *optr = t->out;
239 out[i] = optr[i];
273 void spx_fft(void *table, spx_word16_t *in, spx_word16_t *out)
278 kiss_fftr2(t->forward, in, out);
280 renorm_range(out, out, shift, t->N);
285 void spx_fft(void *table, spx_word16_t *in, spx_word16_t *out)
291 kiss_fftr2(t->forward, in, out);
293 out[i] *= scale;
297 void spx_ifft(void *table, spx_word16_t *in, spx_word16_t *out)
300 kiss_fftri2(t->backward, in, out);
315 void spx_fft_float(void *table, float *in, float *out)
335 out[i] = _out[i];
344 out[i] = scale*in[i];
345 spx_drft_forward(&t, out);
351 void spx_ifft_float(void *table, float *in, float *out)
371 out[i] = _out[i];
379 out[i] = in[i];
380 spx_drft_backward(&t, out);
388 void spx_fft_float(void *table, float *in, float *out)
390 spx_fft(table, in, out);
392 void spx_ifft_float(void *table, float *in, float *out)
394 spx_ifft(table, in, out);