Move context struct to c file.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 17 Aug 2008 15:51:20 +0000 (15:51 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 17 Aug 2008 15:51:20 +0000 (15:51 +0000)
Originally committed as revision 14809 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/pca.c
libavutil/pca.h

index 6801d91..3690a4c 100644 (file)
 #include "common.h"
 #include "pca.h"
 
+typedef struct PCA{
+    int count;
+    int n;
+    double *covariance;
+    double *mean;
+}PCA;
+
 PCA *ff_pca_init(int n){
     PCA *pca;
     if(n<=0)
index c071c1a..57b03a9 100644 (file)
@@ -27,11 +27,3 @@ struct PCA *ff_pca_init(int n);
 void ff_pca_free(struct PCA *pca);
 void ff_pca_add(struct PCA *pca, double *v);
 int ff_pca(struct PCA *pca, double *eigenvector, double *eigenvalue);
-
-
-typedef struct PCA{
-    int count;
-    int n;
-    double *covariance;
-    double *mean;
-}PCA;