equal
deleted
inserted
replaced
20 * |
20 * |
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 * or visit www.oracle.com if you need additional information or have any |
22 * or visit www.oracle.com if you need additional information or have any |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
|
25 |
25 package com.sun.media.sound; |
26 package com.sun.media.sound; |
26 |
27 |
27 /** |
28 /** |
28 * Fast Fourier Transformer. |
29 * Fast Fourier Transformer. |
29 * |
30 * |
586 } |
587 } |
587 |
588 |
588 i += jmax << 1; |
589 i += jmax << 1; |
589 |
590 |
590 } |
591 } |
591 |
|
592 } |
592 } |
593 |
593 |
594 // Perform Factor-4 Decomposition with 3 * complex operators and 8 +/- |
594 // Perform Factor-4 Decomposition with 3 * complex operators and 8 +/- |
595 // complex operators |
595 // complex operators |
596 private static void calcF4IE(int fftFrameSize, double[] data, int i, |
596 private static void calcF4IE(int fftFrameSize, double[] data, int i, |
680 } |
680 } |
681 |
681 |
682 i += jmax << 1; |
682 i += jmax << 1; |
683 |
683 |
684 } |
684 } |
685 |
|
686 } |
685 } |
687 |
686 |
688 private void bitreversal(double[] data) { |
687 private void bitreversal(double[] data) { |
689 if (fftFrameSize < 4) |
688 if (fftFrameSize < 4) |
690 return; |
689 return; |
741 m++; |
740 m++; |
742 double tempi = data[n]; |
741 double tempi = data[n]; |
743 data[n] = data[m]; |
742 data[n] = data[m]; |
744 data[m] = tempi; |
743 data[m] = tempi; |
745 } |
744 } |
746 |
|
747 } |
745 } |
748 } |
746 } |