Commit 3406faf0 authored by michael's avatar michael

Move context struct to c file.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14809 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ade2938a
......@@ -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)
......
......@@ -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;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment