Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
09cce812
Commit
09cce812
authored
Sep 10, 2022
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_gblur: allow filtering with zero horizontal sigma
parent
09a8e5de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vf_gblur.c
libavfilter/vf_gblur.c
+2
-2
No files found.
libavfilter/vf_gblur.c
View file @
09cce812
...
@@ -125,7 +125,7 @@ static void gaussianiir2d(AVFilterContext *ctx, int plane)
...
@@ -125,7 +125,7 @@ static void gaussianiir2d(AVFilterContext *ctx, int plane)
const
int
nb_threads
=
ff_filter_get_nb_threads
(
ctx
);
const
int
nb_threads
=
ff_filter_get_nb_threads
(
ctx
);
ThreadData
td
;
ThreadData
td
;
if
(
s
->
sigma
<
=
0
||
s
->
steps
<
0
)
if
(
s
->
sigma
<
0
||
s
->
steps
<
0
)
return
;
return
;
td
.
width
=
width
;
td
.
width
=
width
;
...
@@ -247,7 +247,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
...
@@ -247,7 +247,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
uint16_t
*
dst16
=
(
uint16_t
*
)
out
->
data
[
plane
];
uint16_t
*
dst16
=
(
uint16_t
*
)
out
->
data
[
plane
];
int
y
,
x
;
int
y
,
x
;
if
(
!
s
->
sigma
||
!
(
s
->
planes
&
(
1
<<
plane
)))
{
if
(
!
(
s
->
planes
&
(
1
<<
plane
)))
{
if
(
out
!=
in
)
if
(
out
!=
in
)
av_image_copy_plane
(
out
->
data
[
plane
],
out
->
linesize
[
plane
],
av_image_copy_plane
(
out
->
data
[
plane
],
out
->
linesize
[
plane
],
in
->
data
[
plane
],
in
->
linesize
[
plane
],
in
->
data
[
plane
],
in
->
linesize
[
plane
],
...
...
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