Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
8fca37d5
Commit
8fca37d5
authored
Jul 10, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_ssim: Mark constant tables as const
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
d759f7f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vf_ssim.c
libavfilter/vf_ssim.c
+3
-3
No files found.
libavfilter/vf_ssim.c
View file @
8fca37d5
...
@@ -70,9 +70,9 @@ static const AVOption ssim_options[] = {
...
@@ -70,9 +70,9 @@ static const AVOption ssim_options[] = {
AVFILTER_DEFINE_CLASS
(
ssim
);
AVFILTER_DEFINE_CLASS
(
ssim
);
static
int
rgb_coefs
[
4
]
=
{
1
,
1
,
1
,
3
};
static
const
int
rgb_coefs
[
4
]
=
{
1
,
1
,
1
,
3
};
static
int
yuv_coefs
[
4
]
=
{
4
,
1
,
1
,
6
};
static
const
int
yuv_coefs
[
4
]
=
{
4
,
1
,
1
,
6
};
static
int
gray_coefs
[
4
]
=
{
1
,
0
,
0
,
1
};
static
const
int
gray_coefs
[
4
]
=
{
1
,
0
,
0
,
1
};
static
void
set_meta
(
AVDictionary
**
metadata
,
const
char
*
key
,
char
comp
,
float
d
)
static
void
set_meta
(
AVDictionary
**
metadata
,
const
char
*
key
,
char
comp
,
float
d
)
{
{
...
...
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