Mercurial > libavutil.hg
annotate pca.h @ 755:848401bb3478 libavutil
Add SHA-2 hashing
author | kostya |
---|---|
date | Fri, 17 Jul 2009 04:30:06 +0000 |
parents | 70bdd5501662 |
children | 0795a743bda1 |
rev | line source |
---|---|
550 | 1 /* |
633 | 2 * principal component analysis (PCA) |
550 | 3 * Copyright (c) 2004 Michael Niedermayer <michaelni@gmx.at> |
4 * | |
563
daccf2fe1053
Copy and paste LGPL from tree.h, the previous one referred to a non-existing
michael
parents:
558
diff
changeset
|
5 * This file is part of FFmpeg. |
daccf2fe1053
Copy and paste LGPL from tree.h, the previous one referred to a non-existing
michael
parents:
558
diff
changeset
|
6 * |
daccf2fe1053
Copy and paste LGPL from tree.h, the previous one referred to a non-existing
michael
parents:
558
diff
changeset
|
7 * FFmpeg is free software; you can redistribute it and/or |
550 | 8 * modify it under the terms of the GNU Lesser General Public |
9 * License as published by the Free Software Foundation; either | |
563
daccf2fe1053
Copy and paste LGPL from tree.h, the previous one referred to a non-existing
michael
parents:
558
diff
changeset
|
10 * version 2.1 of the License, or (at your option) any later version. |
550 | 11 * |
563
daccf2fe1053
Copy and paste LGPL from tree.h, the previous one referred to a non-existing
michael
parents:
558
diff
changeset
|
12 * FFmpeg is distributed in the hope that it will be useful, |
550 | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 * Lesser General Public License for more details. | |
16 * | |
17 * You should have received a copy of the GNU Lesser General Public | |
563
daccf2fe1053
Copy and paste LGPL from tree.h, the previous one referred to a non-existing
michael
parents:
558
diff
changeset
|
18 * License along with FFmpeg; if not, write to the Free Software |
daccf2fe1053
Copy and paste LGPL from tree.h, the previous one referred to a non-existing
michael
parents:
558
diff
changeset
|
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
550 | 20 */ |
21 | |
22 /** | |
642
70bdd5501662
Use full internal pathname in doxygen @file directives.
diego
parents:
633
diff
changeset
|
23 * @file libavutil/pca.h |
633 | 24 * principal component analysis (PCA) |
550 | 25 */ |
26 | |
567 | 27 #ifndef AVUTIL_PCA_H |
28 #define AVUTIL_PCA_H | |
558
9889c1cbf9e1
Add multiple inclusion guards for consistency and to avoid them being
michael
parents:
557
diff
changeset
|
29 |
556 | 30 struct PCA *ff_pca_init(int n); |
31 void ff_pca_free(struct PCA *pca); | |
32 void ff_pca_add(struct PCA *pca, double *v); | |
33 int ff_pca(struct PCA *pca, double *eigenvector, double *eigenvalue); | |
558
9889c1cbf9e1
Add multiple inclusion guards for consistency and to avoid them being
michael
parents:
557
diff
changeset
|
34 |
567 | 35 #endif /* AVUTIL_PCA_H */ |