Home | History | Annotate | Download | only in cfront

Lines Matching refs:pthis

138   srfft* pthis;
143 pthis = (srfft*) CALLOC(1, sizeof(srfft), "srfft");
144 pthis->m_logLength = logLength;
145 pthis->m_length = 1 << logLength;
147 allocate_bitreverse_tbl(pthis);
148 allocate_butterfly_tbl(pthis);
149 allocate_trigonomy_tbl(pthis);
151 return pthis;
171 void allocate_butterfly_tbl(srfft* pthis)
178 m = pthis->m_logLength;
192 n = pthis->m_length;
230 pthis->m_butterflyIndexTbl = butterflyIndex;
269 void allocate_trigonomy_tbl(srfft* pthis)
275 m = pthis->m_logLength;
276 n = pthis->m_length;
317 pthis->m_cos1Tbl = pcos1;
318 pthis->m_sin1Tbl = psin1;
319 pthis->m_cos2Tbl = pcos2;
320 pthis->m_sin2Tbl = psin2;
321 pthis->m_cos3Tbl = pcos3;
322 pthis->m_sin3Tbl = psin3;
329 void allocate_bitreverse_tbl(srfft* pthis)
334 n = pthis->m_length;
338 m = pthis->m_logLength;
351 pthis->m_bitreverseTbl = tbl;
481 void do_fft1(srfft* pthis, unsigned length2, fftdata* data)
490 indexTbl = pthis->m_butterflyIndexTbl;
494 cos1 = pthis->m_cos1Tbl;
495 sin1 = pthis->m_sin1Tbl;
496 cos3 = pthis->m_cos3Tbl;
497 sin3 = pthis->m_sin3Tbl;
500 n = pthis->m_length;
501 m = pthis->m_logLength;
565 indexTbl = pthis->m_bitreverseTbl;
586 void do_real_fft(srfft* pthis, unsigned n, fftdata* data)
593 cos2 = pthis->m_cos2Tbl;
594 sin2 = pthis->m_sin2Tbl;
600 do_fft1(pthis, n, data);
640 int do_real_fft_magsq(srfft* pthis, unsigned n, fftdata* data)
667 scale = 8 * sizeof(fftdata) - 2 - pthis->m_logLength;
686 do_real_fft(pthis, n, data);
789 scale += pthis->m_logLength + 1;