/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/tensorflow/tensorflow/stream_executor/ |
D | fft.h | 58 namespace fft { 214 std::unique_ptr<fft::Plan> Create1dPlan(Stream *stream, uint64 num_x, \ 215 fft::Type type, bool in_place_fft) \ 217 std::unique_ptr<fft::Plan> Create2dPlan(Stream *stream, uint64 num_x, \ 218 uint64 num_y, fft::Type type, \ 220 std::unique_ptr<fft::Plan> Create3dPlan( \ 222 fft::Type type, bool in_place_fft) override; \ 223 std::unique_ptr<fft::Plan> Create1dPlanWithScratchAllocator( \ 224 Stream *stream, uint64 num_x, fft::Type type, bool in_place_fft, \ 226 std::unique_ptr<fft::Plan> Create2dPlanWithScratchAllocator( \ [all …]
|
/external/tensorflow/tensorflow/stream_executor/cuda/ |
D | cuda_fft.cc | 42 cufftType CUDAFftType(fft::Type type) { in CUDAFftType() 44 case fft::Type::kC2CForward: in CUDAFftType() 45 case fft::Type::kC2CInverse: in CUDAFftType() 47 case fft::Type::kC2R: in CUDAFftType() 49 case fft::Type::kR2C: in CUDAFftType() 51 case fft::Type::kZ2ZForward: in CUDAFftType() 52 case fft::Type::kZ2ZInverse: in CUDAFftType() 54 case fft::Type::kZ2D: in CUDAFftType() 56 case fft::Type::kD2Z: in CUDAFftType() 80 fft::Type type, int batch_count, ScratchAllocator *scratch_allocator) { in Initialize() [all …]
|
D | cuda_fft.h | 45 class CUDAFftPlan : public fft::Plan { 50 fft_type_(fft::Type::kInvalid), in CUDAFftPlan() 71 uint64 output_distance, fft::Type type, 76 uint64* elem_count, fft::Type type, 88 fft::Type fft_type_; 105 class CUDAFft : public fft::FftSupport { 119 bool DoFftWithDirectionInternal(Stream *stream, fft::Plan *plan, 127 bool DoFftInternal(Stream *stream, fft::Plan *plan, FuncT cufft_exec,
|
/external/tensorflow/tensorflow/stream_executor/rocm/ |
D | rocm_fft.cc | 112 hipfftType ROCMFftType(fft::Type type) { in ROCMFftType() 114 case fft::Type::kC2CForward: in ROCMFftType() 115 case fft::Type::kC2CInverse: in ROCMFftType() 117 case fft::Type::kC2R: in ROCMFftType() 119 case fft::Type::kR2C: in ROCMFftType() 121 case fft::Type::kZ2ZForward: in ROCMFftType() 122 case fft::Type::kZ2ZInverse: in ROCMFftType() 124 case fft::Type::kZ2D: in ROCMFftType() 126 case fft::Type::kD2Z: in ROCMFftType() 149 fft::Type type, int batch_count, ScratchAllocator *scratch_allocator) { in Initialize() [all …]
|
D | rocm_fft.h | 45 class ROCMFftPlan : public fft::Plan { 50 fft_type_(fft::Type::kInvalid), in ROCMFftPlan() 70 uint64 output_distance, fft::Type type, 75 uint64 *elem_count, fft::Type type, 84 fft::Type fft_type_; 100 class ROCMFft : public fft::FftSupport { 114 bool DoFftWithDirectionInternal(Stream *stream, fft::Plan *plan, 122 bool DoFftInternal(Stream *stream, fft::Plan *plan, FuncT hipfft_exec,
|
/external/aac/libFDK/src/ |
D | FDK_hybrid.cpp | 555 FIXP_DBL fft[8]; in fourChannelFiltering() local 579 fft[FFT_IDX_R(0)] = in fourChannelFiltering() 586 fft[FFT_IDX_I(0)] = in fourChannelFiltering() 595 fft[FFT_IDX_R(1)] = in fourChannelFiltering() 602 fft[FFT_IDX_I(1)] = in fourChannelFiltering() 611 fft[FFT_IDX_R(2)] = in fourChannelFiltering() 620 fft[FFT_IDX_I(2)] = in fourChannelFiltering() 630 fft[FFT_IDX_R(3)] = in fourChannelFiltering() 637 fft[FFT_IDX_I(3)] = in fourChannelFiltering() 654 mHybridReal[0] = fft[FFT_IDX_R(0)] + fft[FFT_IDX_R(1)] + fft[FFT_IDX_R(2)] + in fourChannelFiltering() [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/tensorflow/tensorflow/compiler/tests/ |
D | fft_test.py | 108 self._VerifyFftMethod(INNER_DIMS_1D, lambda x: x, np.fft.fft, 109 signal.fft) 112 self._VerifyFftMethod(INNER_DIMS_2D, lambda x: x, np.fft.fft2, 117 lambda x: np.fft.fftn(x, axes=(-3, -2, -1)), 121 self._VerifyFftMethod(INNER_DIMS_1D, lambda x: x, np.fft.ifft, 125 self._VerifyFftMethod(INNER_DIMS_2D, lambda x: x, np.fft.ifft2, 130 lambda x: np.fft.ifftn(x, axes=(-3, -2, -1)), 135 INNER_DIMS_1D, np.real, lambda x: np.fft.rfft(x, n=x.shape[-1]), 146 lambda x: np.fft.rfft2(x, s=[x.shape[-2], x.shape[-1]]), _tf_fn) 151 return np.fft.rfftn( [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | fft_thunk.cc | 63 se::fft::Type FftTypeToSeType(FftType type) { in FftTypeToSeType() 66 return se::fft::Type::kC2CForward; in FftTypeToSeType() 68 return se::fft::Type::kC2CInverse; in FftTypeToSeType() 70 return se::fft::Type::kC2R; in FftTypeToSeType() 72 return se::fft::Type::kR2C; in FftTypeToSeType() 78 string FftTypeToString(se::fft::Type type) { in FftTypeToString() 80 case se::fft::Type::kC2CForward: in FftTypeToString() 82 case se::fft::Type::kC2CInverse: in FftTypeToString() 84 case se::fft::Type::kC2R: in FftTypeToString() 86 case se::fft::Type::kR2C: in FftTypeToString() [all …]
|
/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/speex/libspeexdsp/ |
D | echo_diagnostic.m | 21 corr = real(ifft(fft(rec).*conj(fft(play)))); 22 acorr = real(ifft(fft(play).*conj(fft(play)))); 40 corr1 = real(ifft(fft(rec(1:N2)).*conj(fft(play(1:N2))))); 41 corr2 = real(ifft(fft(rec(N2+1:end)).*conj(fft(play(N2+1:end)))));
|
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/ |
D | frontend.cc | 37 FftCompute(&state->fft, state->window.output, input_shift); in FrontendProcessSamples() 40 int32_t* energy = reinterpret_cast<int32_t*>(state->fft.output); in FrontendProcessSamples() 41 FilterbankConvertFftComplexToEnergy(&state->filterbank, state->fft.output, in FrontendProcessSamples() 55 MostSignificantBit32(state->fft.fft_size) - 1 - (kFilterbankBits / 2); in FrontendProcessSamples() 67 FftReset(&state->fft); in FrontendReset()
|
D | frontend_util.cc | 40 if (!FftPopulateState(error_reporter, &state->fft, state->window.size)) { in FrontendPopulateState() 44 FftInit(&state->fft); in FrontendPopulateState() 48 state->fft.fft_size / 2 + 1)) { in FrontendPopulateState() 61 MostSignificantBit32(state->fft.fft_size) - 1 - (kFilterbankBits / 2); in FrontendPopulateState()
|
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/ |
D | frontend.c | 37 FftCompute(&state->fft, state->window.output, input_shift); in FrontendProcessSamples() 40 int32_t* energy = (int32_t*) state->fft.output; in FrontendProcessSamples() 42 FilterbankConvertFftComplexToEnergy(&state->filterbank, state->fft.output, in FrontendProcessSamples() 57 MostSignificantBit32(state->fft.fft_size) - 1 - (kFilterbankBits / 2); in FrontendProcessSamples() 69 FftReset(&state->fft); in FrontendReset()
|
D | frontend_util.c | 39 if (!FftPopulateState(&state->fft, state->window.size)) { in FrontendPopulateState() 43 FftInit(&state->fft); in FrontendPopulateState() 46 sample_rate, state->fft.fft_size / 2 + 1)) { in FrontendPopulateState() 59 MostSignificantBit32(state->fft.fft_size) - 1 - (kFilterbankBits / 2); in FrontendPopulateState() 83 FftFreeStateContents(&state->fft); in FrontendFreeStateContents()
|
D | BUILD | 20 name = "fft", 22 "fft.c", 26 "fft.h", 44 ":fft", 60 ":fft", 129 ":fft",
|
/external/libaom/libaom/test/ |
D | fft_test.cc | 31 void fft(const InputType *data, std::complex<float> *result, int n) { in fft() function 41 fft(&temp[0], result, n / 2); in fft() 42 fft(&temp[n / 2], result + n / 2, n / 2); in fft() 67 fft(input + y * n, &rowfft[y * n], n); in fft2d() 71 fft(&rowfft[y * n], &result[y * n], n); in fft2d() 79 void (*fft)(const float *input, float *temp, float *output); member 80 FFTTestArg(int n_in, tform_fun_t fft_in) : n(n_in), fft(fft_in) {} in FFTTestArg() 84 return os << "fft_arg { n:" << test_arg.n << " fft:" << test_arg.fft << " }"; in operator <<() 113 GetParam().fft(&input_[0], &temp_[0], &output_[0]); in TEST_P() 130 GetParam().fft(&input_[0], &temp_[0], &output_[0]); in TEST_P()
|
/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/tensorflow/tensorflow/core/api_def/python_api/ |
D | api_def_FFT.pbtxt | 4 name: "signal.fft" 7 name: "spectral.fft" 11 name: "fft"
|
/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()
|