[FFmpeg-devel] [PATCH] doc/filters: simplify lenscorrection option descriptions
Lou Logan
lou at lrcd.com
Mon Feb 9 21:04:47 CET 2015
Also mention option defaults.
Also fix incorrect k1 and k2 "no correction" values.
Signed-off-by: Lou Logan <lou at lrcd.com>
---
doc/filters.texi | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/doc/filters.texi b/doc/filters.texi
index c6fef0c..c74b4b5 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -5961,17 +5961,15 @@ The filter accepts the following options:
@table @option
@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.
+Set the x-center of the distortion. Range is 0 to 1. 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.
+Set the y-center of the distortion. Range is 0 to 1. Default is 0.5.
@item k1
-Coefficient of the quadratic correction term. 0.5 means no correction.
+Coefficient of the quadratic correction term. 0.0 means no correction.
+Range is -1 to 1. Default is 0.0.
@item k2
-Coefficient of the double quadratic correction term. 0.5 means no correction.
+Coefficient of the double quadratic correction term. 0.0 means no correction.
+Range is -1 to 1. Default is 0.0.
@end table
The formula that generates the correction is:
--
2.2.2
More information about the ffmpeg-devel
mailing list