History

Merge remote-tracking branch 'mbouron/shorthand-cleanup'

* mbouron/shorthand-cleanup: lavfi/kerndeint: switch to AVOption-based system lavfi/il: switch to AVOption-based system

Michael Niedermayer committed 13 years ago

Commit 72ce9792 parents c2696da 531158e4 files · +3 −12Browse files

Unified · Split

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

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