search for: spx_ifft

Displaying 10 results from an estimated 10 matches for "spx_ifft".

Did you mean: spx_fft
2008 Feb 12
0
Patch to get impulse response from echo canceller
...case SPEEX_ECHO_GET_IMPULSE_RESPONSE: + { + int M = st->M, N = st->window_size, n = st->frame_size, i, j; + spx_int32_t *filt = (spx_int32_t *) ptr; + for(j=0;j<M;j++) + { +#ifdef FIXED_POINT + for (i=0;i<N;i++) + st->wtmp2[i] = EXTRACT16(PSHR32(st->W[j*N+i],16)); + spx_ifft(st->fft_table, st->wtmp2, st->wtmp); +#else + spx_ifft(st->fft_table, &st->W[j*N], st->wtmp); +#endif + for(i=0;i<n;i++) + filt[j*n+i] = PSHR32(MULT16_16(32767,st->wtmp[i]), WEIGHT_SHIFT); + } + } + break; default: speex_warning_int("Unknown...
2008 Feb 13
1
Fixed-point scaling of mdf impulse response
...02-13 22:47:44.000000000 +0100 @@ -1180,13 +1180,13 @@ { #ifdef FIXED_POINT for (i=0;i<N;i++) - st->wtmp2[i] = EXTRACT16(PSHR32(st->W[j*N+i],16)); + st->wtmp2[i] = EXTRACT16(PSHR32(st->W[j*N+i],16+NORMALIZE_SCALEDOWN)); spx_ifft(st->fft_table, st->wtmp2, st->wtmp); #else spx_ifft(st->fft_table, &st->W[j*N], st->wtmp); #endif for(i=0;i<n;i++) - filt[j*n+i] = PSHR32(MULT16_16(32767,st->wtmp[i]), WEIGHT_SHIFT); + filt[j*n+i] = PSHR32(MULT16_16...
2010 Nov 12
0
A Probably Bug of TWO_PATH Implementation in Speex1.2rc1 AEC
...1.2rc1 code is like this Dbf = 0; See = 0; #ifdef TWO_PATH /* Difference in response, this is used to estimate the variance of our residual power estimate */ for (chan = 0; chan < C; chan++) { spectral_mul_accum(st->X, st->W+chan*N*K*M, st->Y+chan*N, N, M*K); spx_ifft(st->fft_table, st->Y+chan*N, st->y+chan*N); for (i=0;i<st->frame_size;i++) st->e[chan*N+i] = st->e[chan*N+i+st->frame_size] - st->y[chan*N+i+st->frame_size]; Dbf += 10+mdf_inner_prod(st->e+chan*N, st->e+chan*N, st->frame_size); for (...
2007 Jan 23
1
AEC FFT replacement for TI 55x
...functions. #if defined(OVERRIDE_FFT_INIT) void *spx_fft_init(int size) {}; #endif #if defined(OVERRIDE_FFT_INIT) void spx_fft_destroy(void *table) {}; #endif #if defined(OVERRIDE_FFT_INIT) void spx_fft(void *table, float *in, float *out) {}; #endif #if defined(OVERRIDE_FFT_INIT) void spx_ifft(void *table, float *in, float *out) {}; #endif #endif
2007 Mar 08
4
Introduction and patch
Hi, I'm one of the people working on the Rockbox project (http://www.rockbox.org) which is an open source alternative firmware for a range Digital Audio Players. Recently we integrated support for the Speex codec using libspeex and seems to work well. If you could add Rockbox to your list of software that supports Speex, that'd be great. So that's the introduction done. Now for
2007 Jan 22
0
Re: AEC FFT replacement for TI 55x
...void *spx_fft_init(int size) {}; > #endif > #if defined(OVERRIDE_FFT_INIT) > void spx_fft_destroy(void *table) {}; > #endif > #if defined(OVERRIDE_FFT_INIT) > void spx_fft(void *table, float *in, float *out) {}; > #endif > #if defined(OVERRIDE_FFT_INIT) > void spx_ifft(void *table, float *in, float *out) {}; > #endif > #endif > > >
2007 Mar 08
0
Introduction and patch
...shift; > struct kiss_config *t = (struct kiss_config *)table; > shift = maximize_range(in, in, 32000, t->N); > @@ -188,9 +187,10 @@ > } > #endif > > +void kiss_fftri2(kiss_fftr_cfg cfg,const kiss_fft_scalar *freqdata,kiss_fft_scalar *timedata); > + > void spx_ifft(void *table, spx_word16_t *in, spx_word16_t *out) > { > - int i; > struct kiss_config *t = (struct kiss_config *)table; > kiss_fftri2(t->backward, in, out); > } > diff -bu ../../../speex/libspeex/jitter.c libspeex/jitter.c > --- ../../../speex/libspeex/jitter.c 2...
2007 Jan 04
3
Speex support for TI DaVinci processor
Thanks Jean-Marc. Is there a Speex trunk for the C64xx I can use? Or do I have to figure what options to turn on (in configure) when building the library? Thanks. Regards, Andy Ngo ----- Original Message ---- From: Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> To: ndno72-speex@yahoo.com Cc: jtrantow@ieee.org; speex-dev@xiph.org Sent: Tuesday, December 5, 2006 2:52:02 PM Subject:
2008 Mar 29
0
GCC/ELF Visibility patch
...eex_echo_state_destroy T speex_echo_state_init @@ -73,16 +57,6 @@ T speex_resampler_set_rate_frac T speex_resampler_skip_zeros T speex_resampler_strerror -T spx_drft_backward -T spx_drft_clear -T spx_drft_forward -T spx_drft_init -T spx_fft -T spx_fft_destroy -T spx_fft_float -T spx_fft_init -T spx_ifft -T spx_ifft_float U atan U calloc U cos
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...eex_echo_state_destroy T speex_echo_state_init @@ -73,16 +57,6 @@ T speex_resampler_set_rate_frac T speex_resampler_skip_zeros T speex_resampler_strerror -T spx_drft_backward -T spx_drft_clear -T spx_drft_forward -T spx_drft_init -T spx_fft -T spx_fft_destroy -T spx_fft_float -T spx_fft_init -T spx_ifft -T spx_ifft_float U atan U calloc U cos