aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/pca.c
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/pca.c
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/pca.c')
-rw-r--r--libavutil/pca.c7
1 files changed, 7 insertions, 0 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)