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
a64333db
Commit
a64333db
authored
Jan 16, 2014
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/vidstabtransform: apply various cosmetical nits
parent
7012a9dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
vf_vidstabdetect.c
libavfilter/vf_vidstabdetect.c
+0
-1
vf_vidstabtransform.c
libavfilter/vf_vidstabtransform.c
+4
-4
No files found.
libavfilter/vf_vidstabdetect.c
View file @
a64333db
...
...
@@ -152,7 +152,6 @@ static int config_input(AVFilterLink *inlink)
return
0
;
}
static
int
filter_frame
(
AVFilterLink
*
inlink
,
AVFrame
*
in
)
{
AVFilterContext
*
ctx
=
inlink
->
dst
;
...
...
libavfilter/vf_vidstabtransform.c
View file @
a64333db
...
...
@@ -187,7 +187,7 @@ static int config_input(AVFilterLink *inlink)
av_log
(
ctx
,
AV_LOG_INFO
,
" smoothing = %d
\n
"
,
tc
->
conf
.
smoothing
);
av_log
(
ctx
,
AV_LOG_INFO
,
" optalgo = %s
\n
"
,
tc
->
conf
.
camPathAlgo
==
VSOptimalL1
?
"opt"
:
(
tc
->
conf
.
camPathAlgo
==
VSGaussian
?
"gauss"
:
"avg"
));
(
tc
->
conf
.
camPathAlgo
==
VSGaussian
?
"gauss"
:
"avg"
));
av_log
(
ctx
,
AV_LOG_INFO
,
" maxshift = %d
\n
"
,
tc
->
conf
.
maxShift
);
av_log
(
ctx
,
AV_LOG_INFO
,
" maxangle = %f
\n
"
,
tc
->
conf
.
maxAngle
);
av_log
(
ctx
,
AV_LOG_INFO
,
" crop = %s
\n
"
,
tc
->
conf
.
crop
?
"Black"
:
"Keep"
);
...
...
@@ -195,9 +195,9 @@ static int config_input(AVFilterLink *inlink)
av_log
(
ctx
,
AV_LOG_INFO
,
" invert = %s
\n
"
,
tc
->
conf
.
invert
?
"True"
:
"False"
);
av_log
(
ctx
,
AV_LOG_INFO
,
" zoom = %f
\n
"
,
tc
->
conf
.
zoom
);
av_log
(
ctx
,
AV_LOG_INFO
,
" optzoom = %s
\n
"
,
tc
->
conf
.
optZoom
==
1
?
"Static (1)"
:
(
tc
->
conf
.
optZoom
==
2
?
"Dynamic (2)"
:
"Off (0)"
));
tc
->
conf
.
optZoom
==
1
?
"Static (1)"
:
(
tc
->
conf
.
optZoom
==
2
?
"Dynamic (2)"
:
"Off (0)"
));
if
(
tc
->
conf
.
optZoom
==
2
)
av_log
(
ctx
,
AV_LOG_INFO
,
" zoomspeed = %g
\n
"
,
tc
->
conf
.
zoomSpeed
);
av_log
(
ctx
,
AV_LOG_INFO
,
" zoomspeed = %g
\n
"
,
tc
->
conf
.
zoomSpeed
);
av_log
(
ctx
,
AV_LOG_INFO
,
" interpol = %s
\n
"
,
getInterpolationTypeName
(
tc
->
conf
.
interpolType
));
f
=
fopen
(
tc
->
input
,
"r"
);
...
...
@@ -221,7 +221,7 @@ static int config_input(AVFilterLink *inlink)
}
fclose
(
f
);
if
(
vsPreprocessTransforms
(
td
,
&
tc
->
trans
)
!=
VS_OK
)
{
if
(
vsPreprocessTransforms
(
td
,
&
tc
->
trans
)
!=
VS_OK
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"error while preprocessing transforms
\n
"
);
return
AVERROR
(
EINVAL
);
}
...
...
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