History

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

Clément Bœsch committed 13 years ago

Commit 7668b681 parent b2d58913 files · +10 −3Browse files

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t