diff options
author | Nicholas Robbins <nickrobbins-at-yahoo.com@ffmpeg.org> | 2014-10-19 09:20:22 -0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-19 17:59:53 +0200 |
commit | 22cfa1f759ac5e3b7a62f3b5d0cd88f5fd1e399f (patch) | |
tree | bc2fa9ea862b0c78c37e40fc96daa6f02e9643de /doc | |
parent | 9d51bad6255ec58493c8a5369594d701a5766020 (diff) |
libavfi: added option to vf_perspective to specify transformation by giving destinations of corners of source.
Signed-off-by: Nicholas Robbins <nickrobbins@yahoo.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index b847635654..c61205228a 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -6718,6 +6718,9 @@ A description of the accepted parameters follows. @item y3 Set coordinates expression for top left, top right, bottom left and bottom right corners. Default values are @code{0:0:W:0:0:H:W:H} with which perspective will remain unchanged. +If the @code{sense} option is set to @code{source}, then the specified points will be sent +to the corners of the destination. If the @code{sense} option is set to @code{destination}, +then the corners of the source will be sent to the specified coordinates. The expressions can use the following variables: @@ -6737,6 +6740,24 @@ It accepts the following values: @end table Default value is @samp{linear}. + +@item sense +Set interpretation of coordinate options. + +It accepts the following values: +@table @samp +@item 0, source + +Send point in the source specified by the given coordinates to +the corners of the destination. + +@item 1, destination + +Send the corners of the source to the point in the destination specified +by the given coordinates. + +Default value is @samp{source}. +@end table @end table @section phase |