Home
last modified time | relevance | path

Searched refs:k (Results 1 – 5 of 5) sorted by relevance

/chre-3.4.0/external/kiss_fft/
Dkiss_fftr.c80 int k,ncfft; in kiss_fftr() local
119 for ( k=1;k <= ncfft/2 ; ++k ) { in kiss_fftr()
120 fpk = st->tmpbuf[k]; in kiss_fftr()
121 fpnk.r = st->tmpbuf[ncfft-k].r; in kiss_fftr()
122 fpnk.i = - st->tmpbuf[ncfft-k].i; in kiss_fftr()
128 C_MUL( tw , f2k , st->super_twiddles[k-1]); in kiss_fftr()
130 freqdata[k].r = HALF_OF(f1k.r + tw.r); in kiss_fftr()
131 freqdata[k].i = HALF_OF(f1k.i + tw.i); in kiss_fftr()
132 freqdata[ncfft-k].r = HALF_OF(f1k.r - tw.r); in kiss_fftr()
133 freqdata[ncfft-k].i = HALF_OF(tw.i - f1k.i); in kiss_fftr()
[all …]
Dkissfft.hh125 for (int k=0;k<m;++k) { in kf_bfly2() local
126 cpx_type t = Fout[m+k] * _traits.twiddle(k*fstride); in kf_bfly2()
127 Fout[m+k] = Fout[k] - t; in kf_bfly2()
128 Fout[k] += t; in kf_bfly2()
136 for (size_t k=0;k<m;++k) { in kf_bfly4() local
137 scratch[0] = Fout[k+m] * _traits.twiddle(k*fstride); in kf_bfly4()
138 scratch[1] = Fout[k+2*m] * _traits.twiddle(k*fstride*2); in kf_bfly4()
139 scratch[2] = Fout[k+3*m] * _traits.twiddle(k*fstride*3); in kf_bfly4()
140 scratch[5] = Fout[k] - scratch[1]; in kf_bfly4()
142 Fout[k] += scratch[1]; in kf_bfly4()
[all …]
Dkiss_fft.c61 size_t k=m; in kf_bfly4() local
97 }while(--k); in kf_bfly4()
107 size_t k=m; in kf_bfly3() local
141 }while(--k); in kf_bfly3()
214 int u,k,q1,q; in kf_bfly_generic() local
222 k=u; in kf_bfly_generic()
224 scratch[q1] = Fout[ k ]; in kf_bfly_generic()
226 k += m; in kf_bfly_generic()
229 k=u; in kf_bfly_generic()
232 Fout[ k ] = scratch[0]; in kf_bfly_generic()
[all …]
D_kiss_fft_guts.h77 # define DIVSCALAR(x,k) \ argument
78 (x) = sround( smul( x, SAMP_MAX/k ) )
/chre-3.4.0/chpp/test/
Dtransport_test.cpp105 volatile uint32_t k = 1; in WaitForTransport() local
106 while (transportContext->linkParams.notifier.signal == 0 && k > 0) { in WaitForTransport()
107 k++; in WaitForTransport()
109 while (transportContext->linkParams.notifier.signal != 0 && k > 0) { in WaitForTransport()
110 k++; in WaitForTransport()
112 ASSERT_FALSE(k == 0); in WaitForTransport()
113 while (k < UINT16_MAX) { in WaitForTransport()
114 k++; in WaitForTransport()
116 while (k > 0) { in WaitForTransport()
117 k--; in WaitForTransport()