Commit e4bd1db8 authored by Clément Bœsch's avatar Clément Bœsch

lavfi/histeq: switch to an AVOptions-based system.

parent c2696dab
......@@ -3445,12 +3445,7 @@ viewed as an "automatically adjusting contrast filter". This filter is
useful only for correcting degraded or poorly captured source
video.
The filter accepts parameters as a list of @var{key}=@var{value}
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:
The filter accepts the following options:
@table @option
@item strength
......
......@@ -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, "geq" ) ||
!strcmp(filter->filter->name, "gradfun" ) ||
!strcmp(filter->filter->name, "histeq" ) ||
!strcmp(filter->filter->name, "hqdn3d" ) ||
!strcmp(filter->filter->name, "ocv" ) ||
!strcmp(filter->filter->name, "life" ) ||
......
......@@ -269,8 +269,6 @@ static const AVFilterPad histeq_outputs[] = {
{ NULL }
};
static const char *const shorthand[] = { "strength", "intensity", "antibanding", NULL };
AVFilter avfilter_vf_histeq = {
.name = "histeq",
.description = NULL_IF_CONFIG_SMALL("Apply global color histogram equalization."),
......@@ -281,5 +279,4 @@ AVFilter avfilter_vf_histeq = {
.inputs = histeq_inputs,
.outputs = histeq_outputs,
.priv_class = &histeq_class,
.shorthand = shorthand,
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment