Home
last modified time | relevance | path

Searched refs:fft (Results 1 – 25 of 26) sorted by relevance

12

/external/eigen/unsupported/test/
DFFTW.cpp85 FFT<T> fft; in test_scalar_generic() local
93 fft.SetFlag(fft.HalfSpectrum ); in test_scalar_generic()
94 fft.fwd( freqBuf,tbuf); in test_scalar_generic()
98 fft.ClearFlag(fft.HalfSpectrum ); in test_scalar_generic()
99 fft.fwd( freqBuf,tbuf); in test_scalar_generic()
107 fft.inv( tbuf2 , freqBuf); in test_scalar_generic()
113 fft.SetFlag(fft.Unscaled); in test_scalar_generic()
115 fft.inv( tbuf3 , freqBuf); in test_scalar_generic()
127 fft.ClearFlag(fft.Unscaled); in test_scalar_generic()
128 fft.inv( tbuf2 , freqBuf); in test_scalar_generic()
[all …]
/external/webrtc/src/modules/audio_processing/aecm/
Daecm_core_neon.c37 static void WindowAndFFTNeon(WebRtc_Word16* fft, in WindowAndFFTNeon() argument
61 __asm__("vst2.16 {d20, d21}, [%0, :128]" : : "r"(&fft[j]) : "q10"); in WindowAndFFTNeon()
73 __asm__("vst2.16 {d20, d21}, [%0, :128]" : : "r"(&fft[PART_LEN2 + j]) : "q10"); in WindowAndFFTNeon()
76 WebRtcSpl_ComplexBitReverse(fft, PART_LEN_SHIFT); in WindowAndFFTNeon()
77 WebRtcSpl_ComplexFFT(fft, PART_LEN_SHIFT, 1); in WindowAndFFTNeon()
81 __asm__("vld2.16 {d20, d21, d22, d23}, [%0, :256]" : : "r"(&fft[j]) : "q10", "q11"); in WindowAndFFTNeon()
90 WebRtc_Word16* fft, in InverseFFTAndWindowNeon() argument
104 __asm__("vst2.16 {d22, d23}, [%0, :128]" : : "r"(&fft[j]): "q11"); in InverseFFTAndWindowNeon()
107 __asm__("vst2.16 {d20, d21}, [%0]" : : "r"(&fft[PART_LEN4 - j - 6]): "q10"); in InverseFFTAndWindowNeon()
110 fft[PART_LEN2] = efw[PART_LEN].real; in InverseFFTAndWindowNeon()
[all …]
Daecm_core.c361 static void WindowAndFFTC(WebRtc_Word16* fft, in WindowAndFFTC() argument
368 memset(fft, 0, sizeof(WebRtc_Word16) * PART_LEN4); in WindowAndFFTC()
374 fft[j] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( in WindowAndFFTC()
378 fft[PART_LEN2 + j] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( in WindowAndFFTC()
386 WebRtcSpl_ComplexBitReverse(fft, PART_LEN_SHIFT); in WindowAndFFTC()
387 WebRtcSpl_ComplexFFT(fft, PART_LEN_SHIFT, 1); in WindowAndFFTC()
392 freq_signal[i].real = fft[j]; in WindowAndFFTC()
395 freq_signal[i].imag = - fft[j+1]; in WindowAndFFTC()
400 WebRtc_Word16* fft, in InverseFFTAndWindowC() argument
412 fft[j] = efw[i].real; in InverseFFTAndWindowC()
[all …]
Daecm_core.h358 WebRtc_Word16* fft,
366 WebRtc_Word16* fft, complex16_t* efw,
/external/aac/libFDK/src/
DFDK_hybrid.cpp502 FIXP_DBL fft[8]; in fourChannelFiltering() local
525fft[FFT_IDX_R(0)] = ( fMult(p[10], ( fMultSub(fMultDiv2(cr[ 2], pQmfReal[pReadIdx[ 2]]), ci[ 2], … in fourChannelFiltering()
528fft[FFT_IDX_I(0)] = ( fMult(p[10], ( fMultAdd(fMultDiv2(ci[ 2], pQmfReal[pReadIdx[ 2]]), cr[ 2], … in fourChannelFiltering()
533fft[FFT_IDX_R(1)] = ( fMult(p[ 9], ( fMultSub(fMultDiv2(cr[ 3], pQmfReal[pReadIdx[ 3]]), ci[ 3], … in fourChannelFiltering()
536fft[FFT_IDX_I(1)] = ( fMult(p[ 9], ( fMultAdd(fMultDiv2(ci[ 3], pQmfReal[pReadIdx[ 3]]), cr[ 3], … in fourChannelFiltering()
541fft[FFT_IDX_R(2)] = ( fMult(p[12], ( fMultSub(fMultDiv2(cr[ 0], pQmfReal[pReadIdx[ 0]]), ci[ 0], … in fourChannelFiltering()
545fft[FFT_IDX_I(2)] = ( fMult(p[12], ( fMultAdd(fMultDiv2(ci[ 0], pQmfReal[pReadIdx[ 0]]), cr[ 0], … in fourChannelFiltering()
550fft[FFT_IDX_R(3)] = ( fMult(p[11], ( fMultSub(fMultDiv2(cr[ 1], pQmfReal[pReadIdx[ 1]]), ci[ 1], … in fourChannelFiltering()
553fft[FFT_IDX_I(3)] = ( fMult(p[11], ( fMultAdd(fMultDiv2(ci[ 1], pQmfReal[pReadIdx[ 1]]), cr[ 1], … in fourChannelFiltering()
566 mHybridReal[0] = fft[FFT_IDX_R(0)] + fft[FFT_IDX_R(1)] + fft[FFT_IDX_R(2)] + fft[FFT_IDX_R(3)]; in fourChannelFiltering()
[all …]
Ddct.cpp164 fft(M, tmp, pDat_e); in dct_III()
227 fft(M, tmp, pDat_e); in dct_II()
355 fft(M, pDat, pDat_e); in dct_IV()
481 fft(M, pDat, pDat_e); in dst_IV()
Dfft.cpp1332 void fft(int length, FIXP_DBL *pInput, INT *pScalefactor) in fft() function
/external/webrtc/src/modules/audio_processing/aec/
Daec_core.c311 static void FilterAdaptation(aec_t *aec, float *fft, float ef[2][PART_LEN1]) { in FilterAdaptation() argument
325 fft[2 * j] = MulRe(aec->xfBuf[0][xPos + j], in FilterAdaptation()
328 fft[2 * j + 1] = MulIm(aec->xfBuf[0][xPos + j], in FilterAdaptation()
332 fft[1] = MulRe(aec->xfBuf[0][xPos + PART_LEN], in FilterAdaptation()
336 aec_rdft_inverse_128(fft); in FilterAdaptation()
337 memset(fft + PART_LEN, 0, sizeof(float) * PART_LEN); in FilterAdaptation()
343 fft[j] *= scale; in FilterAdaptation()
346 aec_rdft_forward_128(fft); in FilterAdaptation()
348 aec->wfBuf[0][pos] += fft[0]; in FilterAdaptation()
349 aec->wfBuf[0][pos + PART_LEN] += fft[1]; in FilterAdaptation()
[all …]
Daec_core_sse2.c131 static void FilterAdaptationSSE2(aec_t *aec, float *fft, float ef[2][PART_LEN1]) { in FilterAdaptationSSE2() argument
161 _mm_storeu_ps(&fft[2*j + 0], g); in FilterAdaptationSSE2()
162 _mm_storeu_ps(&fft[2*j + 4], h); in FilterAdaptationSSE2()
165 fft[1] = MulRe(aec->xfBuf[0][xPos + PART_LEN], in FilterAdaptationSSE2()
169 aec_rdft_inverse_128(fft); in FilterAdaptationSSE2()
170 memset(fft + PART_LEN, 0, sizeof(float)*PART_LEN); in FilterAdaptationSSE2()
177 const __m128 fft_ps = _mm_loadu_ps(&fft[j]); in FilterAdaptationSSE2()
179 _mm_storeu_ps(&fft[j], fft_scale); in FilterAdaptationSSE2()
182 aec_rdft_forward_128(fft); in FilterAdaptationSSE2()
186 aec->wfBuf[0][pos + PART_LEN] += fft[1]; in FilterAdaptationSSE2()
[all …]
Daec_core.h161 (aec_t *aec, float *fft, float ef[2][PART_LEN1]);
/external/eigen/bench/
DbenchFFT.cpp51 FFT< Scalar > fft; in bench() local
54 fft.SetFlag(fft.Unscaled); in bench()
58 fft.SetFlag(fft.HalfSpectrum); in bench()
64 fft.fwd( outbuf , inbuf); in bench()
72 fft.fwd( outbuf , inbuf); in bench()
75 fft.inv(inbuf,outbuf); in bench()
/external/libvorbis/lib/
Dpsytune.c329 float *fft=work[i]; in main() local
337 fft[j]=pcm[i][j]*=window[j]; in main()
339 drft_forward(&f_look,fft); in main()
342 fft[0]*=scale; in main()
343 fft[0]=todB(fft); in main()
345 float temp=scale*FAST_HYPOT(fft[j],fft[j+1]); in main()
346 temp=fft[(j+1)>>1]=todB(&temp); in main()
356 analysis("fft",frameno+i,fft,framesize/2,1,0); in main()
361 float *fft=work[i]; in main() local
362 float *logmax=fft; in main()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/transform/
DFastFourierTransformer.java75 return fft(f, false); in transform()
97 return fft(data, false); in transform()
113 return fft(f); in transform()
130 return scaleArray(fft(f, false), scaling_coefficient); in transform2()
154 return scaleArray(fft(data, false), scaling_coefficient); in transform2()
172 return scaleArray(fft(f), scaling_coefficient); in transform2()
189 return scaleArray(fft(f, true), scaling_coefficient); in inversetransform()
213 return scaleArray(fft(data, true), scaling_coefficient); in inversetransform()
231 return scaleArray(fft(f), scaling_coefficient); in inversetransform()
248 return scaleArray(fft(f, true), scaling_coefficient); in inversetransform2()
[all …]
/external/aac/libSBRdec/src/
Dpsdec_hybrid.cpp383 FIXP_DBL *fft = (FIXP_DBL *)ALIGN_PTR(_fft); in slotBasedEightChannelFiltering() local
404 fft[FIXP_FFT_IDX_R(n_2)] = accu1 + accu3; \ in slotBasedEightChannelFiltering()
405 fft[FIXP_FFT_IDX_I(n_2)] = accu2 + accu4; in slotBasedEightChannelFiltering()
409 fft[FIXP_FFT_IDX_R(n_1)] = fMultDiv2(p[n_0], accu1); \ in slotBasedEightChannelFiltering()
410 fft[FIXP_FFT_IDX_I(n_1)] = fMultDiv2(p[n_0], accu2); in slotBasedEightChannelFiltering()
423 fft_8 (fft); in slotBasedEightChannelFiltering()
427 mHybridReal[bin] = fft[FIXP_FFT_IDX_R(bin)] << 4; in slotBasedEightChannelFiltering()
428 mHybridImag[bin] = fft[FIXP_FFT_IDX_I(bin)] << 4; in slotBasedEightChannelFiltering()
/external/eigen/unsupported/doc/examples/
DFFT.cpp82 static FFT<Scalar> fft; in fwd_inv() local
83 fft.fwd(freqbuf,timebuf); in fwd_inv()
86 fft.inv(timebuf2,freqbuf); in fwd_inv()
/external/llvm/test/CodeGen/Mips/
Ds2rem.ll57 define void @fft() #0 {
63 ; PIC: .ent fft
66 ; PIC: .end fft
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Disac.gypi37 'fft.c',
61 'fft.h',
DAndroid.mk30 fft.c \
/external/speex/libspeex/
Dfftwrap.c175 fftwf_plan fft; member
186 table->fft = fftwf_plan_dft_r2c_1d(size, table->in, (fftwf_complex *) table->out, FFTW_PATIENT); in spx_fft_init()
196 fftwf_destroy_plan(t->fft); in spx_fft_destroy()
215 fftwf_execute(t->fft); in spx_fft()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Disacfix.gypi37 'fft.c',
58 'fft.h',
DAndroid.mk32 fft.c \
/external/eigen/unsupported/Eigen/
DFFT122 …fft_fwd_proxy(const T_SrcMat& src,T_FftIfc & fft, Index nfft) : m_src(src),m_ifc(fft), m_nfft(nfft…
142 …fft_inv_proxy(const T_SrcMat& src,T_FftIfc & fft, Index nfft) : m_src(src),m_ifc(fft), m_nfft(nfft…
304 nfft = 2*(src.size()-1); //assume even fft size
/external/aac/libFDK/include/
Dfft.h105 void fft(int length, FIXP_DBL *pInput, INT *scalefactor);
/external/valgrind/drd/scripts/
Drun-splash2198 run_test ${SPLASH2}/codes/kernels/fft/FFT -t -l$((log2_cache_size/2)) -m16
/external/webrtc/
DNOTICE35 * http://www.kurims.kyoto-u.ac.jp/~ooura/fft.html
58 * http://www.kurims.kyoto-u.ac.jp/~ooura/fft.html

12