4 Commits (3dec10cded6d51e392da67a9136d490324104d18)

Author SHA1 Message Date
Stefano Sabatini eb928286de Add more tests to eval, help detecting some of the more apparent 15 years ago
Stefano Sabatini 7ec9b9beca Make av_parse_expr() fail if there are trailing chars at the end of 15 years ago
Stefano Sabatini 2f62224bc0 Improve av_parse_eval() error reporting. 15 years ago
Stefano Sabatini 0b99215c0e Move eval.c and eval.h from libavcodec to libavutil, and make the eval 15 years ago
Stefano Sabatini 79513857ba Fix eval-test compilation. 15 years ago
Stefano Sabatini b851dd9e9b Cosmetics: reindent and break some overly long line. 15 years ago
Stefano Sabatini 0cd28d9494 Cosmetics: consistently apply K&R style. 15 years ago
Stefano Sabatini 9711439b44 Cosmetics: rename ff_parse_expr() and ff_parse_and_eval_expr() parameters: 15 years ago
Stefano Sabatini 9ace13b416 Make ff_parse_expr() and ff_parse_and_eval_expr() return an int 15 years ago
Michael Niedermayer 2b65bb45b5 Change eval API to take parent log context and log level offset. 15 years ago
Stefano Sabatini edd259f92f Change the order of parameters for ff_eval_expr() and 15 years ago
Diego Biurrun ba87f0801d Remove explicit filename from Doxygen @file commands. 15 years ago
Stefano Sabatini fc7e2d34cf Fix constness for func[12] parameters in ff_parse_expr() and 15 years ago
Stefano Sabatini 82fdcd449c Change constness for func[12]_name parameters of ff_parse_expr() and 15 years ago
Stefano Sabatini 1235429c27 Rename ff_parse() to ff_parse_expr(). 15 years ago
Stefano Sabatini 6c71d2c135 Remove unnecessary header inclusion directives. 15 years ago
Stefano Sabatini a367be1e88 Rename ff_eval2() to ff_parse_and_eval_expr(). 15 years ago
Stefano Sabatini 4565caf120 Rename ff_parse_eval() to ff_eval_expr(). 15 years ago
Stefano Sabatini 8c21647382 Remove redundant file descriptions from copyright headers. 15 years ago
Stefano Sabatini a3731cadfc Avoid the use of the symbol ff_expr_s for referencing AVExpr. 15 years ago
Stefano Sabatini f8fea468b2 Rename ff_eval_free() to ff_free_expr(). 15 years ago
Stefano Sabatini 073f6d5b96 Rename AVEvalExpr to AVExpr, as suggested by Michael. 15 years ago
Ramiro Polla 0345f36bbd eval: Check for return value of memory allocations. 15 years ago
Måns Rullgård 0314dead4e eval: replace variable-length array with av_malloc/free 15 years ago
Måns Rullgård 87a920c6bf eval: include libavutil/mathematics.h for NAN and M_PI 15 years ago
Måns Rullgård 9a88c1dfa8 eval: include our headers after system headers 15 years ago
Stefano Sabatini 1c2744d139 Export av_strtod() to eval.h. 16 years ago
Stefano Sabatini e877eaacf3 Cosmetics: rename 'name' av_strtod() param to 'numstr'. The new name 16 years ago
Diego Biurrun bad5537e2c Use full internal pathname in doxygen @file directives. 16 years ago
Anders Grönberg cac55c9196 Add a few const qualifiers in appropriate places. 16 years ago
Diego Biurrun c2dec19420 Fix test program build: ff_eval was replaced by ff_eval2. 16 years ago
Michael Niedermayer d578432db8 Remove stuff under #if LIBAVCODEC_VERSION_INT. 16 years ago
Stefan Gehrer cf2baeb338 mark read-only data as const 17 years ago
Stefano Sabatini cad2af9760 Improve parse_primary() error message. 17 years ago
Aurelien Jacobs fbd4293df9 remove more useless mpegvideo.h includes 17 years ago
Luca Abeni 6881b8e567 Fix 17 years ago
Michael Niedermayer 20e4beaef7 const 17 years ago
Diego Biurrun e5b10e3174 Fix warnings in test code: 17 years ago
Diego Biurrun f8a80fd69d main() --> main(void) 17 years ago
Diego Biurrun e5a389a1b7 license header consistency cosmetics 18 years ago
Reimar Döffinger f66e4f5f9e Add av_ prefix to clip functions 18 years ago
Luca Barbato a02142a50a fix a gcc warning, avoid an unnecessary operation 18 years ago
Michael Niedermayer 3cedeeca02 update copyright year, it looks odd otherwise :) 18 years ago
Oded Shimon b5c5a86bb7 I hope noone minds, adding myself to eval.c copyright... 18 years ago
Oded Shimon 8cd68d8056 ignore whitespace in ff_eval 18 years ago
Oded Shimon 72523c7a20 add missing 'e->value * ' 18 years ago
Oded Shimon 63a547eabc shut gcc warning, also makes sense for NAN to be returned if the loop was never executed 18 years ago
Michael Niedermayer 45ee0e3282 add support for while() loops again ugly syntax while(condition, statements) but very simple implementation 18 years ago
Michael Niedermayer 835954e3a4 support seperating expressons by ; 18 years ago
Oded Shimon d024359a36 possible bug of 'gte' being read as 'gt', same with 'lte' 18 years ago