Unified · Split
| @@ -3730,6 +3730,15 @@ Detect video interlacing type. · 3729 unmodified lines | ||
| 3730 | 3730 | This filter tries to detect if the input is interlaced or progressive, |
| 3731 | 3731 | top or bottom field first. |
| 3732 | 3732 | |
| 3733 | +The filter accepts the following options: | |
| 3734 | + | |
| 3735 | +@table @option | |
| 3736 | +@item intl_thres | |
| 3737 | +Set interlacing threshold. | |
| 3738 | +@item prog_thres | |
| 3739 | +Set progressive threshold. | |
| 3740 | +@end table | |
| 3741 | + | |
| 3733 | 3742 | @section il |
| 3734 | 3743 | |
| 3735 | 3744 | Deinterleave or interleave fields. |
| @@ -682,6 +682,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 681 unmodified lines | ||
| 682 | 682 | !strcmp(filter->filter->name, "histeq" ) || |
| 683 | 683 | !strcmp(filter->filter->name, "histogram" ) || |
| 684 | 684 | !strcmp(filter->filter->name, "hqdn3d" ) || |
| 685 | + !strcmp(filter->filter->name, "idet" ) || | |
| 685 | 686 | !strcmp(filter->filter->name, "ocv" ) || |
| 686 | 687 | !strcmp(filter->filter->name, "life" ) || |
| 687 | 688 | !strcmp(filter->filter->name, "lut" ) || |
| @@ -304,8 +304,6 @@ static const AVFilterPad idet_outputs[] = { · 303 unmodified lines | ||
| 304 | 304 | { NULL } |
| 305 | 305 | }; |
| 306 | 306 | |
| 307 | −static const char *const shorthand[] = { "intl_thres", "prog_thres", NULL }; | |
| 308 | − | |
| 309 | 307 | AVFilter avfilter_vf_idet = { |
| 310 | 308 | .name = "idet", |
| 311 | 309 | .description = NULL_IF_CONFIG_SMALL("Interlace detect Filter."), |
| @@ -317,5 +315,4 @@ AVFilter avfilter_vf_idet = { · 5 unmodified lines | ||
| 317 | 315 | .inputs = idet_inputs, |
| 318 | 316 | .outputs = idet_outputs, |
| 319 | 317 | .priv_class = &idet_class, |
| 320 | − .shorthand = shorthand, | |
| 321 | 318 | }; |