aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-08-17 15:51:20 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-08-17 15:51:20 +0000
commitab1388e435c72b4f8a0cb508843abc9c838ed95f (patch)
treeeb72a8857b8c573ff929c30bbb775d55202819d1 /libavutil
parentf43ad0fe74c1e5a66291bf92ec57e027ac4f212a (diff)
downloadffmpeg-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.c7
-rw-r--r--libavutil/pca.h8
2 files changed, 7 insertions, 8 deletions
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;