/cts/suite/audio_quality/test_description/processing/ |
calc_thd.py | 19 import scipy.fftpack as fft namespace 25 fftData = abs(fft.fft(data * np.hanning(len(data))))
|
gen_random.py | 20 import scipy.fftpack as fft namespace 34 fftData = fft.rfft(randomSignal) 47 filteredData = fft.irfft(fftData) 49 #plt.plot(freq, abs(fft.fft(filteredData)))
|
check_spectrum.py | 20 import scipy.fftpack as fft namespace 40 # reduce FFT resolution to have averaging effects
|
check_spectrum_playback.py | 20 import scipy.fftpack as fft namespace 39 # reduce FFT resolution to have averaging effects
|
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
real_fft_unittest.cc | 21 // FFT order. 23 // Lengths for real FFT's time and frequency bufffers. 24 // For N-point FFT, the length requirements from API are N and N+2 respectively. 27 // For complex FFT's time and freq buffer. The implementation requires 46 RealFFT* fft = WebRtcSpl_CreateRealFFT(11); local 47 EXPECT_TRUE(fft == NULL); 48 fft = WebRtcSpl_CreateRealFFT(-1); 49 EXPECT_TRUE(fft == NULL); 57 // One common buffer for complex FFT's time and frequency data. 60 // Prepare the inputs to forward FFT's 68 RealFFT* fft = WebRtcSpl_CreateRealFFT(kOrder); local [all...] |
/external/eigen/bench/ |
benchFFT.cpp | 17 #include <unsupported/Eigen/FFT> 51 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) [all...] |
/external/eigen/unsupported/doc/examples/ |
FFT.cpp | 1 // To use the simple FFT implementation 2 // g++ -o demofft -I.. -Wall -O3 FFT.cpp 5 // g++ -o demofft -I.. -DUSE_FFTW -Wall -O3 FFT.cpp -lfftw3 -lfftw3f -lfftw3l 17 #include <unsupported/Eigen/FFT> 82 static FFT<Scalar> fft; local 83 fft.fwd(freqbuf,timebuf); 86 fft.inv(timebuf2,freqbuf);
|
/external/eigen/unsupported/test/ |
FFTW.cpp | 11 #include <unsupported/Eigen/FFT> 80 typedef typename FFT<T>::Complex Complex; 81 typedef typename FFT<T>::Scalar Scalar; 85 FFT<T> fft; local 93 fft.SetFlag(fft.HalfSpectrum ); 94 fft.fwd( freqBuf,tbuf); 98 fft.ClearFlag(fft.HalfSpectrum ) 146 FFT<T> fft; local 217 FFT<float> fft; local [all...] |
/external/speex/libspeex/ |
fftwrap.c | 104 speex_warning("FFT should not be done in-place"); 120 speex_warning("FFT should not be done in-place"); 175 fftwf_plan fft; member in struct:fftw_config 186 table->fft = fftwf_plan_dft_r2c_1d(size, table->in, (fftwf_complex *) table->out, FFTW_PATIENT); 196 fftwf_destroy_plan(t->fft); 215 fftwf_execute(t->fft); 306 #error No other FFT implemented
|
/frameworks/av/media/libmedia/ |
Visualizer.cpp | 281 status_t Visualizer::getFft(uint8_t *fft) 283 if (fft == NULL) { 295 status = doFft(fft, buf); 298 memset(fft, 0, mCaptureSize); 303 status_t Visualizer::doFft(uint8_t *fft, uint8_t *waveform) 321 fft[i] = tmp; 325 fft[i + 1] = tmp; 344 uint8_t fft[mCaptureSize]; local 346 status = doFft(fft, waveform); 360 fftPtr = fft; [all...] |
/external/libvorbis/lib/ |
psytune.c | 329 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[(j+1)>>1]=todB(&temp) 361 float *fft=work[i]; local [all...] |
/external/aac/libFDK/src/ |
FDK_hybrid.cpp | 94 #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_R(3)] = ( fMult(p[11], ( fMultSub(fMultDiv2(cr[ 1], pQmfReal[pReadIdx[ 1]]), ci[ 1], pQmf (…) [all...] |
fft.cpp | 87 Description: Fix point FFT 91 #include "fft.h" 104 /* Performs the FFT of length 3 according to the algorithm after winograd. 138 /* performs the FFT of length 5 according to the algorithm after winograd */ 203 /* Performs the FFT of length 15. It is split into FFTs of length 3 and length 5. */ 210 /* Sort input vector for fft's of length 3 263 /* Sort input vector for fft's of length 5 1095 /* Perform dim2 times the fft of length dim1. The input samples are at the address of pSrc and the \ 1096 output samples are at the address of pDst. The input vector for the fft of length dim1 is built \ 1332 void fft(int length, FIXP_DBL *pInput, INT *pScalefactor) function [all...] |
/external/aac/libSBRdec/src/ |
psdec_hybrid.cpp | 87 #include "fft.h" 213 Implementation using a FFT of length 8 242 Try to split off FFT Modulation Term: 243 FFT(x[t], q) = sum(x[t+k]*exp(-j*2*pi/N *q * k)) 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 383 FIXP_DBL *fft = (FIXP_DBL *)ALIGN_PTR(_fft); local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/aecm/ |
aecm_core_c.c | 66 int16_t* fft, 72 // FFT of signal 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( 86 // Do forward FFT, then take only the first PART_LEN complex samples, 88 WebRtcSpl_RealForwardFFT(aecm->real_fft, fft, (int16_t*)freq_signal); 95 int16_t* fft, 102 // Reuse |efw| for the inverse FFT output after transferring 103 // the contents to |fft| 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...] |
aecm_core_mips.c | 76 int16_t* fft, 88 memset(fft, 0, sizeof(int16_t) * PART_LEN4); 90 // FFT of signal 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) 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/chromium_org/third_party/webrtc/modules/audio_processing/aec/ |
aec_core.c | 321 // static void FilterAdaptationUnconstrained(AecCore* aec, float *fft, 345 static void FilterAdaptation(AecCore* aec, float* fft, float ef[2][PART_LEN1]) { 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...] |
/external/srec/srec/include/ |
front.h | 36 #include "fft.h" 161 int *spectrum_filter; /* List of FFT taps to filter */ 172 fft_info fft; member in struct:__anon34821 281 ** fft 0
|
/external/webrtc/src/modules/audio_processing/aec/ |
aec_core.c | 287 //static void FilterAdaptationUnconstrained(aec_t *aec, float *fft, 311 static void FilterAdaptation(aec_t *aec, float *fft, float ef[2][PART_LEN1]) { 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...] |
/external/webrtc/src/modules/audio_processing/aecm/ |
aecm_core.c | 361 static void WindowAndFFTC(WebRtc_Word16* fft, 368 memset(fft, 0, sizeof(WebRtc_Word16) * PART_LEN4); 369 // FFT of signal 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] 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/robolectric/lib/main/ |
android.jar | |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |