1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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

This commit is contained in:
Clément Bœsch 2013-04-11 00:40:33 +02:00
parent c2696dabbb
commit e4bd1db88e
3 changed files with 2 additions and 9 deletions

View File

@ -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

View File

@ -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" ) ||

View File

@ -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,
};