Commit 1653027a authored by Stefano Sabatini's avatar Stefano Sabatini

Improve layout and clarify / complete documentation for the yadif

filter.

Originally committed as revision 26043 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cf7c961b
...@@ -884,34 +884,41 @@ Flip the input video vertically. ...@@ -884,34 +884,41 @@ Flip the input video vertically.
@section yadif @section yadif
yadif is "yet another deinterlacing filter". Deinterlace the input video ("yadif" means "yet another deinterlacing
filter").
It accepts the syntax: It accepts the optional parameters: @var{mode}:@var{parity}.
@example
yadif=[@var{mode}[:@var{parity}]]
@end example
@table @option
@item mode @var{mode} specifies the interlacing mode to adopt, accepts one of the
Specify the interlacing mode to adopt, accepts one of the following values. following values:
0: Output 1 frame for each frame. @table @option
@item 0
1: Output 1 frame for each field. output 1 frame for each frame
@item 1
2: Like 0 but skips spatial interlacing check. output 1 frame for each field
@item 2
3: Like 1 but skips spatial interlacing check. like 0 but skips spatial interlacing check
@item 3
like 1 but skips spatial interlacing check
@end table
Default value is 0. Default value is 0.
@item parity @var{parity} specifies the picture field parity assumed for the input
0 if is bottom field first, 1 if the interlaced video is top field interlaced video, accepts one of the following values:
first, -1 to enable automatic detection.
@table @option
@item 0
assume bottom field first
@item 1
assume top field first
@item -1
enable automatic detection
@end table @end table
Default value is -1.
@c man end VIDEO FILTERS @c man end VIDEO FILTERS
@chapter Video Sources @chapter Video Sources
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment