[FFmpeg-cvslog] doc/filters: fix lenscorrection k1 & k2 typo
Lou Logan
git at videolan.org
Thu Apr 12 23:54:35 EEST 2018
ffmpeg | branch: master | Lou Logan <lou at lrcd.com> | Thu Apr 12 12:44:49 2018 -0800| [4d544f608608f69e68136b8333d3649866e2a7ed] | committer: Lou Logan
doc/filters: fix lenscorrection k1 & k2 typo
0 means no correction, not 0.5.
Also document ranges and defaults for options.
Signed-off-by: Lou Logan <lou at lrcd.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d544f608608f69e68136b8333d3649866e2a7ed
---
doc/filters.texi | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/doc/filters.texi b/doc/filters.texi
index b78e05a329..09b07d2a4a 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -10373,15 +10373,17 @@ The filter accepts the following options:
@item cx
Relative x-coordinate of the focal point of the image, and thereby the center of the
distortion. This value has a range [0,1] and is expressed as fractions of the image
-width.
+width. Default is 0.5.
@item cy
Relative y-coordinate of the focal point of the image, and thereby the center of the
distortion. This value has a range [0,1] and is expressed as fractions of the image
-height.
+height. Default is 0.5.
@item k1
-Coefficient of the quadratic correction term. 0.5 means no correction.
+Coefficient of the quadratic correction term. This value has a range [-1,1]. 0 means
+no correction. Default is 0.
@item k2
-Coefficient of the double quadratic correction term. 0.5 means no correction.
+Coefficient of the double quadratic correction term. This value has a range [-1,1].
+0 means no correction. Default is 0.
@end table
The formula that generates the correction is:
More information about the ffmpeg-cvslog
mailing list