Lines Matching refs:vr
337 #define SUMDIFF_EIGTH(x, y, ix, iy, vr, vi, ur, ui) \ argument
338 vr = (x[ 0 + ix]>>1) + (x[16 + ix]>>1); /* Re A + Re B */ \
342 y[ 0 + iy] = vr + vi; /* Re A' = ReA + ReB +ReC + ReD */ \
343 y[ 4 + iy] = vr - vi; /* Re C' = -(ReC+ReD) + (ReA+ReB) */ \
346 vr -= x[16 + ix]; /* Re A - Re B */ \
350 y[ 2 + iy] = ui + vr; /* Re B' = Im C - Im D + Re A - Re B */ \
351 y[ 6 + iy] = vr - ui; /* Re D' = -Im C + Im D + Re A - Re B */ \
360 FIXP_DBL vr, vi, ur, ui; in fft_16() local
363 SUMDIFF_EIGTH(x, y, 0, 0, vr, vi, ur, ui); in fft_16()
364 SUMDIFF_EIGTH(x, y, 4, 8, vr, vi, ur, ui); in fft_16()
365 SUMDIFF_EIGTH(x, y, 2, 16, vr, vi, ur, ui); in fft_16()
366 SUMDIFF_EIGTH(x, y, 6, 24, vr, vi, ur, ui); in fft_16()
370 vr = y[ 8]; in fft_16()
374 x[ 0] = ur + (vr>>1); in fft_16()
376 x[ 8] = ur - (vr>>1); in fft_16()
381 vr = y[13]; in fft_16()
385 x[ 4] = ur + (vr>>1); in fft_16()
387 x[12] = ur - (vr>>1); in fft_16()
392 vr = y[24]; in fft_16()
396 x[16] = ur + (vr>>1); in fft_16()
398 x[24] = ur - (vr>>1); in fft_16()
403 vr = y[29]; in fft_16()
407 x[20] = ur + (vr>>1); in fft_16()
409 x[28] = ur - (vr>>1); in fft_16()
414 SUMDIFF_PIFOURTH(vi, vr, y[10], y[11]) in fft_16()
419 x[ 2] = (ur>>1) + vr; in fft_16()
421 x[10] = (ur>>1) - vr; in fft_16()
426 SUMDIFF_PIFOURTH(vr, vi, y[14], y[15]) in fft_16()
429 x[ 6] = (ur>>1) + vr; in fft_16()
431 x[14] = (ur>>1) - vr; in fft_16()
436 SUMDIFF_PIFOURTH(vi, vr, y[26], y[27]) in fft_16()
439 x[18] = (ur>>1) + vr; in fft_16()
441 x[26] = (ur>>1) - vr; in fft_16()
446 SUMDIFF_PIFOURTH(vr, vi, y[30], y[31]) in fft_16()
449 x[22] = (ur>>1) + vr; in fft_16()
451 x[30] = (ur>>1) - vr; in fft_16()
456 vr = x[16]; in fft_16()
460 x[ 0] = ur + (vr>>1); in fft_16()
462 x[16] = ur - (vr>>1); in fft_16()
468 vr = x[25]; in fft_16()
471 x[ 8] = ur + (vr>>1); in fft_16()
473 x[24] = ur - (vr>>1); in fft_16()
478 cplxMultDiv2(&vi, &vr, x[19], x[18], fft16_w16[0]); in fft_16()
481 x[ 2] = (ur>>1) + vr; in fft_16()
483 x[18] = (ur>>1) - vr; in fft_16()
488 cplxMultDiv2(&vr, &vi, x[27], x[26], fft16_w16[0]); in fft_16()
491 x[10] = (ur>>1) + vr; in fft_16()
493 x[26] = (ur>>1) - vr; in fft_16()
498 SUMDIFF_PIFOURTH(vi, vr, x[20], x[21]) in fft_16()
501 x[ 4] = (ur>>1) + vr; in fft_16()
503 x[20] = (ur>>1) - vr; in fft_16()
508 SUMDIFF_PIFOURTH(vr, vi, x[28], x[29]) in fft_16()
511 x[12] = (ur>>1) + vr; in fft_16()
513 x[28] = (ur>>1) - vr; in fft_16()
518 cplxMultDiv2(&vi, &vr, x[23], x[22], fft16_w16[1]); in fft_16()
521 x[ 6] = (ur>>1) + vr; in fft_16()
523 x[22] = (ur>>1) - vr; in fft_16()
528 cplxMultDiv2(&vr, &vi, x[31], x[30], fft16_w16[1]); in fft_16()
531 x[14] = (ur>>1) + vr; in fft_16()
533 x[30] = (ur>>1) - vr; in fft_16()
550 FIXP_DBL vr,vi,ur,ui; in fft_32() local
560 vr = (x[ 0] + x[32])>>1; /* Re A + Re B */ in fft_32()
565 y[ 0] = vr + (vi>>1); /* Re A' = ReA + ReB +ReC + ReD */ in fft_32()
566 y[ 4] = vr - (vi>>1); /* Re C' = -(ReC+ReD) + (ReA+ReB) */ in fft_32()
570 vr -= x[32]; /* Re A - Re B */ in fft_32()
575 y[ 2] = ui + vr; /* Re B' = Im C - Im D + Re A - Re B */ in fft_32()
576 y[ 6] = vr - ui; /* Re D' = -Im C + Im D + Re A - Re B */ in fft_32()
581 vr = (x[ 8] + x[40])>>1; /* Re A + Re B */ in fft_32()
586 y[ 8] = vr + (vi>>1); /* Re A' = ReA + ReB +ReC + ReD */ in fft_32()
587 y[12] = vr - (vi>>1); /* Re C' = -(ReC+ReD) + (ReA+ReB) */ in fft_32()
591 vr -= x[40]; /* Re A - Re B */ in fft_32()
596 y[10] = ui + vr; /* Re B' = Im C - Im D + Re A - Re B */ in fft_32()
597 y[14] = vr - ui; /* Re D' = -Im C + Im D + Re A - Re B */ in fft_32()
602 vr = (x[ 4] + x[36])>>1; /* Re A + Re B */ in fft_32()
607 y[16] = vr + (vi>>1); /* Re A' = ReA + ReB +ReC + ReD */ in fft_32()
608 y[20] = vr - (vi>>1); /* Re C' = -(ReC+ReD) + (ReA+ReB) */ in fft_32()
612 vr -= x[36]; /* Re A - Re B */ in fft_32()
617 y[18] = ui + vr; /* Re B' = Im C - Im D + Re A - Re B */ in fft_32()
618 y[22] = vr - ui; /* Re D' = -Im C + Im D + Re A - Re B */ in fft_32()
623 vr = (x[12] + x[44])>>1; /* Re A + Re B */ in fft_32()
628 y[24] = vr + (vi>>1); /* Re A' = ReA + ReB +ReC + ReD */ in fft_32()
629 y[28] = vr - (vi>>1); /* Re C' = -(ReC+ReD) + (ReA+ReB) */ in fft_32()
633 vr -= x[44]; /* Re A - Re B */ in fft_32()
638 y[26] = ui + vr; /* Re B' = Im C - Im D + Re A - Re B */ in fft_32()
639 y[30] = vr - ui; /* Re D' = -Im C + Im D + Re A - Re B */ in fft_32()
644 vr = (x[ 2] + x[34])>>1; /* Re A + Re B */ in fft_32()
649 y[32] = vr + (vi>>1); /* Re A' = ReA + ReB +ReC + ReD */ in fft_32()
650 y[36] = vr - (vi>>1); /* Re C' = -(ReC+ReD) + (ReA+ReB) */ in fft_32()
654 vr -= x[34]; /* Re A - Re B */ in fft_32()
659 y[34] = ui + vr; /* Re B' = Im C - Im D + Re A - Re B */ in fft_32()
660 y[38] = vr - ui; /* Re D' = -Im C + Im D + Re A - Re B */ in fft_32()
665 vr = (x[10] + x[42])>>1; /* Re A + Re B */ in fft_32()
670 y[40] = vr + (vi>>1); /* Re A' = ReA + ReB +ReC + ReD */ in fft_32()
671 y[44] = vr - (vi>>1); /* Re C' = -(ReC+ReD) + (ReA+ReB) */ in fft_32()
675 vr -= x[42]; /* Re A - Re B */ in fft_32()
680 y[42] = ui + vr; /* Re B' = Im C - Im D + Re A - Re B */ in fft_32()
681 y[46] = vr - ui; /* Re D' = -Im C + Im D + Re A - Re B */ in fft_32()
686 vr = (x[ 6] + x[38])>>1; /* Re A + Re B */ in fft_32()
691 y[48] = vr + (vi>>1); /* Re A' = ReA + ReB +ReC + ReD */ in fft_32()
692 y[52] = vr - (vi>>1); /* Re C' = -(ReC+ReD) + (ReA+ReB) */ in fft_32()
696 vr -= x[38]; /* Re A - Re B */ in fft_32()
701 y[50] = ui + vr; /* Re B' = Im C - Im D + Re A - Re B */ in fft_32()
702 y[54] = vr - ui; /* Re D' = -Im C + Im D + Re A - Re B */ in fft_32()
707 vr = (x[14] + x[46])>>1; /* Re A + Re B */ in fft_32()
712 y[56] = vr + (vi>>1); /* Re A' = ReA + ReB +ReC + ReD */ in fft_32()
713 y[60] = vr - (vi>>1); /* Re C' = -(ReC+ReD) + (ReA+ReB) */ in fft_32()
717 vr -= x[46]; /* Re A - Re B */ in fft_32()
722 y[58] = ui + vr; /* Re B' = Im C - Im D + Re A - Re B */ in fft_32()
723 y[62] = vr - ui; /* Re D' = -Im C + Im D + Re A - Re B */ in fft_32()
734 vr = yt[8]; in fft_32()
738 xt[ 0] = ur + (vr>>1); in fft_32()
740 xt[ 8] = ur - (vr>>1); in fft_32()
743 vr = yt[13]; in fft_32()
747 xt[ 4] = ur + (vr>>1); in fft_32()
749 xt[12] = ur - (vr>>1); in fft_32()
752 SUMDIFF_PIFOURTH(vi, vr, yt[10], yt[11]) in fft_32()
755 xt[ 2] = (ur>>1) + vr; in fft_32()
757 xt[10] = (ur>>1) - vr; in fft_32()
760 SUMDIFF_PIFOURTH(vr, vi, yt[14], yt[15]) in fft_32()
764 xt[ 6] = (ur>>1) + vr; in fft_32()
766 xt[14] = (ur>>1) - vr; in fft_32()
772 vr = x[16]; in fft_32()
776 x[ 0] = ur + (vr>>1); in fft_32()
778 x[16] = ur - (vr>>1); in fft_32()
782 vr = x[25]; in fft_32()
785 x[ 8] = ur + (vr>>1); in fft_32()
787 x[24] = ur - (vr>>1); in fft_32()
790 vr = x[48]; in fft_32()
794 x[32] = ur + (vr>>1); in fft_32()
796 x[48] = ur - (vr>>1); in fft_32()
800 vr = x[57]; in fft_32()
803 x[40] = ur + (vr>>1); in fft_32()
805 x[56] = ur - (vr>>1); in fft_32()
808 cplxMultDiv2(&vi, &vr, x[19], x[18], fft32_w32[0]); in fft_32()
811 x[ 2] = (ur>>1) + vr; in fft_32()
813 x[18] = (ur>>1) - vr; in fft_32()
816 cplxMultDiv2(&vr, &vi, x[27], x[26], fft32_w32[0]); in fft_32()
819 x[10] = (ur>>1) + vr; in fft_32()
821 x[26] = (ur>>1) - vr; in fft_32()
824 cplxMultDiv2(&vi, &vr, x[51], x[50], fft32_w32[0]); in fft_32()
827 x[34] = (ur>>1) + vr; in fft_32()
829 x[50] = (ur>>1) - vr; in fft_32()
832 cplxMultDiv2(&vr, &vi, x[59], x[58], fft32_w32[0]); in fft_32()
835 x[42] = (ur>>1) + vr; in fft_32()
837 x[58] = (ur>>1) - vr; in fft_32()
840 SUMDIFF_PIFOURTH(vi, vr, x[20], x[21]) in fft_32()
843 x[ 4] = (ur>>1) + vr; in fft_32()
845 x[20] = (ur>>1) - vr; in fft_32()
848 SUMDIFF_PIFOURTH(vr, vi, x[28], x[29]) in fft_32()
851 x[12] = (ur>>1) + vr; in fft_32()
853 x[28] = (ur>>1) - vr; in fft_32()
856 SUMDIFF_PIFOURTH(vi, vr, x[52], x[53]) in fft_32()
859 x[36] = (ur>>1) + vr; in fft_32()
861 x[52] = (ur>>1) - vr; in fft_32()
864 SUMDIFF_PIFOURTH(vr, vi, x[60], x[61]) in fft_32()
867 x[44] = (ur>>1) + vr; in fft_32()
869 x[60] = (ur>>1) - vr; in fft_32()
873 cplxMultDiv2(&vi, &vr, x[23], x[22], fft32_w32[1]); in fft_32()
876 x[ 6] = (ur>>1) + vr; in fft_32()
878 x[22] = (ur>>1) - vr; in fft_32()
881 cplxMultDiv2(&vr, &vi, x[31], x[30], fft32_w32[1]); in fft_32()
884 x[14] = (ur>>1) + vr; in fft_32()
886 x[30] = (ur>>1) - vr; in fft_32()
889 cplxMultDiv2(&vi, &vr, x[55], x[54], fft32_w32[1]); in fft_32()
892 x[38] = (ur>>1) + vr; in fft_32()
894 x[54] = (ur>>1) - vr; in fft_32()
897 cplxMultDiv2(&vr, &vi, x[63], x[62], fft32_w32[1]); in fft_32()
901 x[46] = (ur>>1) + vr; in fft_32()
903 x[62] = (ur>>1) - vr; in fft_32()
906 vr = x[32]; in fft_32()
910 x[ 0] = ur + (vr>>1); in fft_32()
912 x[32] = ur - (vr>>1); in fft_32()
916 vr = x[49]; in fft_32()
919 x[16] = ur + (vr>>1); in fft_32()
921 x[48] = ur - (vr>>1); in fft_32()
924 cplxMultDiv2(&vi, &vr, x[35], x[34], fft32_w32[2]); in fft_32()
927 x[ 2] = (ur>>1) + vr; in fft_32()
929 x[34] = (ur>>1) - vr; in fft_32()
932 cplxMultDiv2(&vr, &vi, x[51], x[50], fft32_w32[2]); in fft_32()
935 x[18] = (ur>>1) + vr; in fft_32()
937 x[50] = (ur>>1) - vr; in fft_32()
940 cplxMultDiv2(&vi, &vr, x[37], x[36], fft32_w32[0]); in fft_32()
943 x[ 4] = (ur>>1) + vr; in fft_32()
945 x[36] = (ur>>1) - vr; in fft_32()
948 cplxMultDiv2(&vr, &vi, x[53], x[52], fft32_w32[0]); in fft_32()
951 x[20] = (ur>>1) + vr; in fft_32()
953 x[52] = (ur>>1) - vr; in fft_32()
956 cplxMultDiv2(&vi, &vr, x[39], x[38], fft32_w32[3]); in fft_32()
959 x[ 6] = (ur>>1) + vr; in fft_32()
961 x[38] = (ur>>1) - vr; in fft_32()
964 cplxMultDiv2(&vr, &vi, x[55], x[54], fft32_w32[3]); in fft_32()
967 x[22] = (ur>>1) + vr; in fft_32()
969 x[54] = (ur>>1) - vr; in fft_32()
972 SUMDIFF_PIFOURTH(vi, vr, x[40], x[41]) in fft_32()
975 x[ 8] = (ur>>1) + vr; in fft_32()
977 x[40] = (ur>>1) - vr; in fft_32()
980 SUMDIFF_PIFOURTH(vr, vi, x[56], x[57]) in fft_32()
983 x[24] = (ur>>1) + vr; in fft_32()
985 x[56] = (ur>>1) - vr; in fft_32()
988 cplxMultDiv2(&vi, &vr, x[43], x[42], fft32_w32[4]); in fft_32()
992 x[10] = (ur>>1) + vr; in fft_32()
994 x[42] = (ur>>1) - vr; in fft_32()
997 cplxMultDiv2(&vr, &vi, x[59], x[58], fft32_w32[4]); in fft_32()
1000 x[26] = (ur>>1) + vr; in fft_32()
1002 x[58] = (ur>>1) - vr; in fft_32()
1005 cplxMultDiv2(&vi, &vr, x[45], x[44], fft32_w32[1]); in fft_32()
1008 x[12] = (ur>>1) + vr; in fft_32()
1010 x[44] = (ur>>1) - vr; in fft_32()
1013 cplxMultDiv2(&vr, &vi, x[61], x[60], fft32_w32[1]); in fft_32()
1016 x[28] = (ur>>1) + vr; in fft_32()
1018 x[60] = (ur>>1) - vr; in fft_32()
1021 cplxMultDiv2(&vi, &vr, x[47], x[46], fft32_w32[5]); in fft_32()
1024 x[14] = (ur>>1) + vr; in fft_32()
1026 x[46] = (ur>>1) - vr; in fft_32()
1029 cplxMultDiv2(&vr, &vi, x[63], x[62], fft32_w32[5]); in fft_32()
1032 x[30] = (ur>>1) + vr; in fft_32()
1034 x[62] = (ur>>1) - vr; in fft_32()