[FFmpeg-cvslog] r14809 - in trunk/libavutil: pca.c pca.h
michael
subversion
Sun Aug 17 17:51:20 CEST 2008
Author: michael
Date: Sun Aug 17 17:51:20 2008
New Revision: 14809
Log:
Move context struct to c file.
Modified:
trunk/libavutil/pca.c
trunk/libavutil/pca.h
Modified: trunk/libavutil/pca.c
==============================================================================
--- trunk/libavutil/pca.c (original)
+++ trunk/libavutil/pca.c Sun Aug 17 17:51:20 2008
@@ -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)
Modified: trunk/libavutil/pca.h
==============================================================================
--- trunk/libavutil/pca.h (original)
+++ trunk/libavutil/pca.h Sun Aug 17 17:51:20 2008
@@ -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;
More information about the ffmpeg-cvslog
mailing list