Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | eval: Explicitly ignore return value of strtod() in parse_db() | Diego Biurrun | 2013-07-27 | 1 | -1/+2 |
| | | | | | The return value is not needed. This fixes the warning: libavutil/eval.c:353:15: warning: ignoring return value of ‘strtod’ | ||||
* | Use the avstring.h locale-independent character type functions | Reimar Döffinger | 2013-03-07 | 1 | -1/+2 |
| | | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | eval: treat dB as decibels instead of decibytes | Justin Ruggles | 2012-12-05 | 1 | -3/+24 |
| | |||||
* | Remove pointless #undefs of previously forbidden functions. | Anton Khirnov | 2012-12-04 | 1 | -1/+0 |
| | |||||
* | eval-test: make table static const | Mans Rullgard | 2012-10-13 | 1 | -1/+2 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Don't include common.h from avutil.h | Martin Storsjö | 2012-08-15 | 1 | -0/+1 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | eval: fix printing of NaN in eval fate test. | Ronald S. Bultje | 2012-07-26 | 1 | -1/+4 |
| | | | | | This fixes "make fate-eval" on MSVC builds. Without this, the test outputs "-1.#NaN" instead of "nan" on MSVS 2010. | ||||
* | eval: add gt(), gte(), lt() and lte() fate tests | Janne Grunau | 2012-07-14 | 1 | -0/+8 |
| | |||||
* | eval: fix swapping of lt() and lte() | Max Lazarov | 2012-07-14 | 1 | -2/+2 |
| | | | | CC: libav-stable@libav.org | ||||
* | eval: Add the isinf() function and tests for it | Martin Storsjö | 2012-07-04 | 1 | -1/+8 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | opt/eval: Include mathematics.h for NAN/INFINITY | Martin Storsjö | 2012-07-01 | 1 | -0/+1 |
| | | | | | | | These files use NAN/INFINITY but didn't include mathematics.h to get the fallback definitions if the system lacks the macros. Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | Mark mutable static data const where appropriate. | Alex Converse | 2012-02-21 | 1 | -2/+2 |
| | |||||
* | eval: test isnan(sqrt(-1)) instead of just sqrt(-1) | Anton Khirnov | 2011-09-22 | 1 | -1/+1 |
| | | | | sqrt(-1) returns "some NaN", it's not specified which exactly. | ||||
* | eval: implement not() expression | Stefano Sabatini | 2011-09-19 | 1 | -1/+7 |
| | |||||
* | eval: add sqrt function for computing the square root | Stefano Sabatini | 2011-09-19 | 1 | -0/+6 |
| | |||||
* | eval: add missing comma to tests. | Ronald S. Bultje | 2011-07-05 | 1 | -1/+1 |
| | |||||
* | eval: fix memleak. | Ronald S. Bultje | 2011-07-05 | 1 | -0/+1 |
| | |||||
* | eval: clear Parser instances before using | Mans Rullgard | 2011-07-04 | 1 | -2/+2 |
| | | | | | | | This prevents random values from the stack being used as "variables" in expressions. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | eval: make timing optional in test program | Mans Rullgard | 2011-07-04 | 1 | -4/+9 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Do not include log.h in avutil.h | Mans Rullgard | 2011-07-03 | 1 | -0/+1 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Drop unnecessary directory prefixes from #include directives. | Diego Biurrun | 2011-06-07 | 1 | -1/+1 |
| | |||||
* | lavu: remove FF_API_OLD_EVAL_NAMES cruft | Anton Khirnov | 2011-04-19 | 1 | -32/+0 |
| | |||||
* | eval: add support for trunc, ceil, and floor functions | Stefano Sabatini | 2011-04-10 | 1 | -2/+19 |
| | | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | Replace FFmpeg with Libav in licence headers | Mans Rullgard | 2011-03-19 | 1 | -4/+4 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Use hierarchic names convention (prefix them with av_expr) for the | Stefano Sabatini | 2010-11-08 | 1 | -32/+64 |
| | | | | | | | | | eval API. More grep-friendly and more consistent with the rest of the FFmpeg API. Originally committed as revision 25708 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Implement isnan() function evaluation. | Stefano Sabatini | 2010-11-03 | 1 | -2/+7 |
| | | | | Originally committed as revision 25666 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Make strmatch() return 1 only if the string compared against the | Stefano Sabatini | 2010-11-01 | 1 | -1/+4 |
| | | | | | | | | | | prefix does not contain other characters which may belong to an identifier. This allows to distinguish for example to have different constants with the same prefix (e.g. "foo" and "foobar"). Originally committed as revision 25626 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Add st, ld, while examples/tests. | Stefano Sabatini | 2010-11-01 | 1 | -0/+8 |
| | | | | Originally committed as revision 25625 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Add examples of unary operators. | Stefano Sabatini | 2010-11-01 | 1 | -0/+3 |
| | | | | Originally committed as revision 25624 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Fix evaluation of expressions of the form: E1;E2. | Stefano Sabatini | 2010-11-01 | 1 | -1/+2 |
| | | | | | | | The pointer to the char ';' has to be increased before to evaluate ";E2". Originally committed as revision 25623 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Add more tests to eval, help detecting some of the more apparent | Stefano Sabatini | 2010-06-16 | 1 | -0/+38 |
| | | | | | | errors, far from being a complete test system. Originally committed as revision 23635 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Make av_parse_expr() fail if there are trailing chars at the end of | Stefano Sabatini | 2010-06-16 | 1 | -0/+6 |
| | | | | | | | | the provided expression. Allow detection of mistyped expressions. Originally committed as revision 23629 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Improve av_parse_eval() error reporting. | Stefano Sabatini | 2010-06-16 | 1 | -5/+5 |
| | | | | Originally committed as revision 23627 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Move eval.c and eval.h from libavcodec to libavutil, and make the eval | Stefano Sabatini | 2010-06-05 | 1 | -0/+547 |
API public. Originally committed as revision 23485 to svn://svn.ffmpeg.org/ffmpeg/trunk |