OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f1c1c9
)
asin() acos() atan()
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 16 Oct 2006 18:36:44 +0000
(18:36 +0000)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/libavcodec/eval.c
b/libavcodec/eval.c
index
35147a7
..
9bc0c4b
100644
(file)
--- 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));