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
3a96534e
Commit
3a96534e
authored
May 03, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_convolution: add horizontal/row mode
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
0f0d468f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
109 additions
and
27 deletions
+109
-27
filters.texi
doc/filters.texi
+10
-2
vf_convolution.c
libavfilter/vf_convolution.c
+99
-25
No files found.
doc/filters.texi
View file @
3a96534e
...
@@ -6408,7 +6408,7 @@ colorspace=smpte240m
...
@@ -6408,7 +6408,7 @@ colorspace=smpte240m
@section convolution
@section convolution
Apply convolution
3x3, 5x5 or 7x7 filter
.
Apply convolution
of 3x3, 5x5, 7x7 or horizontal up to 49 elements
.
The filter accepts the following options:
The filter accepts the following options:
...
@@ -6418,7 +6418,8 @@ The filter accepts the following options:
...
@@ -6418,7 +6418,8 @@ The filter accepts the following options:
@item 2m
@item 2m
@item 3m
@item 3m
Set matrix for each plane.
Set matrix for each plane.
Matrix is sequence of 9, 25 or 49 signed integers.
Matrix is sequence of 9, 25 or 49 signed integers in @var{square} mode,
and from 1 to 49 odd number of signed integers in @var{row} mode.
@item 0rdiv
@item 0rdiv
@item 1rdiv
@item 1rdiv
...
@@ -6433,6 +6434,13 @@ If unset or 0, it will be sum of all matrix elements.
...
@@ -6433,6 +6434,13 @@ If unset or 0, it will be sum of all matrix elements.
@item 3bias
@item 3bias
Set bias for each plane. This value is added to the result of the multiplication.
Set bias for each plane. This value is added to the result of the multiplication.
Useful for making the overall image brighter or darker. Default is 0.0.
Useful for making the overall image brighter or darker. Default is 0.0.
@item 0mode
@item 1mode
@item 2mode
@item 3mode
Set matrix mode for each plane. Can be @var{square} or @var{row}.
Default is @var{square}.
@end table
@end table
@subsection Examples
@subsection Examples
...
...
libavfilter/vf_convolution.c
View file @
3a96534e
This diff is collapsed.
Click to expand it.
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