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
e4bd1db8
Commit
e4bd1db8
authored
Apr 10, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/histeq: switch to an AVOptions-based system.
parent
c2696dab
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
9 deletions
+2
-9
filters.texi
doc/filters.texi
+1
-6
avfilter.c
libavfilter/avfilter.c
+1
-0
vf_histeq.c
libavfilter/vf_histeq.c
+0
-3
No files found.
doc/filters.texi
View file @
e4bd1db8
...
@@ -3445,12 +3445,7 @@ viewed as an "automatically adjusting contrast filter". This filter is
...
@@ -3445,12 +3445,7 @@ viewed as an "automatically adjusting contrast filter". This filter is
useful only for correcting degraded or poorly captured source
useful only for correcting degraded or poorly captured source
video.
video.
The filter accepts parameters as a list of @var{key}=@var{value}
The filter accepts the following options:
pairs, separated by ":". If the key of the first options is omitted,
the arguments are interpreted according to syntax
@var{strength}:@var{intensity}:@var{antibanding}.
This filter accepts the following named options:
@table @option
@table @option
@item strength
@item strength
...
...
libavfilter/avfilter.c
View file @
e4bd1db8
...
@@ -679,6 +679,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
...
@@ -679,6 +679,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"frei0r_src"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"frei0r_src"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"geq"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"geq"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"gradfun"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"gradfun"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"histeq"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"hqdn3d"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"hqdn3d"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"ocv"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"ocv"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"life"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"life"
)
||
...
...
libavfilter/vf_histeq.c
View file @
e4bd1db8
...
@@ -269,8 +269,6 @@ static const AVFilterPad histeq_outputs[] = {
...
@@ -269,8 +269,6 @@ static const AVFilterPad histeq_outputs[] = {
{
NULL
}
{
NULL
}
};
};
static
const
char
*
const
shorthand
[]
=
{
"strength"
,
"intensity"
,
"antibanding"
,
NULL
};
AVFilter
avfilter_vf_histeq
=
{
AVFilter
avfilter_vf_histeq
=
{
.
name
=
"histeq"
,
.
name
=
"histeq"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Apply global color histogram equalization."
),
.
description
=
NULL_IF_CONFIG_SMALL
(
"Apply global color histogram equalization."
),
...
@@ -281,5 +279,4 @@ AVFilter avfilter_vf_histeq = {
...
@@ -281,5 +279,4 @@ AVFilter avfilter_vf_histeq = {
.
inputs
=
histeq_inputs
,
.
inputs
=
histeq_inputs
,
.
outputs
=
histeq_outputs
,
.
outputs
=
histeq_outputs
,
.
priv_class
=
&
histeq_class
,
.
priv_class
=
&
histeq_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