summaryrefslogtreecommitdiffstats
path: root/libavutil/pca.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-01-28 00:16:05 +0000
committerDiego Biurrun <diego@biurrun.de>2009-01-28 00:16:05 +0000
commit89c9ff504b29d03cf266aa3598ccb8d2cf1ddd13 (patch)
tree340147cb9f4382a838ae971bf991c2f42482077c /libavutil/pca.c
parentd972e56cf21e9fa12922704da276d26111b5dbc1 (diff)
downloadffmpeg-streaming-89c9ff504b29d03cf266aa3598ccb8d2cf1ddd13.zip
ffmpeg-streaming-89c9ff504b29d03cf266aa3598ccb8d2cf1ddd13.tar.gz
spelling/grammar/consistency review part I
Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/pca.c')
-rw-r--r--libavutil/pca.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavutil/pca.c b/libavutil/pca.c
index 76966f0..4cdd3c6 100644
--- a/libavutil/pca.c
+++ b/libavutil/pca.c
@@ -1,5 +1,5 @@
/*
- * Principal component analysis
+ * principal component analysis (PCA)
* Copyright (c) 2004 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
@@ -21,7 +21,7 @@
/**
* @file pca.c
- * Principal component analysis
+ * principal component analysis (PCA)
*/
#include "common.h"
@@ -120,7 +120,7 @@ int ff_pca(PCA *pca, double *eigenvector, double *eigenvalue){
if(pass < 3 && fabs(covar) < sum / (5*n*n)) //FIXME why pass < 3
continue;
- if(fabs(covar) == 0.0) //FIXME shouldnt be needed
+ if(fabs(covar) == 0.0) //FIXME should not be needed
continue;
if(pass >=3 && fabs((eigenvalue[j]+z[j])/covar) > (1LL<<32) && fabs((eigenvalue[i]+z[i])/covar) > (1LL<<32)){
pca->covariance[j + i*n]=0.0;
OpenPOWER on IntegriCloud