Mercurial > hg > vamp-plugin-sdk
comparison vamp-sdk/FFT.h @ 338:c0914307b0df
FFT: make functions static
author | Chris Cannam |
---|---|
date | Thu, 12 Jul 2012 12:01:22 +0100 |
parents | d5c5a52e6c9f |
children | a69901aa85d2 |
comparison
equal
deleted
inserted
replaced
337:d5c5a52e6c9f | 338:c0914307b0df |
---|---|
67 * ro and io must point to enough space to receive the real and | 67 * ro and io must point to enough space to receive the real and |
68 * imaginary component arrays of the output. | 68 * imaginary component arrays of the output. |
69 * | 69 * |
70 * All input and output arrays are of size n. | 70 * All input and output arrays are of size n. |
71 */ | 71 */ |
72 void forward(unsigned int n, | 72 static void forward(unsigned int n, |
73 const double *ri, const double *ii, | 73 const double *ri, const double *ii, |
74 double *ro, double *io); | 74 double *ro, double *io); |
75 | 75 |
76 /** | 76 /** |
77 * Calculate an inverse transform of size n. | 77 * Calculate an inverse transform of size n. |
78 * | 78 * |
79 * ri and ii must point to the real and imaginary component arrays | 79 * ri and ii must point to the real and imaginary component arrays |
84 * by 1/n. The output pointers may not be NULL, even if the output | 84 * by 1/n. The output pointers may not be NULL, even if the output |
85 * is expected to be real. | 85 * is expected to be real. |
86 * | 86 * |
87 * All input and output arrays are of size n. | 87 * All input and output arrays are of size n. |
88 */ | 88 */ |
89 void inverse(unsigned int n, | 89 static void inverse(unsigned int n, |
90 const double *ri, const double *ii, | 90 const double *ri, const double *ii, |
91 double *ro, double *io); | 91 double *ro, double *io); |
92 }; | 92 }; |
93 | 93 |
94 } | 94 } |
95 | 95 |
96 _VAMP_SDK_PLUGSPACE_END(FFT.h) | 96 _VAMP_SDK_PLUGSPACE_END(FFT.h) |