summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-10-16 18:36:44 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-10-16 18:36:44 +0000
commitcacb17b47f18a697900cd2fd4ecb66535c52c873 (patch)
tree9c07e8fc8f8ea11e2c59309151ad2cc523b34c4b /libavcodec
parent9f1c1c9985fe5c2c4888b8b600ce2e59e037d05e (diff)
asin() acos() atan()
Originally committed as revision 6712 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/eval.c3
1 files changed, 3 insertions, 0 deletions
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));