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
6c883e21
Commit
6c883e21
authored
Dec 27, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_vibrance: add support for commands
parent
50cfe966
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
filters.texi
doc/filters.texi
+4
-0
vf_vibrance.c
libavfilter/vf_vibrance.c
+2
-1
No files found.
doc/filters.texi
View file @
6c883e21
...
...
@@ -19335,6 +19335,10 @@ If @code{intensity} is negative and this is set to 1, colors will change,
otherwise colors will be less saturated, more towards gray.
@end table
@subsection Commands
This filter supports the all above options as @ref{commands}.
@anchor{vignette}
@section vignette
...
...
libavfilter/vf_vibrance.c
View file @
6c883e21
...
...
@@ -224,7 +224,7 @@ static const AVFilterPad vibrance_outputs[] = {
};
#define OFFSET(x) offsetof(VibranceContext, x)
#define VF AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
#define VF AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
|AV_OPT_FLAG_RUNTIME_PARAM
static
const
AVOption
vibrance_options
[]
=
{
{
"intensity"
,
"set the intensity value"
,
OFFSET
(
intensity
),
AV_OPT_TYPE_FLOAT
,
{.
dbl
=
0
},
-
2
,
2
,
VF
},
...
...
@@ -249,4 +249,5 @@ AVFilter ff_vf_vibrance = {
.
inputs
=
vibrance_inputs
,
.
outputs
=
vibrance_outputs
,
.
flags
=
AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
|
AVFILTER_FLAG_SLICE_THREADS
,
.
process_command
=
ff_filter_process_command
,
};
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