Searched defs:fft (Results 1 - 25 of 33) sorted by relevance

12

/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 Dtest_fft32.c74 void GenerateSignal(OMX_SC32* x, OMX_SC32* fft, int size, int signal_type) { argument
92 fft[k].Re = 0.5 + true_fft[k].Re;
93 fft[k].Im = 0.5 + true_fft[k].Im;
H A Dtest_float_fft.c92 void GenerateSignal(OMX_FC32* x, OMX_FC32* fft, int size, int signal_type, argument
95 (struct ComplexFloat *) fft,
H A Dtest_float_rfft.c99 void GenerateSignal(OMX_F32* x, OMX_FC32* fft, int size, int signal_type, argument
119 fft[k].Re = true_fft[k].Re;
120 fft[k].Im = true_fft[k].Im;
H A Dtest_rfft16_s16.c72 void GenerateSignal(struct ComplexFloat* fft, argument
78 GenerateTestSignalAndFFT(test_signal, fft, size, sigtype, signal_value, 1);
H A Dtest_rfft16_s32.c68 void GenerateSignal(OMX_S16* x, OMX_SC32* fft, int size, int signal_type) { argument
87 fft[k].Re = true_fft[k].Re + 0.5;
88 fft[k].Im = true_fft[k].Im + 0.5;
H A Dtest_rfft32.c72 void GenerateSignal(OMX_S32* x, OMX_SC32* fft, int size, int signal_type) { argument
91 fft[k].Re = 0.5 + true_fft[k].Re;
92 fft[k].Im = 0.5 + true_fft[k].Im;
H A Dtest_fft16.c96 void GenerateSignal(OMX_SC16* x, struct ComplexFloat* fft, argument
101 GenerateTestSignalAndFFT(x_true, fft, size, sigtype, signal_value, 0);
H A Dtest_fft_time.c89 "%s: [-hTFICA] [-f fft] [-c count] [-n logsize] [-s scale]\n"
413 void GenerateRealFloatSignal(OMX_F32* x, OMX_FC32* fft, int size, argument
434 fft[k].Re = true_fft[k].Re;
435 fft[k].Im = true_fft[k].Im;
532 void generateSC32Signal(OMX_SC32* x, OMX_SC32* fft, int size, int signal_type, argument
550 fft[k].Re = 0.5 + true_fft[k].Re;
551 fft[k].Im = 0.5 + true_fft[k].Im;
714 void generateSC16Signal(OMX_SC16* x, OMX_SC16* fft, int size, int signal_type, argument
732 fft[k].Re = 0.5 + true_fft[k].Re;
733 fft[
896 GenerateRFFT16Signal(OMX_S16* x, OMX_SC32* fft, int size, int signal_type, float signal_value) argument
1167 GenerateRFFT32Signal(OMX_S32* x, OMX_SC32* fft, int size, int signal_type, float signal_value) argument
[all...]
/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/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/eigen/unsupported/doc/examples/
H A DFFT.cpp82 static FFT<Scalar> fft; local
83 fft.fwd(freqbuf,timebuf);
86 fft.inv(timebuf2,freqbuf);
/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...]
/external/speex/libspeex/
H A Dfftwrap.c175 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);
/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...]
/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/aac/libFDK/src/
H A Dfft.cpp91 #include "fft.h"
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 \
1117 /* Perform the modulation of the output of the fft of length dim1 */ \
1120 /* Perform dim1 times the fft of length dim2. The input samples are at the address of aDst and the \
1121 output samples are at the address of pInput. The input vector for the fft of length dim2 is built \
1182 /* Perform dim2 times the fft of length dim1. The input samples are at the address of pSrc and the
1183 output samples are at the address of pDst. The input vector for the fft o
1332 void fft(int length, FIXP_DBL *pInput, INT *pScalefactor) function
[all...]
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/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/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/chromium_org/third_party/webrtc/modules/audio_processing/aec/
H A Daec_core_mips.c437 float* fft,
461 "addiu %[fft_tmp], %[fft], 0 \n\t"
515 "swc1 %[f8], 4(%[fft]) \n\t"
524 : [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] "
436 WebRtcAec_FilterAdaptation_mips(AecCore* aec, float* fft, float ef[2][PART_LEN1]) argument
[all...]
/external/srec/srec/cfront/
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/srec/srec/include/
H A Dfront.h36 #include "fft.h"
172 fft_info fft; member in struct:__anon31104
281 ** fft 0
/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...]

Completed in 355 milliseconds

12