lavu/eval: add clip function

This commit is contained in:
Stefano Sabatini 2014-07-04 14:13:11 +02:00
parent 7cd6d61da5
commit f3e886c7df
4 changed files with 26 additions and 2 deletions

View file

@ -782,6 +782,9 @@ large numbers (usually 2^53 and larger).
Round the value of expression @var{expr} upwards to the nearest
integer. For example, "ceil(1.5)" is "2.0".
@item clip(x, min, max)
Return the value of @var{x} clipped between @var{min} and @var{max}.
@item cos(x)
Compute cosine of @var{x}.