Lines Matching refs:wave

370         CvComplex64f* wave = (CvComplex64f*)_wave;  in icvDFTInit()  local
372 wave[0].re = 1.; in icvDFTInit()
373 wave[0].im = 0.; in icvDFTInit()
377 wave[n].re = -1.; in icvDFTInit()
378 wave[n].im = 0; in icvDFTInit()
383 wave[i] = w; in icvDFTInit()
384 wave[n0-i].re = w.re; in icvDFTInit()
385 wave[n0-i].im = -w.im; in icvDFTInit()
394 CvComplex32f* wave = (CvComplex32f*)_wave; in icvDFTInit() local
397 wave[0].re = 1.f; in icvDFTInit()
398 wave[0].im = 0.f; in icvDFTInit()
402 wave[n].re = -1.f; in icvDFTInit()
403 wave[n].im = 0.f; in icvDFTInit()
408 wave[i].re = (float)w.re; in icvDFTInit()
409 wave[i].im = (float)w.im; in icvDFTInit()
410 wave[n0-i].re = (float)w.re; in icvDFTInit()
411 wave[n0-i].im = (float)-w.im; in icvDFTInit()
435 const CvComplex64f* wave, int tab_size, in icvDFT_64fc() argument
587 r2 = v0[nx].re*wave[dw*2].re - v0[nx].im*wave[dw*2].im; in icvDFT_64fc()
588 i2 = v0[nx].re*wave[dw*2].im + v0[nx].im*wave[dw*2].re; in icvDFT_64fc()
589 r0 = v1[0].re*wave[dw].im + v1[0].im*wave[dw].re; in icvDFT_64fc()
590 i0 = v1[0].re*wave[dw].re - v1[0].im*wave[dw].im; in icvDFT_64fc()
591 r3 = v1[nx].re*wave[dw*3].im + v1[nx].im*wave[dw*3].re; in icvDFT_64fc()
592 i3 = v1[nx].re*wave[dw*3].re - v1[nx].im*wave[dw*3].im; in icvDFT_64fc()
629 r1 = v[nx].re*wave[dw].re - v[nx].im*wave[dw].im; in icvDFT_64fc()
630 i1 = v[nx].im*wave[dw].re + v[nx].re*wave[dw].im; in icvDFT_64fc()
669 r0 = v[nx].re*wave[dw].re - v[nx].im*wave[dw].im; in icvDFT_64fc()
670 i0 = v[nx].re*wave[dw].im + v[nx].im*wave[dw].re; in icvDFT_64fc()
671 i2 = v[nx*2].re*wave[dw*2].re - v[nx*2].im*wave[dw*2].im; in icvDFT_64fc()
672 r2 = v[nx*2].re*wave[dw*2].im + v[nx*2].im*wave[dw*2].re; in icvDFT_64fc()
697 r3 = v0[nx].re*wave[dw].re - v0[nx].im*wave[dw].im; in icvDFT_64fc()
698 i3 = v0[nx].re*wave[dw].im + v0[nx].im*wave[dw].re; in icvDFT_64fc()
699 r2 = v2[0].re*wave[dw*4].re - v2[0].im*wave[dw*4].im; in icvDFT_64fc()
700 i2 = v2[0].re*wave[dw*4].im + v2[0].im*wave[dw*4].re; in icvDFT_64fc()
705 r4 = v1[nx].re*wave[dw*3].re - v1[nx].im*wave[dw*3].im; in icvDFT_64fc()
706 i4 = v1[nx].re*wave[dw*3].im + v1[nx].im*wave[dw*3].re; in icvDFT_64fc()
707 r0 = v1[0].re*wave[dw*2].re - v1[0].im*wave[dw*2].im; in icvDFT_64fc()
708 i0 = v1[0].re*wave[dw*2].im + v1[0].im*wave[dw*2].re; in icvDFT_64fc()
771 const CvComplex64f* wave_ = wave + dw*factor; in icvDFT_64fc()
776 double r2 = v[k].re*wave[d].re - v[k].im*wave[d].im; in icvDFT_64fc()
777 double i2 = v[k].re*wave[d].im + v[k].im*wave[d].re; in icvDFT_64fc()
802 double r0 = wave[d].re * a[q].re; in icvDFT_64fc()
803 double i0 = wave[d].im * a[q].im; in icvDFT_64fc()
804 double r1 = wave[d].re * b[q].im; in icvDFT_64fc()
805 double i1 = wave[d].im * b[q].re; in icvDFT_64fc()
858 const CvComplex32f* wave, int tab_size, in icvDFT_32fc() argument
1013 r2 = v0[nx].re*wave[dw*2].re - v0[nx].im*wave[dw*2].im; in icvDFT_32fc()
1014 i2 = v0[nx].re*wave[dw*2].im + v0[nx].im*wave[dw*2].re; in icvDFT_32fc()
1015 r0 = v1[0].re*wave[dw].im + v1[0].im*wave[dw].re; in icvDFT_32fc()
1016 i0 = v1[0].re*wave[dw].re - v1[0].im*wave[dw].im; in icvDFT_32fc()
1017 r3 = v1[nx].re*wave[dw*3].im + v1[nx].im*wave[dw*3].re; in icvDFT_32fc()
1018 i3 = v1[nx].re*wave[dw*3].re - v1[nx].im*wave[dw*3].im; in icvDFT_32fc()
1055 r1 = v[nx].re*wave[dw].re - v[nx].im*wave[dw].im; in icvDFT_32fc()
1056 i1 = v[nx].im*wave[dw].re + v[nx].re*wave[dw].im; in icvDFT_32fc()
1095 r0 = v[nx].re*wave[dw].re - v[nx].im*wave[dw].im; in icvDFT_32fc()
1096 i0 = v[nx].re*wave[dw].im + v[nx].im*wave[dw].re; in icvDFT_32fc()
1097 i2 = v[nx*2].re*wave[dw*2].re - v[nx*2].im*wave[dw*2].im; in icvDFT_32fc()
1098 r2 = v[nx*2].re*wave[dw*2].im + v[nx*2].im*wave[dw*2].re; in icvDFT_32fc()
1123 r3 = v0[nx].re*wave[dw].re - v0[nx].im*wave[dw].im; in icvDFT_32fc()
1124 i3 = v0[nx].re*wave[dw].im + v0[nx].im*wave[dw].re; in icvDFT_32fc()
1125 r2 = v2[0].re*wave[dw*4].re - v2[0].im*wave[dw*4].im; in icvDFT_32fc()
1126 i2 = v2[0].re*wave[dw*4].im + v2[0].im*wave[dw*4].re; in icvDFT_32fc()
1131 r4 = v1[nx].re*wave[dw*3].re - v1[nx].im*wave[dw*3].im; in icvDFT_32fc()
1132 i4 = v1[nx].re*wave[dw*3].im + v1[nx].im*wave[dw*3].re; in icvDFT_32fc()
1133 r0 = v1[0].re*wave[dw*2].re - v1[0].im*wave[dw*2].im; in icvDFT_32fc()
1134 i0 = v1[0].re*wave[dw*2].im + v1[0].im*wave[dw*2].re; in icvDFT_32fc()
1197 const CvComplex32f* wave_ = wave + dw*factor; in icvDFT_32fc()
1202 double r2 = v[k].re*wave[d].re - v[k].im*wave[d].im; in icvDFT_32fc()
1203 double i2 = v[k].re*wave[d].im + v[k].im*wave[d].re; in icvDFT_32fc()
1229 double r0 = wave[d].re * a[q].re; in icvDFT_32fc()
1230 double i0 = wave[d].im * a[q].im; in icvDFT_32fc()
1231 double r1 = wave[d].re * b[q].im; in icvDFT_32fc()
1232 double i1 = wave[d].im * b[q].re; in icvDFT_32fc()
1291 const CvComplex##flavor* wave, int tab_size, \
1332 icvDFT_##flavor##c( _dst, _dst, n, nf, factors, itab, wave, \
1349 itab, wave, tab_size, 0, buf, 0, 1. ); \
1360 for( j = 2, wave++; j < n2; j += 2, wave++ ) \
1371 t = h2_re*wave->re - h2_im*wave->im; \
1372 h2_im = h2_re*wave->im + h2_im*wave->re; \
1410 const CvComplex##flavor* wave, int tab_size, \
1460 icvDFT_##flavor##c( _dst, _dst, n, nf, factors, itab, wave, \
1474 const CvComplex##flavor* w = wave; \
1544 wave, tab_size, 0, buf, \
1739 const int* itab, const void* wave, int tab_size,
1857 uchar* wave = 0; in cvDFT() local
1973 wave = ptr; in cvDFT()
1980 wave, stage == 0 && inv && real_transform ); in cvDFT()
2022 dft_func( sptr, dptr, len, nf, factors, itab, wave, len, spec, ptr, _flags, scale ); in cvDFT()
2110 wave, len, spec, ptr, inv, scale )); in cvDFT()
2112 wave, len, spec, ptr, inv, scale )); in cvDFT()
2161 wave, len, spec, ptr, inv, scale )); in cvDFT()
2167 wave, len, spec, ptr, inv, scale )); in cvDFT()
2541 CvComplex64f* wave = (CvComplex64f*)_wave; in icvDCTInit() local
2548 wave[i] = w; in icvDCTInit()
2556 CvComplex32f* wave = (CvComplex32f*)_wave; in icvDCTInit() local
2564 wave[i].re = (float)w.re; in icvDCTInit()
2565 wave[i].im = (float)w.im; in icvDCTInit()