OSDN Git Service

asin() acos() atan()
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 16 Oct 2006 18:36:44 +0000 (18:36 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 16 Oct 2006 18:36:44 +0000 (18:36 +0000)
Originally committed as revision 6712 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/eval.c

index 35147a7..9bc0c4b 100644 (file)
@@ -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));