From ab1388e435c72b4f8a0cb508843abc9c838ed95f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 17 Aug 2008 15:51:20 +0000 Subject: Move context struct to c file. Originally committed as revision 14809 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/pca.c | 7 +++++++ libavutil/pca.h | 8 -------- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'libavutil') diff --git a/libavutil/pca.c b/libavutil/pca.c index 6801d91540..3690a4ceab 100644 --- a/libavutil/pca.c +++ b/libavutil/pca.c @@ -26,6 +26,13 @@ #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) diff --git a/libavutil/pca.h b/libavutil/pca.h index c071c1a72f..57b03a9453 100644 --- a/libavutil/pca.h +++ b/libavutil/pca.h @@ -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; -- cgit v1.2.1