/external/eigen/unsupported/test/ |
D | cxx11_tensor_ifft.cpp | 22 array<int, 1> fft; in test_1D_fft_ifft_invariant() local 23 fft[0] = 0; in test_1D_fft_ifft_invariant() 28 tensor_after_fft = tensor.template fft<Eigen::BothParts, Eigen::FFT_FORWARD>(fft); in test_1D_fft_ifft_invariant() 29 tensor_after_fft_ifft = tensor_after_fft.template fft<Eigen::BothParts, Eigen::FFT_REVERSE>(fft); in test_1D_fft_ifft_invariant() 44 array<int, 2> fft; in test_2D_fft_ifft_invariant() local 45 fft[0] = 0; in test_2D_fft_ifft_invariant() 46 fft[1] = 1; in test_2D_fft_ifft_invariant() 51 tensor_after_fft = tensor.template fft<Eigen::BothParts, Eigen::FFT_FORWARD>(fft); in test_2D_fft_ifft_invariant() 52 tensor_after_fft_ifft = tensor_after_fft.template fft<Eigen::BothParts, Eigen::FFT_REVERSE>(fft); in test_2D_fft_ifft_invariant() 72 array<int, 3> fft; in test_3D_fft_ifft_invariant() local [all …]
|
D | cxx11_tensor_fft.cpp | 25 array<ptrdiff_t, 2> fft; in test_fft_2D_golden() local 26 fft[0] = 0; in test_fft_2D_golden() 27 fft[1] = 1; in test_fft_2D_golden() 29 …omplex<float>, 2, DataLayout> output = input.template fft<Eigen::BothParts, Eigen::FFT_FORWARD>(ff… in test_fft_2D_golden() 67 array<ptrdiff_t, 1> fft; in test_fft_complex_input_golden() local 68 fft[0] = 0; in test_fft_complex_input_golden() 70 …d::complex<float>, 1, ColMajor> forward_output_both_parts = input.fft<BothParts, FFT_FORWARD>(fft); in test_fft_complex_input_golden() 71 …d::complex<float>, 1, ColMajor> reverse_output_both_parts = input.fft<BothParts, FFT_REVERSE>(fft); in test_fft_complex_input_golden() 73 Tensor<float, 1, ColMajor> forward_output_real_part = input.fft<RealPart, FFT_FORWARD>(fft); in test_fft_complex_input_golden() 74 Tensor<float, 1, ColMajor> reverse_output_real_part = input.fft<RealPart, FFT_REVERSE>(fft); in test_fft_complex_input_golden() [all …]
|
D | FFTW.cpp | 85 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/webrtc/common_audio/signal_processing/ |
D | real_fft_unittest.cc | 45 RealFFT* fft = WebRtcSpl_CreateRealFFT(11); in TEST_F() local 46 EXPECT_TRUE(fft == NULL); in TEST_F() 47 fft = WebRtcSpl_CreateRealFFT(-1); in TEST_F() 48 EXPECT_TRUE(fft == NULL); in TEST_F() 67 RealFFT* fft = WebRtcSpl_CreateRealFFT(kOrder); in TEST_F() local 68 EXPECT_TRUE(fft != NULL); in TEST_F() 69 EXPECT_EQ(0, WebRtcSpl_RealForwardFFT(fft, real_fft_time, real_fft_freq)); in TEST_F() 88 int real_scale = WebRtcSpl_RealInverseFFT(fft, real_fft_freq, real_fft_time); in TEST_F() 103 WebRtcSpl_FreeRealFFT(fft); in TEST_F()
|
/external/aac/libFDK/src/ |
D | FDK_hybrid.cpp | 502 FIXP_DBL fft[8]; in fourChannelFiltering() local 525 …fft[FFT_IDX_R(0)] = ( fMult(p[10], ( fMultSub(fMultDiv2(cr[ 2], pQmfReal[pReadIdx[ 2]]), ci[ 2], … in fourChannelFiltering() 528 …fft[FFT_IDX_I(0)] = ( fMult(p[10], ( fMultAdd(fMultDiv2(ci[ 2], pQmfReal[pReadIdx[ 2]]), cr[ 2], … in fourChannelFiltering() 533 …fft[FFT_IDX_R(1)] = ( fMult(p[ 9], ( fMultSub(fMultDiv2(cr[ 3], pQmfReal[pReadIdx[ 3]]), ci[ 3], … in fourChannelFiltering() 536 …fft[FFT_IDX_I(1)] = ( fMult(p[ 9], ( fMultAdd(fMultDiv2(ci[ 3], pQmfReal[pReadIdx[ 3]]), cr[ 3], … in fourChannelFiltering() 541 …fft[FFT_IDX_R(2)] = ( fMult(p[12], ( fMultSub(fMultDiv2(cr[ 0], pQmfReal[pReadIdx[ 0]]), ci[ 0], … in fourChannelFiltering() 545 …fft[FFT_IDX_I(2)] = ( fMult(p[12], ( fMultAdd(fMultDiv2(ci[ 0], pQmfReal[pReadIdx[ 0]]), cr[ 0], … in fourChannelFiltering() 550 …fft[FFT_IDX_R(3)] = ( fMult(p[11], ( fMultSub(fMultDiv2(cr[ 1], pQmfReal[pReadIdx[ 1]]), ci[ 1], … in fourChannelFiltering() 553 …fft[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 …]
|
D | dct.cpp | 164 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()
|
/external/eigen/bench/ |
D | benchFFT.cpp | 51 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/apache-commons-math/src/main/java/org/apache/commons/math/transform/ |
D | FastFourierTransformer.java | 75 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/webrtc/webrtc/modules/audio_processing/aecm/ |
D | aecm_core_c.c | 66 int16_t* fft, in WindowAndFFT() argument 77 fft[i] = (int16_t)((scaled_time_signal * WebRtcAecm_kSqrtHanning[i]) >> 14); in WindowAndFFT() 79 fft[PART_LEN + i] = (int16_t)(( in WindowAndFFT() 85 WebRtcSpl_RealForwardFFT(aecm->real_fft, fft, (int16_t*)freq_signal); in WindowAndFFT() 92 int16_t* fft, in InverseFFTAndWindow() argument 104 fft[j] = efw[i].real; in InverseFFTAndWindow() 105 fft[j + 1] = -efw[i].imag; in InverseFFTAndWindow() 107 fft[0] = efw[0].real; in InverseFFTAndWindow() 108 fft[1] = -efw[0].imag; in InverseFFTAndWindow() 110 fft[PART_LEN2] = efw[PART_LEN].real; in InverseFFTAndWindow() [all …]
|
D | aecm_core_mips.c | 76 int16_t* fft, in WindowAndFFT() argument 88 memset(fft, 0, sizeof(int16_t) * PART_LEN4); in WindowAndFFT() 156 [hanning] "r" (WebRtcAecm_kSqrtHanning), [fft] "r" (fft) in WindowAndFFT() 160 WebRtcSpl_ComplexFFT(fft, PART_LEN_SHIFT, 1); in WindowAndFFT() 161 pfrfi = fft; in WindowAndFFT() 203 int16_t* fft, in InverseFFTAndWindow() argument 210 int16_t* pfft = fft; in InverseFFTAndWindow() 211 int16_t* ppfft = fft; in InverseFFTAndWindow() 276 [fft] "+r" (fft) in InverseFFTAndWindow() 281 fft[2] = efw[PART_LEN].real; in InverseFFTAndWindow() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/aec/ |
D | aec_core_mips.c | 448 float fft[PART_LEN2]; in WebRtcAec_FilterAdaptation_mips() local 534 : [fft] "r" (fft) in WebRtcAec_FilterAdaptation_mips() 538 aec_rdft_inverse_128(fft); in WebRtcAec_FilterAdaptation_mips() 539 memset(fft + PART_LEN, 0, sizeof(float) * PART_LEN); in WebRtcAec_FilterAdaptation_mips() 582 : [scale] "f" (scale), [fft] "r" (fft) in WebRtcAec_FilterAdaptation_mips() 586 aec_rdft_forward_128(fft); in WebRtcAec_FilterAdaptation_mips() 640 : [fft] "r" (fft) in WebRtcAec_FilterAdaptation_mips()
|
D | aec_core.c | 221 float fft[PART_LEN2]; in FilterAdaptation() local 234 fft[2 * j] = MulRe(x_fft_buf[0][xPos + j], in FilterAdaptation() 238 fft[2 * j + 1] = MulIm(x_fft_buf[0][xPos + j], in FilterAdaptation() 243 fft[1] = MulRe(x_fft_buf[0][xPos + PART_LEN], in FilterAdaptation() 248 aec_rdft_inverse_128(fft); in FilterAdaptation() 249 memset(fft + PART_LEN, 0, sizeof(float) * PART_LEN); in FilterAdaptation() 255 fft[j] *= scale; in FilterAdaptation() 258 aec_rdft_forward_128(fft); in FilterAdaptation() 260 h_fft_buf[0][pos] += fft[0]; in FilterAdaptation() 261 h_fft_buf[0][pos + PART_LEN] += fft[1]; in FilterAdaptation() [all …]
|
D | aec_core_neon.c | 195 float fft[PART_LEN2]; in FilterAdaptationNEON() local 223 vst1q_f32(&fft[2 * j + 0], g_n_h.val[0]); in FilterAdaptationNEON() 224 vst1q_f32(&fft[2 * j + 4], g_n_h.val[1]); in FilterAdaptationNEON() 227 fft[1] = MulRe(x_fft_buf[0][xPos + PART_LEN], in FilterAdaptationNEON() 232 aec_rdft_inverse_128(fft); in FilterAdaptationNEON() 233 memset(fft + PART_LEN, 0, sizeof(float) * PART_LEN); in FilterAdaptationNEON() 240 const float32x4_t fft_ps = vld1q_f32(&fft[j]); in FilterAdaptationNEON() 242 vst1q_f32(&fft[j], fft_scale); in FilterAdaptationNEON() 245 aec_rdft_forward_128(fft); in FilterAdaptationNEON() 249 h_fft_buf[0][pos + PART_LEN] += fft[1]; in FilterAdaptationNEON() [all …]
|
D | aec_core_sse2.c | 157 float fft[PART_LEN2]; in FilterAdaptationSSE2() local 187 _mm_storeu_ps(&fft[2 * j + 0], g); in FilterAdaptationSSE2() 188 _mm_storeu_ps(&fft[2 * j + 4], h); in FilterAdaptationSSE2() 191 fft[1] = MulRe(x_fft_buf[0][xPos + PART_LEN], in FilterAdaptationSSE2() 196 aec_rdft_inverse_128(fft); in FilterAdaptationSSE2() 197 memset(fft + PART_LEN, 0, sizeof(float) * PART_LEN); in FilterAdaptationSSE2() 204 const __m128 fft_ps = _mm_loadu_ps(&fft[j]); in FilterAdaptationSSE2() 206 _mm_storeu_ps(&fft[j], fft_scale); in FilterAdaptationSSE2() 209 aec_rdft_forward_128(fft); in FilterAdaptationSSE2() 213 h_fft_buf[0][pos + PART_LEN] += fft[1]; in FilterAdaptationSSE2() [all …]
|
/external/aac/libSBRdec/src/ |
D | psdec_hybrid.cpp | 383 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/autotest/server/brillo/ |
D | audio_utils.py | 204 fft_reference = numpy.fft.rfft(reference_data) 205 fft_rec = numpy.fft.rfft(rec_data) 206 fft_freqs_reference = numpy.fft.rfftfreq(len(reference_data), 208 fft_freqs_rec = numpy.fft.rfftfreq(len(rec_data), 1.0 / sample_rate)
|
/external/eigen/unsupported/doc/examples/ |
D | FFT.cpp | 82 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/ |
D | s2rem.ll | 57 define void @fft() #0 { 63 ; PIC: .ent fft 66 ; PIC: .end fft
|
/external/speex/libspeex/ |
D | fftwrap.c | 175 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/ltp/testcases/realtime/tools/ |
D | ftqviz.py | 28 from numpy.fft import * 54 X = abs(fftshift(fft(x)))
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/ |
D | isac.gypi | 46 'main/source/fft.c', 71 'main/source/fft.h',
|
D | isacfix.gypi | 44 'fix/source/fft.c', 68 'fix/source/fft.h',
|
/external/eigen/unsupported/Eigen/ |
D | FFT | 122 …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/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | Android.mk | 31 fft.c \
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | FFT.java | 62 public void fft(double[] x, double[] y, int sign) { in fft() method in FFT
|