Luca Barbato
a02142a50a
fix a gcc warning, avoid an unnecessary operation
...
Originally committed as revision 7555 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
3cedeeca02
update copyright year, it looks odd otherwise :)
...
Originally committed as revision 6830 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Oded Shimon
b5c5a86bb7
I hope noone minds, adding myself to eval.c copyright...
...
Originally committed as revision 6827 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Oded Shimon
8cd68d8056
ignore whitespace in ff_eval
...
Originally committed as revision 6821 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Oded Shimon
72523c7a20
add missing 'e->value * '
...
Originally committed as revision 6819 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Oded Shimon
63a547eabc
shut gcc warning, also makes sense for NAN to be returned if the loop was never executed
...
Originally committed as revision 6818 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
45ee0e3282
add support for while() loops again ugly syntax while(condition, statements) but very simple implementation
...
Originally committed as revision 6814 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
835954e3a4
support seperating expressons by ;
...
support variables, the syntax isnt beautifull (st(a,b) means var[a]=b and ld(a) var[a]) but for a mere 19 lines of code its fairly simple, if anyone wants to write real variables support with names for variables and = and [] then that would of course be welcome but only if it doesnt bloat the code up terribly...)
Originally committed as revision 6813 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Oded Shimon
d024359a36
possible bug of 'gte' being read as 'gt', same with 'lte'
...
Originally committed as revision 6811 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
577eab6b62
minor simplification
...
Originally committed as revision 6810 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
a98f4515cf
factorize AVEvalExpr alloc and init
...
Originally committed as revision 6809 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Oded Shimon
85b4eb08cc
new optimized eval method, by seperating parsing and runtime
...
Originally committed as revision 6803 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2c409cc7af
fix -a^b which was interpreted as (-a)^b
...
Originally committed as revision 6713 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
cacb17b47f
asin() acos() atan()
...
Originally committed as revision 6712 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
212d84881a
mod()
...
Originally committed as revision 6710 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
36c32bdddf
Remove unused variables and the corresponding warnings along with them.
...
Originally committed as revision 6536 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
0ec6065a34
Break compatibility only when first part of version number changes, in this
...
specific case for ff_eval deprecation.
Originally committed as revision 6358 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
95c9943081
Make AVOption parsign code use ff_eval2()
...
Originally committed as revision 6357 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
a2eb288ac7
Fix compilation by postponing deprecation of ff_eval() until the next version
...
increment.
Originally committed as revision 6352 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
ae41e29b5b
Introduce ff_eval2 which is equivalent to ff_eval but does not log anything.
...
Instead, error messages are passed upward by means of a struct member variable.
Originally committed as revision 6348 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
97a9195feb
Missing extern declaration for av_strtod.
...
Originally committed as revision 6327 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b8100438a0
cosmetic
...
Originally committed as revision 6326 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
e6b120018b
segfault fix
...
thanks to takis for finding the cause of this
Originally committed as revision 6325 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
79ca4de35b
Define NAN -if not already defined- as 0.0/0.0
...
Originally committed as revision 6324 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
97c73545a5
Add support for SI (k, M, ...) and IEC/IEEE (Ki, Mi, ...) units.
...
Originally committed as revision 6287 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
7eb1042cbd
K prefix
...
add SI prefix selftest
Originally committed as revision 6286 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
e66477afbe
support SI and some non SI prefixes
...
Originally committed as revision 6284 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
80a4995853
simplify
...
benchmark
Originally committed as revision 3844 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
67e11730fc
simplify
...
Originally committed as revision 3841 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
b349fde101
simplify, null pointer, selftest
...
Originally committed as revision 3840 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Alex Beregszaszi
69f5de1855
avoid negative array indices
...
Originally committed as revision 2794 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michel Bardiaux
9b87956678
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
...
Originally committed as revision 2469 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
983e3246b7
per file doxy
...
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
5c91a6755b
* static,const,compiler warning cleanup
...
Originally committed as revision 1567 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
471d7dc3d0
undefined M_PI / M_E fix
...
Originally committed as revision 881 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Rémi Guyomarch
d0d816d8bf
NAN doesnt exist on FreeBSD patch by (Rémi Guyomarch <rguyom at pobox dot com>)
...
Originally committed as revision 864 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
3aa102be84
new ratecontrol code
...
Originally committed as revision 862 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago