Searched refs:fft (Results 1 - 25 of 69) sorted by relevance

123

/external/srec/srec/include/
H A Dfft.h2 * fft.h *
36 int fft_perform_and_magsq(fft_info *fft);
37 void do_magsq(fft_info *fft);
39 void configure_fft(fft_info *fft, int size);
40 int place_sample_data(fft_info *fft, fftdata *seq, fftdata *smooth, int num);
41 void unconfigure_fft(fft_info *fft);
/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/
H A Dgensig.c28 * is saved in |x| with the corresponding FFT in |fft|. The size of
37 struct ComplexFloat* fft,
55 fft[0].Re = signal_value * size;
56 fft[0].Im = real_only ? 0 : signal_value * size;
59 fft[k].Re = fft[k].Im = 0;
75 fft[0].Re = factor * size * (size + 1) / 2;
76 fft[0].Im = 0;
80 fft[k].Re = factor * -size / 2;
81 fft[
36 GenerateTestSignalAndFFT(struct ComplexFloat* x, struct ComplexFloat* fft, int size, int signal_type, float signal_value, int real_only) argument
[all...]
H A Dgensig.h29 struct ComplexFloat* fft,
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
H A Dreal_fft_unittest.cc46 RealFFT* fft = WebRtcSpl_CreateRealFFT(11); local
47 EXPECT_TRUE(fft == NULL);
48 fft = WebRtcSpl_CreateRealFFT(-1);
49 EXPECT_TRUE(fft == NULL);
68 RealFFT* fft = WebRtcSpl_CreateRealFFT(kOrder); local
69 EXPECT_TRUE(fft != NULL);
70 EXPECT_EQ(0, WebRtcSpl_RealForwardFFT(fft, real_fft_time, real_fft_freq));
89 int real_scale = WebRtcSpl_RealInverseFFT(fft, real_fft_freq, real_fft_time);
104 WebRtcSpl_FreeRealFFT(fft);
/external/eigen/unsupported/test/
H A DFFTW.cpp85 FFT<T> fft; local
93 fft.SetFlag(fft.HalfSpectrum );
94 fft.fwd( freqBuf,tbuf);
98 fft.ClearFlag(fft.HalfSpectrum );
99 fft.fwd( freqBuf,tbuf);
107 fft.inv( tbuf2 , freqBuf);
113 fft.SetFlag(fft
146 FFT<T> fft; local
217 FFT<float> fft; local
[all...]
/external/eigen/bench/
H A DbenchFFT.cpp51 FFT< Scalar > fft; local
54 fft.SetFlag(fft.Unscaled);
58 fft.SetFlag(fft.HalfSpectrum);
64 fft.fwd( outbuf , inbuf);
72 fft.fwd( outbuf , inbuf);
75 fft.inv(inbuf,outbuf);
/external/webrtc/src/modules/audio_processing/aecm/
H A Daecm_core_neon.c37 static void WindowAndFFTNeon(WebRtc_Word16* fft, argument
52 // fft[j] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT((time_signal[i]
61 __asm__("vst2.16 {d20, d21}, [%0, :128]" : : "r"(&fft[j]) : "q10");
63 // fft[PART_LEN2 + j] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(
73 __asm__("vst2.16 {d20, d21}, [%0, :128]" : : "r"(&fft[PART_LEN2 + j]) : "q10");
76 WebRtcSpl_ComplexBitReverse(fft, PART_LEN_SHIFT);
77 WebRtcSpl_ComplexFFT(fft, PART_LEN_SHIFT, 1);
81 __asm__("vld2.16 {d20, d21, d22, d23}, [%0, :256]" : : "r"(&fft[j]) : "q10", "q11");
90 WebRtc_Word16* fft,
99 // We overwrite two more elements in fft[], bu
89 InverseFFTAndWindowNeon(AecmCore_t* aecm, WebRtc_Word16* fft, complex16_t* efw, WebRtc_Word16* output, const WebRtc_Word16* nearendClean) argument
[all...]
H A Daecm_core.c361 static void WindowAndFFTC(WebRtc_Word16* fft, argument
368 memset(fft, 0, sizeof(WebRtc_Word16) * PART_LEN4);
373 // transformation array |fft|
374 fft[j] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(
378 fft[PART_LEN2 + j] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(
386 WebRtcSpl_ComplexBitReverse(fft, PART_LEN_SHIFT);
387 WebRtcSpl_ComplexFFT(fft, PART_LEN_SHIFT, 1);
392 freq_signal[i].real = fft[j];
395 freq_signal[i].imag = - fft[j+1];
400 WebRtc_Word16* fft,
399 InverseFFTAndWindowC(AecmCore_t* aecm, WebRtc_Word16* fft, complex16_t* efw, WebRtc_Word16* output, const WebRtc_Word16* nearendClean) argument
1394 WebRtc_Word16 *fft = (WebRtc_Word16 *) (((uintptr_t) fft_buf + 31) & ~31); local
1532 WebRtc_Word16* fft = (WebRtc_Word16*) (((uintptr_t) fft_buf + 31) & ~ 31); local
[all...]
/external/srec/srec/cfront/
H A Dspec_anl.c79 ** The "NEW" fft performs shifting operations in fixed point, to maximise
83 channel->shift += place_sample_data(&freqobj->fft, channel->prebuff,
89 write_scaled_frames(freqobj->fft.size, 1, freqobj->fft.real, D_FIXED, (float)(0x01 << channel->shift));
90 write_scaled_frames(freqobj->fft.size, 1, freqobj->fft.imag, D_FIXED, (float)(0x01 << channel->shift));
94 write_scaled_frames(freqobj->fft.size, 1, freqobj->fft.real, D_FIXED, (float)1 / (0x01 << -channel->shift));
95 write_scaled_frames(freqobj->fft.size, 1, freqobj->fft
[all...]
H A Dsp_fft.c682 /* compute the real input fft, the real valued first and last component of
688 /* After fft, we now have the data,
692 ** to get fft data, we then need to reverse-shift the fixed data by the
782 ** account for inherent scale of fft - we have do to this here as each
811 void configure_fft(fft_info *fft, int size) argument
824 fft->size2 = size;
825 fft->size = size / 2;
827 fft->m_srfft = new_srfft(log2Length);
828 fft->real = (fftdata*) CALLOC(size + 2, sizeof(fftdata), "srfft.fft_data");
829 fft
832 fft_perform_and_magsq(fft_info *fft) argument
842 unconfigure_fft(fft_info *fft) argument
850 place_sample_data(fft_info *fft, fftdata *seq, fftdata *smooth, int num) argument
[all...]
/external/aac/libFDK/src/
H A DFDK_hybrid.cpp94 #include "fft.h"
502 FIXP_DBL fft[8]; local
524 /* write to fft coefficient n' */
525 fft[FFT_IDX_R(0)] = ( fMult(p[10], ( fMultSub(fMultDiv2(cr[ 2], pQmfReal[pReadIdx[ 2]]), ci[ 2], pQmfImag[pReadIdx[ 2]]))) +
528 fft[FFT_IDX_I(0)] = ( fMult(p[10], ( fMultAdd(fMultDiv2(ci[ 2], pQmfReal[pReadIdx[ 2]]), cr[ 2], pQmfImag[pReadIdx[ 2]]))) +
533 fft[FFT_IDX_R(1)] = ( fMult(p[ 9], ( fMultSub(fMultDiv2(cr[ 3], pQmfReal[pReadIdx[ 3]]), ci[ 3], pQmfImag[pReadIdx[ 3]]))) +
536 fft[FFT_IDX_I(1)] = ( fMult(p[ 9], ( fMultAdd(fMultDiv2(ci[ 3], pQmfReal[pReadIdx[ 3]]), cr[ 3], pQmfImag[pReadIdx[ 3]]))) +
541 fft[FFT_IDX_R(2)] = ( fMult(p[12], ( fMultSub(fMultDiv2(cr[ 0], pQmfReal[pReadIdx[ 0]]), ci[ 0], pQmfImag[pReadIdx[ 0]]))) +
545 fft[FFT_IDX_I(2)] = ( fMult(p[12], ( fMultAdd(fMultDiv2(ci[ 0], pQmfReal[pReadIdx[ 0]]), cr[ 0], pQmfImag[pReadIdx[ 0]]))) +
550 fft[FFT_IDX_
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_processing/aec/
H A Daec_core.c321 // static void FilterAdaptationUnconstrained(AecCore* aec, float *fft,
345 static void FilterAdaptation(AecCore* aec, float* fft, float ef[2][PART_LEN1]) { argument
359 fft[2 * j] = MulRe(aec->xfBuf[0][xPos + j],
363 fft[2 * j + 1] = MulIm(aec->xfBuf[0][xPos + j],
368 fft[1] = MulRe(aec->xfBuf[0][xPos + PART_LEN],
373 aec_rdft_inverse_128(fft);
374 memset(fft + PART_LEN, 0, sizeof(float) * PART_LEN);
376 // fft scaling
380 fft[j] *= scale;
383 aec_rdft_forward_128(fft);
595 float fft[PART_LEN2]; local
824 float fft[PART_LEN2]; local
1029 float fft[PART_LEN2]; local
[all...]
H A Daec_core_neon.c34 float* fft,
64 vst1q_f32(&fft[2 * j + 0], g_n_h.val[0]);
65 vst1q_f32(&fft[2 * j + 4], g_n_h.val[1]);
68 fft[1] = MulRe(aec->xfBuf[0][xPos + PART_LEN],
73 aec_rdft_inverse_128(fft);
74 memset(fft + PART_LEN, 0, sizeof(float) * PART_LEN);
76 // fft scaling
81 const float32x4_t fft_ps = vld1q_f32(&fft[j]);
83 vst1q_f32(&fft[j], fft_scale);
86 aec_rdft_forward_128(fft);
33 FilterAdaptationNEON(AecCore* aec, float* fft, float ef[2][PART_LEN1]) argument
[all...]
H A Daec_core_mips.c438 float *fft,
454 float *fft_tmp = fft;
515 "swc1 %[f8], 4(%[fft]) \n\t"
523 [len] "+r" (len), [fft] "=&r" (fft)
528 aec_rdft_inverse_128(fft);
529 memset(fft + PART_LEN, 0, sizeof(float) * PART_LEN);
531 // fft scaling
537 "addiu %[fft_tmp], %[fft], 0 \n\t"
572 : [scale] "f" (scale), [fft] "
437 WebRtcAec_FilterAdaptation_mips(AecCore *aec, float *fft, float ef[2][PART_LEN1]) argument
[all...]
H A Daec_core_sse2.c143 float* fft,
175 _mm_storeu_ps(&fft[2 * j + 0], g);
176 _mm_storeu_ps(&fft[2 * j + 4], h);
179 fft[1] = MulRe(aec->xfBuf[0][xPos + PART_LEN],
184 aec_rdft_inverse_128(fft);
185 memset(fft + PART_LEN, 0, sizeof(float) * PART_LEN);
187 // fft scaling
192 const __m128 fft_ps = _mm_loadu_ps(&fft[j]);
194 _mm_storeu_ps(&fft[j], fft_scale);
197 aec_rdft_forward_128(fft);
142 FilterAdaptationSSE2(AecCore* aec, float* fft, float ef[2][PART_LEN1]) argument
[all...]
/external/webrtc/src/modules/audio_processing/aec/
H A Daec_core.c287 //static void FilterAdaptationUnconstrained(aec_t *aec, float *fft,
311 static void FilterAdaptation(aec_t *aec, float *fft, float ef[2][PART_LEN1]) { argument
325 fft[2 * j] = MulRe(aec->xfBuf[0][xPos + j],
328 fft[2 * j + 1] = MulIm(aec->xfBuf[0][xPos + j],
332 fft[1] = MulRe(aec->xfBuf[0][xPos + PART_LEN],
336 aec_rdft_inverse_128(fft);
337 memset(fft + PART_LEN, 0, sizeof(float) * PART_LEN);
339 // fft scaling
343 fft[j] *= scale;
346 aec_rdft_forward_128(fft);
545 float fft[PART_LEN2]; local
639 float fft[PART_LEN2]; local
856 float fft[PART_LEN2]; local
[all...]
H A Daec_core_sse2.c131 static void FilterAdaptationSSE2(aec_t *aec, float *fft, float ef[2][PART_LEN1]) { argument
161 _mm_storeu_ps(&fft[2*j + 0], g);
162 _mm_storeu_ps(&fft[2*j + 4], h);
165 fft[1] = MulRe(aec->xfBuf[0][xPos + PART_LEN],
169 aec_rdft_inverse_128(fft);
170 memset(fft + PART_LEN, 0, sizeof(float)*PART_LEN);
172 // fft scaling
177 const __m128 fft_ps = _mm_loadu_ps(&fft[j]);
179 _mm_storeu_ps(&fft[j], fft_scale);
182 aec_rdft_forward_128(fft);
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_processing/aecm/
H A Daecm_core_neon.c47 int16_t* fft,
56 int16_t* p_fft = fft;
57 int16_t* p_fft_offset = &fft[PART_LEN2];
101 WebRtcSpl_RealForwardFFT(aecm->real_fft, (int16_t*)fft,
118 int16_t* fft,
125 assert((uintptr_t)fft % 16 == 0);
136 int16_t* p_fft = fft;
137 int16_t* p_fft_offset = &fft[PART_LEN4 - 6];
140 // We overwrite two more elements in fft[], but it's ok.
156 fft[PART_LEN
46 WebRtcAecm_WindowAndFFTNeon(AecmCore_t* aecm, int16_t* fft, const int16_t* time_signal, complex16_t* freq_signal, int time_signal_scaling) argument
117 WebRtcAecm_InverseFFTAndWindowNeon(AecmCore_t* aecm, int16_t* fft, complex16_t* efw, int16_t* output, const int16_t* nearendClean) argument
[all...]
H A Daecm_core_c.c66 int16_t* fft,
75 // transformation array |fft|
76 fft[i] = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(
80 fft[PART_LEN + i] = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(
88 WebRtcSpl_RealForwardFFT(aecm->real_fft, fft, (int16_t*)freq_signal);
95 int16_t* fft,
103 // the contents to |fft|.
108 fft[j] = efw[i].real;
109 fft[j + 1] = -efw[i].imag;
111 fft[
65 WindowAndFFT(AecmCore_t* aecm, int16_t* fft, const int16_t* time_signal, complex16_t* freq_signal, int time_signal_scaling) argument
94 InverseFFTAndWindow(AecmCore_t* aecm, int16_t* fft, complex16_t* efw, int16_t* output, const int16_t* nearendClean) argument
179 int16_t *fft = (int16_t *) (((uintptr_t) fft_buf + 31) & ~31); local
315 int16_t* fft = (int16_t*) (((uintptr_t) fft_buf + 31) & ~ 31); local
[all...]
H A Daecm_core_mips.c76 int16_t* fft,
88 memset(fft, 0, sizeof(int16_t) * PART_LEN4);
115 "addu %[store_ptr1], %[fft], %[f_coef] \n\t"
116 "addu %[store_ptr2], %[fft], %[s_coef] \n\t"
138 "addu %[store_ptr1], %[fft], %[f_coef] \n\t"
139 "addu %[store_ptr2], %[fft], %[s_coef] \n\t"
156 [hanning] "r" (WebRtcAecm_kSqrtHanning), [fft] "r" (fft)
160 WebRtcSpl_ComplexFFT(fft, PART_LEN_SHIFT, 1);
161 pfrfi = fft;
75 WindowAndFFT(AecmCore_t* aecm, int16_t* fft, const int16_t* time_signal, complex16_t* freq_signal, int time_signal_scaling) argument
202 InverseFFTAndWindow(AecmCore_t* aecm, int16_t* fft, complex16_t* efw, int16_t* output, const int16_t* nearendClean) argument
639 int16_t *fft = (int16_t *) (((uintptr_t) fft_buf + 31) & ~31); local
824 int16_t* fft = (int16_t*)(((uint32_t)fft_buf + 31) & ~ 31); local
[all...]
/external/eigen/unsupported/doc/examples/
H A DFFT.cpp82 static FFT<Scalar> fft; local
83 fft.fwd(freqbuf,timebuf);
86 fft.inv(timebuf2,freqbuf);
/external/aac/libSBRdec/src/
H A Dpsdec_hybrid.cpp87 #include "fft.h"
255 n m *exp(-j*2*pi) | n' fft
272 now use fft modulation coefficients
273 m[6] = = fft[0]
274 m[7] = = fft[1]
275 m[8] = m[ 0] = fft[2]
276 m[9] = m[ 1] = fft[3]
277 m[10] = m[ 2] = fft[4]
278 m[11] = m[ 3] = fft[5]
279 m[12] = m[ 4] = fft[
383 FIXP_DBL *fft = (FIXP_DBL *)ALIGN_PTR(_fft); local
[all...]
/external/libvorbis/lib/
H A Dpsytune.c329 float *fft=work[i]; local
335 /* fft and mdct transforms */
337 fft[j]=pcm[i][j]*=window[j];
339 drft_forward(&f_look,fft);
342 fft[0]*=scale;
343 fft[0]=todB(fft);
345 float temp=scale*FAST_HYPOT(fft[j],fft[j+1]);
346 temp=fft[(
361 float *fft=work[i]; local
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
H A DAndroid.mk30 fft.c \
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A DAndroid.mk30 fft.c \

Completed in 1408 milliseconds

123