History

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

Clément Bœsch committed 13 years ago

Commit c85f56b1 parent 64a10313 files · +2 −10Browse files

Unified · Split

3 files
  1. doc/filters.texi +1 −7
  2. libavfilter/avfilter.c +1 −0
  3. libavfilter/vf_tinterlace.c +0 −3
doc/filters.texi+1−7
@@ -5465,13 +5465,7 @@ Perform various types of temporal field interlacing. · 5464 unmodified lines
5465Frames are counted starting from 1, so the first input frame is5465Frames are counted starting from 1, so the first input frame is
5466considered odd.5466considered odd.
5467 5467
5468This filter accepts options in the form of @var{key}=@var{value} pairs5468The filter accepts the following options:
5469separated by ":".
5470Alternatively, the @var{mode} option can be specified as a value alone,
5471optionally followed by a ":" and further ":" separated @var{key}=@var{value}
5472pairs.
5473
5474A description of the accepted options follows.
5475 5469
5476@table @option5470@table @option
5477 5471
libavfilter/avfilter.c+1−0
@@ -758,6 +758,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 757 unmodified lines
758 !strcmp(filter->filter->name, "testsrc" ) ||758 !strcmp(filter->filter->name, "testsrc" ) ||
759 !strcmp(filter->filter->name, "thumbnail") ||759 !strcmp(filter->filter->name, "thumbnail") ||
760 !strcmp(filter->filter->name, "tile") ||760 !strcmp(filter->filter->name, "tile") ||
761 !strcmp(filter->filter->name, "tinterlace") ||
761 !strcmp(filter->filter->name, "transpose") ||762 !strcmp(filter->filter->name, "transpose") ||
762 !strcmp(filter->filter->name, "treble" ) ||763 !strcmp(filter->filter->name, "treble" ) ||
763 !strcmp(filter->filter->name, "unsharp" ) ||764 !strcmp(filter->filter->name, "unsharp" ) ||
libavfilter/vf_tinterlace.c+0−3
@@ -385,8 +385,6 @@ static const AVFilterPad tinterlace_outputs[] = { · 384 unmodified lines
385 { NULL }385 { NULL }
386};386};
387 387
388static const char *const shorthand[] = { "mode", NULL };
389
390AVFilter avfilter_vf_tinterlace = {388AVFilter avfilter_vf_tinterlace = {
391 .name = "tinterlace",389 .name = "tinterlace",
392 .description = NULL_IF_CONFIG_SMALL("Perform temporal field interlacing."),390 .description = NULL_IF_CONFIG_SMALL("Perform temporal field interlacing."),
@@ -396,5 +394,4 @@ AVFilter avfilter_vf_tinterlace = { · 3 unmodified lines
396 .inputs = tinterlace_inputs,394 .inputs = tinterlace_inputs,
397 .outputs = tinterlace_outputs,395 .outputs = tinterlace_outputs,
398 .priv_class = &tinterlace_class,396 .priv_class = &tinterlace_class,
399 .shorthand = shorthand,
400};397};

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