Commit 6f46403c authored by Matthieu Bouron's avatar Matthieu Bouron

lavfi/il: switch to AVOption-based system

parent 2040b428
...@@ -3750,8 +3750,7 @@ fields (so called half pictures). Odd lines are moved to the top ...@@ -3750,8 +3750,7 @@ fields (so called half pictures). Odd lines are moved to the top
half of the output image, even lines to the bottom half. half of the output image, even lines to the bottom half.
You can process (filter) them independently and then re-interleave them. You can process (filter) them independently and then re-interleave them.
It accepts a list of options in the form of @var{key}=@var{value} pairs The filter accepts the following options:
separated by ":". A description of the accepted options follows.
@table @option @table @option
@item luma_mode, l @item luma_mode, l
......
...@@ -678,6 +678,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque ...@@ -678,6 +678,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!strcmp(filter->filter->name, "geq" ) || !strcmp(filter->filter->name, "geq" ) ||
!strcmp(filter->filter->name, "gradfun" ) || !strcmp(filter->filter->name, "gradfun" ) ||
!strcmp(filter->filter->name, "hqdn3d" ) || !strcmp(filter->filter->name, "hqdn3d" ) ||
!strcmp(filter->filter->name, "il" ) ||
!strcmp(filter->filter->name, "ocv" ) || !strcmp(filter->filter->name, "ocv" ) ||
!strcmp(filter->filter->name, "lut" ) || !strcmp(filter->filter->name, "lut" ) ||
!strcmp(filter->filter->name, "lutyuv" ) || !strcmp(filter->filter->name, "lutyuv" ) ||
......
...@@ -204,8 +204,6 @@ static const AVFilterPad outputs[] = { ...@@ -204,8 +204,6 @@ static const AVFilterPad outputs[] = {
{ NULL } { NULL }
}; };
static const char *const shorthand[] = { NULL };
AVFilter avfilter_vf_il = { AVFilter avfilter_vf_il = {
.name = "il", .name = "il",
.description = NULL_IF_CONFIG_SMALL("Deinterleave or interleave fields."), .description = NULL_IF_CONFIG_SMALL("Deinterleave or interleave fields."),
...@@ -214,5 +212,4 @@ AVFilter avfilter_vf_il = { ...@@ -214,5 +212,4 @@ AVFilter avfilter_vf_il = {
.inputs = inputs, .inputs = inputs,
.outputs = outputs, .outputs = outputs,
.priv_class = &il_class, .priv_class = &il_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