Revision: 42017
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42017&view=rev
Author:   starseeker
Date:     2011-01-07 18:25:56 +0000 (Fri, 07 Jan 2011)

Log Message:
-----------
Add some entries to fft.h and move the COMPLEX definition to the header - this 
seems to get fftest building on Windows, although more export entries will be 
needed for the sig tools.

Modified Paths:
--------------
    brlcad/branches/cmake/src/libfft/fft.h
    brlcad/branches/cmake/src/libfft/fftest.c
    brlcad/branches/cmake/src/libfft/fftfast.c

Modified: brlcad/branches/cmake/src/libfft/fft.h
===================================================================
--- brlcad/branches/cmake/src/libfft/fft.h      2011-01-07 18:15:56 UTC (rev 
42016)
+++ brlcad/branches/cmake/src/libfft/fft.h      2011-01-07 18:25:56 UTC (rev 
42017)
@@ -47,8 +47,17 @@
 #  endif
 #endif
 
+/* The COMPLEX type used throughout */
+typedef struct {
+    double re; /* Real Part */
+    double im; /* Imaginary Part */
+} COMPLEX;
+
 FFT_EXPORT extern void splitdit(int N, int M);
 FFT_EXPORT extern void ditsplit(int n /* length */, int m /* n = 2^m */);
+FFT_EXPORT extern void rfft(double *X, int N);
+FFT_EXPORT extern void cfft(COMPLEX *dat, int num);
+FFT_EXPORT extern void icfft(COMPLEX *dat, int num);
 
 /*
  * Local Variables:

Modified: brlcad/branches/cmake/src/libfft/fftest.c
===================================================================
--- brlcad/branches/cmake/src/libfft/fftest.c   2011-01-07 18:15:56 UTC (rev 
42016)
+++ brlcad/branches/cmake/src/libfft/fftest.c   2011-01-07 18:25:56 UTC (rev 
42017)
@@ -30,12 +30,6 @@
 
 #include "fft.h"
 
-
-typedef struct {
-    double re; /* Real Part */
-    double im; /* Imaginary Part */
-} COMPLEX;
-
 /***** TEST ROUTINES *****/
 COMPLEX data[64];
 

Modified: brlcad/branches/cmake/src/libfft/fftfast.c
===================================================================
--- brlcad/branches/cmake/src/libfft/fftfast.c  2011-01-07 18:15:56 UTC (rev 
42016)
+++ brlcad/branches/cmake/src/libfft/fftfast.c  2011-01-07 18:25:56 UTC (rev 
42017)
@@ -43,13 +43,6 @@
 #define MAXSIZE 65536  /* Needed for sin/cos tables */
 int _init_size = 0;    /* Internal: shows last initialized size */
 
-
-/* The COMPLEX type used throughout */
-typedef struct {
-    double re; /* Real Part */
-    double im; /* Imaginary Part */
-} COMPLEX;
-
 void scramble(int numpoints, COMPLEX *dat);
 void butterflies(int numpoints, int inverse, COMPLEX *dat);
 int init_sintab(int size);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to