From cacb17b47f18a697900cd2fd4ecb66535c52c873 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 16 Oct 2006 18:36:44 +0000 Subject: [PATCH] asin() acos() atan() Originally committed as revision 6712 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/eval.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/eval.c b/libavcodec/eval.c index 35147a7d0c..9bc0c4b725 100644 --- a/libavcodec/eval.c +++ b/libavcodec/eval.c @@ -170,6 +170,9 @@ static double evalPrimary(Parser *p){ else if( strmatch(next, "sin" ) ) d= sin(d); else if( strmatch(next, "cos" ) ) d= cos(d); else if( strmatch(next, "tan" ) ) d= tan(d); + else if( strmatch(next, "atan" ) ) d= atan(d); + else if( strmatch(next, "asin" ) ) d= asin(d); + else if( strmatch(next, "acos" ) ) d= acos(d); else if( strmatch(next, "exp" ) ) d= exp(d); else if( strmatch(next, "log" ) ) d= log(d); else if( strmatch(next, "squish") ) d= 1/(1+exp(4*d));