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
a689a6b6
Commit
a689a6b6
authored
Apr 10, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/noise: switch to an AVOptions-based system.
parent
e4bd1db8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
filters.texi
doc/filters.texi
+1
-2
avfilter.c
libavfilter/avfilter.c
+1
-0
vf_noise.c
libavfilter/vf_noise.c
+0
-3
No files found.
doc/filters.texi
View file @
a689a6b6
...
...
@@ -4070,8 +4070,7 @@ noformat=yuv420p|yuv444p|yuv410p
Add noise on video input frame.
This filter accepts a list of options in the form of @var{key}=@var{value}
pairs separated by ":". A description of the accepted options follows.
The filter accepts the following options:
@table @option
@item all_seed
...
...
libavfilter/avfilter.c
View file @
a689a6b6
...
...
@@ -689,6 +689,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"mandelbrot"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"mptestsrc"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"negate"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"noise"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"overlay"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"pad"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"format"
)
||
...
...
libavfilter/vf_noise.c
View file @
a689a6b6
...
...
@@ -462,8 +462,6 @@ static const AVFilterPad noise_outputs[] = {
{
NULL
}
};
static
const
char
*
const
shorthand
[]
=
{
NULL
};
AVFilter
avfilter_vf_noise
=
{
.
name
=
"noise"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Add noise."
),
...
...
@@ -474,5 +472,4 @@ AVFilter avfilter_vf_noise = {
.
inputs
=
noise_inputs
,
.
outputs
=
noise_outputs
,
.
priv_class
=
&
noise_class
,
.
shorthand
=
shorthand
,
};
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