Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
b28f470d
Commit
b28f470d
authored
Sep 28, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avutil/pca: Make argument of ff_pca_add() const
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
04152a31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pca.c
libavutil/pca.c
+1
-1
pca.h
libavutil/pca.h
+1
-1
No files found.
libavutil/pca.c
View file @
b28f470d
...
@@ -57,7 +57,7 @@ void ff_pca_free(PCA *pca){
...
@@ -57,7 +57,7 @@ void ff_pca_free(PCA *pca){
av_free
(
pca
);
av_free
(
pca
);
}
}
void
ff_pca_add
(
PCA
*
pca
,
double
*
v
){
void
ff_pca_add
(
PCA
*
pca
,
const
double
*
v
){
int
i
,
j
;
int
i
,
j
;
const
int
n
=
pca
->
n
;
const
int
n
=
pca
->
n
;
...
...
libavutil/pca.h
View file @
b28f470d
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
struct
PCA
*
ff_pca_init
(
int
n
);
struct
PCA
*
ff_pca_init
(
int
n
);
void
ff_pca_free
(
struct
PCA
*
pca
);
void
ff_pca_free
(
struct
PCA
*
pca
);
void
ff_pca_add
(
struct
PCA
*
pca
,
double
*
v
);
void
ff_pca_add
(
struct
PCA
*
pca
,
const
double
*
v
);
int
ff_pca
(
struct
PCA
*
pca
,
double
*
eigenvector
,
double
*
eigenvalue
);
int
ff_pca
(
struct
PCA
*
pca
,
double
*
eigenvector
,
double
*
eigenvalue
);
#endif
/* AVUTIL_PCA_H */
#endif
/* AVUTIL_PCA_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment