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

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

This commit is contained in:
Clément Bœsch 2013-04-11 01:01:49 +02:00
parent b2d589188f
commit 7668b6832d
3 changed files with 10 additions and 3 deletions

View File

@ -3730,6 +3730,15 @@ Detect video interlacing type.
This filter tries to detect if the input is interlaced or progressive,
top or bottom field first.
The filter accepts the following options:
@table @option
@item intl_thres
Set interlacing threshold.
@item prog_thres
Set progressive threshold.
@end table
@section il
Deinterleave or interleave fields.

View File

@ -682,6 +682,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!strcmp(filter->filter->name, "histeq" ) ||
!strcmp(filter->filter->name, "histogram" ) ||
!strcmp(filter->filter->name, "hqdn3d" ) ||
!strcmp(filter->filter->name, "idet" ) ||
!strcmp(filter->filter->name, "ocv" ) ||
!strcmp(filter->filter->name, "life" ) ||
!strcmp(filter->filter->name, "lut" ) ||

View File

@ -304,8 +304,6 @@ static const AVFilterPad idet_outputs[] = {
{ NULL }
};
static const char *const shorthand[] = { "intl_thres", "prog_thres", NULL };
AVFilter avfilter_vf_idet = {
.name = "idet",
.description = NULL_IF_CONFIG_SMALL("Interlace detect Filter."),
@ -317,5 +315,4 @@ AVFilter avfilter_vf_idet = {
.inputs = idet_inputs,
.outputs = idet_outputs,
.priv_class = &idet_class,
.shorthand = shorthand,
};