* mbouron/shorthand-cleanup: lavfi/kerndeint: switch to AVOption-based system lavfi/il: switch to AVOption-based system
Unified · Split
| @@ -3745,8 +3745,7 @@ fields (so called half pictures). Odd lines are moved to the top · 3744 unmodified lines | ||
| 3745 | 3745 | half of the output image, even lines to the bottom half. |
| 3746 | 3746 | You can process (filter) them independently and then re-interleave them. |
| 3747 | 3747 | |
| 3748 | −It accepts a list of options in the form of @var{key}=@var{value} pairs | |
| 3749 | −separated by ":". A description of the accepted options follows. | |
| 3748 | +The filter accepts the following options: | |
| 3750 | 3749 | |
| 3751 | 3750 | @table @option |
| 3752 | 3751 | @item luma_mode, l |
| @@ -3779,11 +3778,6 @@ Deinterlace input video by applying Donald Graft's adaptive kernel · 26 unmodified lines | ||
| 3779 | 3778 | deinterling. Work on interlaced parts of a video to produce |
| 3780 | 3779 | progressive frames. |
| 3781 | 3780 | |
| 3782 | −This filter accepts parameters as a list of @var{key}=@var{value} | |
| 3783 | −pairs, separated by ":". If the key of the first options is omitted, | |
| 3784 | −the arguments are interpreted according to the following syntax: | |
| 3785 | −@var{thresh}:@var{map}:@var{order}:@var{sharp}:@var{twoway}. | |
| 3786 | − | |
| 3787 | 3781 | The description of the accepted parameters follows. |
| 3788 | 3782 | |
| 3789 | 3783 | @table @option |
| @@ -680,6 +680,8 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 679 unmodified lines | ||
| 680 | 680 | !strcmp(filter->filter->name, "geq" ) || |
| 681 | 681 | !strcmp(filter->filter->name, "gradfun" ) || |
| 682 | 682 | !strcmp(filter->filter->name, "hqdn3d" ) || |
| 683 | + !strcmp(filter->filter->name, "il" ) || | |
| 684 | + !strcmp(filter->filter->name, "kerndeint" ) || | |
| 683 | 685 | !strcmp(filter->filter->name, "ocv" ) || |
| 684 | 686 | !strcmp(filter->filter->name, "life" ) || |
| 685 | 687 | !strcmp(filter->filter->name, "lut" ) || |
| @@ -204,8 +204,6 @@ static const AVFilterPad outputs[] = { · 203 unmodified lines | ||
| 204 | 204 | { NULL } |
| 205 | 205 | }; |
| 206 | 206 | |
| 207 | −static const char *const shorthand[] = { NULL }; | |
| 208 | − | |
| 209 | 207 | AVFilter avfilter_vf_il = { |
| 210 | 208 | .name = "il", |
| 211 | 209 | .description = NULL_IF_CONFIG_SMALL("Deinterleave or interleave fields."), |
| @@ -214,5 +212,4 @@ AVFilter avfilter_vf_il = { · 2 unmodified lines | ||
| 214 | 212 | .inputs = inputs, |
| 215 | 213 | .outputs = outputs, |
| 216 | 214 | .priv_class = &il_class, |
| 217 | − .shorthand = shorthand, | |
| 218 | 215 | }; |
| @@ -305,7 +305,6 @@ static const AVFilterPad kerndeint_outputs[] = { · 304 unmodified lines | ||
| 305 | 305 | { NULL } |
| 306 | 306 | }; |
| 307 | 307 | |
| 308 | −static const char *const shorthand[] = { "thresh", "map", "order", "sharp", "twoway", NULL }; | |
| 309 | 308 | |
| 310 | 309 | AVFilter avfilter_vf_kerndeint = { |
| 311 | 310 | .name = "kerndeint", |
| @@ -318,5 +317,4 @@ AVFilter avfilter_vf_kerndeint = { · 6 unmodified lines | ||
| 318 | 317 | .outputs = kerndeint_outputs, |
| 319 | 318 | |
| 320 | 319 | .priv_class = &kerndeint_class, |
| 321 | − .shorthand = shorthand, | |
| 322 | 320 | }; |