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
e7d9061d
Commit
e7d9061d
authored
Oct 22, 2015
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_ssim: print per-channel dB values.
parent
81d7f118
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vf_ssim.c
libavfilter/vf_ssim.c
+2
-1
No files found.
libavfilter/vf_ssim.c
View file @
e7d9061d
...
...
@@ -348,7 +348,8 @@ static av_cold void uninit(AVFilterContext *ctx)
buf
[
0
]
=
0
;
for
(
i
=
0
;
i
<
s
->
nb_components
;
i
++
)
{
int
c
=
s
->
is_rgb
?
s
->
rgba_map
[
i
]
:
i
;
av_strlcatf
(
buf
,
sizeof
(
buf
),
" %c:%f"
,
s
->
comps
[
i
],
s
->
ssim
[
c
]
/
s
->
nb_frames
);
av_strlcatf
(
buf
,
sizeof
(
buf
),
" %c:%f (%f)"
,
s
->
comps
[
i
],
s
->
ssim
[
c
]
/
s
->
nb_frames
,
ssim_db
(
s
->
ssim
[
c
],
s
->
nb_frames
));
}
av_log
(
ctx
,
AV_LOG_INFO
,
"SSIM%s All:%f (%f)
\n
"
,
buf
,
s
->
ssim_total
/
s
->
nb_frames
,
ssim_db
(
s
->
ssim_total
,
s
->
nb_frames
));
...
...
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