|
|
|
@@ -23,7 +23,12 @@ |
|
|
|
* Principal component analysis |
|
|
|
*/ |
|
|
|
|
|
|
|
#ifndef FFMPEG_PCA_H |
|
|
|
#define FFMPEG_PCA_H |
|
|
|
|
|
|
|
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); |
|
|
|
|
|
|
|
#endif /* FFMPEG_PCA_H */ |