Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
f8eabab0
Commit
f8eabab0
authored
Apr 10, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/geq: switch to an AVOptions-based system.
parent
1cdb9f48
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
8 deletions
+2
-8
filters.texi
doc/filters.texi
+1
-5
avfilter.c
libavfilter/avfilter.c
+1
-0
vf_geq.c
libavfilter/vf_geq.c
+0
-3
No files found.
doc/filters.texi
View file @
f8eabab0
...
...
@@ -3302,11 +3302,7 @@ For more information see:
@section geq
The filter takes one, two, three or four equations as parameter, separated by ':'.
The first equation is mandatory and applies to the luma plane. The two
following are respectively for chroma blue and chroma red planes.
The filter syntax allows named parameters:
The filter accepts the following options:
@table @option
@item lum_expr
...
...
libavfilter/avfilter.c
View file @
f8eabab0
...
...
@@ -673,6 +673,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"fps"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"frei0r"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"frei0r_src"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"geq"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"gradfun"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"hqdn3d"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"ocv"
)
||
...
...
libavfilter/vf_geq.c
View file @
f8eabab0
...
...
@@ -228,8 +228,6 @@ static const AVFilterPad geq_outputs[] = {
{
NULL
}
};
static
const
char
*
const
shorthand
[]
=
{
"lum_expr"
,
"cb_expr"
,
"cr_expr"
,
"alpha_expr"
,
NULL
};
AVFilter
avfilter_vf_geq
=
{
.
name
=
"geq"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Apply generic equation to each pixel."
),
...
...
@@ -240,5 +238,4 @@ AVFilter avfilter_vf_geq = {
.
inputs
=
geq_inputs
,
.
outputs
=
geq_outputs
,
.
priv_class
=
&
geq_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