projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6441737
)
Add prototypes to header (based on code by ramiro)
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 17 Aug 2008 15:50:20 +0000
(15:50 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 17 Aug 2008 15:50:20 +0000
(15:50 +0000)
Originally committed as revision 14808 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/pca.h
patch
|
blob
|
history
diff --git
a/libavutil/pca.h
b/libavutil/pca.h
index
de72984
..
c071c1a
100644
(file)
--- 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;