[FFmpeg-devel] [PATCH] WIP/eval: document recently added random(), hypot(), gcd().

Clément Bœsch ubitux at gmail.com
Sat Oct 8 12:25:00 CEST 2011


---
I took av_gcd() description to document gcd(), but I'm not sure for random()
(it seems normalized but I didn't check). And for hypot(), I just don't know
what it is… :)
---
 doc/eval.texi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/doc/eval.texi b/doc/eval.texi
index ac27750..7995f9e 100644
--- a/doc/eval.texi
+++ b/doc/eval.texi
@@ -83,6 +83,12 @@ Return 1.0 if @var{expr} is zero, 0.0 otherwise.
 @item pow(x, y)
 Compute the power of @var{x} elevated @var{y}, it is equivalent to
 "(@var{x})^(@var{y})".
+
+ at item random()
+ at item hypot()
+ at item gcd()
+Return the greatest common divisor of a and b. If both a and b are 0 or either
+or both are < 0 then behavior is undefined.
 @end table
 
 Note that:
-- 
1.7.7



More information about the ffmpeg-devel mailing list