aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/pca.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-08-17 15:50:20 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-08-17 15:50:20 +0000
commitf43ad0fe74c1e5a66291bf92ec57e027ac4f212a (patch)
treeb633224b6f7e89443f6dab71ede306d436827bbf /libavutil/pca.h
parent644173759146be1cff244e8cf6a26de26bf07edf (diff)
downloadffmpeg-f43ad0fe74c1e5a66291bf92ec57e027ac4f212a.tar.gz
Add prototypes to header (based on code by ramiro)
Originally committed as revision 14808 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/pca.h')
-rw-r--r--libavutil/pca.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/pca.h b/libavutil/pca.h
index de729840a4..c071c1a72f 100644
--- a/libavutil/pca.h
+++ b/libavutil/pca.h
@@ -23,6 +23,12 @@
* Principal component analysis
*/
+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;