Searched refs:frfi (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/src/common_audio/signal_processing_library/main/source/ |
D | complex_ifft.c | 27 int WebRtcSpl_ComplexIFFT2(WebRtc_Word16 frfi[], WebRtc_Word16 frfiOut[], int stages, int mode) in WebRtcSpl_ComplexIFFT2() argument 29 FFT_4OIQ14(frfi, frfiOut, 1 << stages, 0); in WebRtcSpl_ComplexIFFT2() 34 int WebRtcSpl_ComplexIFFT(WebRtc_Word16 frfi[], int stages, int mode) in WebRtcSpl_ComplexIFFT() argument 60 tmp32 = (WebRtc_Word32)WebRtcSpl_MaxAbsValueW16(frfi, 2 * n); in WebRtcSpl_ComplexIFFT() 94 tr32 = WEBRTC_SPL_RSHIFT_W32((WEBRTC_SPL_MUL_16_16_RSFT(wr, frfi[2 * j], 0) in WebRtcSpl_ComplexIFFT() 95 - WEBRTC_SPL_MUL_16_16_RSFT(wi, frfi[2 * j + 1], 0)), 15); in WebRtcSpl_ComplexIFFT() 98 (WEBRTC_SPL_MUL_16_16_RSFT(wr, frfi[2 * j + 1], 0) in WebRtcSpl_ComplexIFFT() 99 + WEBRTC_SPL_MUL_16_16_RSFT(wi,frfi[2*j],0)), 15); in WebRtcSpl_ComplexIFFT() 101 qr32 = (WebRtc_Word32)frfi[2 * i]; in WebRtcSpl_ComplexIFFT() 102 qi32 = (WebRtc_Word32)frfi[2 * i + 1]; in WebRtcSpl_ComplexIFFT() [all …]
|
D | complex_fft.c | 28 int WebRtcSpl_ComplexFFT2(WebRtc_Word16 frfi[], WebRtc_Word16 frfiOut[], int stages, int mode) in WebRtcSpl_ComplexFFT2() argument 30 return FFT_4OFQ14(frfi, frfiOut, 1 << stages, 0); in WebRtcSpl_ComplexFFT2() 34 int WebRtcSpl_ComplexFFT(WebRtc_Word16 frfi[], int stages, int mode) in WebRtcSpl_ComplexFFT() argument 73 tr32 = WEBRTC_SPL_RSHIFT_W32((WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j]) in WebRtcSpl_ComplexFFT() 74 - WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j + 1])), 15); in WebRtcSpl_ComplexFFT() 76 ti32 = WEBRTC_SPL_RSHIFT_W32((WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j + 1]) in WebRtcSpl_ComplexFFT() 77 + WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j])), 15); in WebRtcSpl_ComplexFFT() 79 qr32 = (WebRtc_Word32)frfi[2 * i]; in WebRtcSpl_ComplexFFT() 80 qi32 = (WebRtc_Word32)frfi[2 * i + 1]; in WebRtcSpl_ComplexFFT() 81 frfi[2 * j] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(qr32 - tr32, 1); in WebRtcSpl_ComplexFFT() [all …]
|
D | complex_bit_reverse.c | 20 void WebRtcSpl_ComplexBitReverse(WebRtc_Word16 frfi[], int stages) in WebRtcSpl_ComplexBitReverse() argument 43 tr = frfi[2 * m]; in WebRtcSpl_ComplexBitReverse() 44 frfi[2 * m] = frfi[2 * mr]; in WebRtcSpl_ComplexBitReverse() 45 frfi[2 * mr] = tr; in WebRtcSpl_ComplexBitReverse() 47 ti = frfi[2 * m + 1]; in WebRtcSpl_ComplexBitReverse() 48 frfi[2 * m + 1] = frfi[2 * mr + 1]; in WebRtcSpl_ComplexBitReverse() 49 frfi[2 * mr + 1] = ti; in WebRtcSpl_ComplexBitReverse()
|