1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

doc/eval: add missing documentation of functions

This commit is contained in:
Stefano Sabatini 2012-08-21 13:16:13 +02:00
parent 4a32b30e0c
commit 4a91962771

View File

@ -21,32 +21,78 @@ The following unary operators are available: @code{+}, @code{-}.
The following functions are available: The following functions are available:
@table @option @table @option
@item sinh(x) @item sinh(x)
Compute hyperbolic sine of @var{x}.
@item cosh(x) @item cosh(x)
Compute hyperbolic cosine of @var{x}.
@item tanh(x) @item tanh(x)
Compute hyperbolic tangent of @var{x}.
@item sin(x) @item sin(x)
Compute sine of @var{x}.
@item cos(x) @item cos(x)
Compute cosine of @var{x}.
@item tan(x) @item tan(x)
Compute tangent of @var{x}.
@item atan(x) @item atan(x)
Compute arctangent of @var{x}.
@item asin(x) @item asin(x)
Compute arcsine of @var{x}.
@item acos(x) @item acos(x)
Compute arccosine of @var{x}.
@item exp(x) @item exp(x)
Compute exponential of @var{x} (with base @code{e}, the Euler's number).
@item log(x) @item log(x)
Compute natural logarithm of @var{x}.
@item abs(x) @item abs(x)
Compute absolute value of @var{x}.
@item squish(x) @item squish(x)
Compute expression @code{1/(1 + exp(4*x))}.
@item gauss(x) @item gauss(x)
Compute Gauss function of @var{x}, corresponding to
@code{exp(-x*x/2) / sqrt(2*PI)}.
@item isinf(x) @item isinf(x)
Return 1.0 if @var{x} is +/-INFINITY, 0.0 otherwise. Return 1.0 if @var{x} is +/-INFINITY, 0.0 otherwise.
@item isnan(x) @item isnan(x)
Return 1.0 if @var{x} is NAN, 0.0 otherwise. Return 1.0 if @var{x} is NAN, 0.0 otherwise.
@item mod(x, y) @item mod(x, y)
Compute the remainder of division of @var{x} by @var{y}.
@item max(x, y) @item max(x, y)
Return the maximum between @var{x} and @var{y}.
@item min(x, y) @item min(x, y)
Return the maximum between @var{x} and @var{y}.
@item eq(x, y) @item eq(x, y)
Return 1 if @var{x} and @var{y} are equivalent, 0 otherwise.
@item gte(x, y) @item gte(x, y)
Return 1 if @var{x} is greater than or equal to @var{y}, 0 otherwise.
@item gt(x, y) @item gt(x, y)
Return 1 if @var{x} is greater than @var{y}, 0 otherwise.
@item lte(x, y) @item lte(x, y)
Return 1 if @var{x} is lesser than or equal to @var{y}, 0 otherwise.
@item lt(x, y) @item lt(x, y)
Return 1 if @var{x} is lesser than @var{y}, 0 otherwise.
@item st(var, expr) @item st(var, expr)
Allow to store the value of the expression @var{expr} in an internal Allow to store the value of the expression @var{expr} in an internal
variable. @var{var} specifies the number of the variable where to variable. @var{var} specifies the number of the variable where to