diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-08-17 15:51:20 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-08-17 15:51:20 +0000 |
commit | ab1388e435c72b4f8a0cb508843abc9c838ed95f (patch) | |
tree | eb72a8857b8c573ff929c30bbb775d55202819d1 /libavutil | |
parent | f43ad0fe74c1e5a66291bf92ec57e027ac4f212a (diff) | |
download | ffmpeg-streaming-ab1388e435c72b4f8a0cb508843abc9c838ed95f.zip ffmpeg-streaming-ab1388e435c72b4f8a0cb508843abc9c838ed95f.tar.gz |
Move context struct to c file.
Originally committed as revision 14809 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/pca.c | 7 | ||||
-rw-r--r-- | libavutil/pca.h | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/libavutil/pca.c b/libavutil/pca.c index 6801d91..3690a4c 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 c071c1a..57b03a9 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; |