diff options
author | Oded Shimon <ods15@ods15.dyndns.org> | 2006-10-27 16:42:16 +0000 |
---|---|---|
committer | Oded Shimon <ods15@ods15.dyndns.org> | 2006-10-27 16:42:16 +0000 |
commit | 85b4eb08ccf03edb01b2b9cee11c27717be140b8 (patch) | |
tree | a21e3efcd2b2b8cc65532084ed95d7481561f019 /libavcodec/eval.h | |
parent | 18de0b81d5baee36311e3be4b883c490227ac68f (diff) | |
download | ffmpeg-85b4eb08ccf03edb01b2b9cee11c27717be140b8.tar.gz |
new optimized eval method, by seperating parsing and runtime
Originally committed as revision 6803 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eval.h')
-rw-r--r-- | libavcodec/eval.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/eval.h b/libavcodec/eval.h index e1510c9cf7..05a2f1ef2a 100644 --- a/libavcodec/eval.h +++ b/libavcodec/eval.h @@ -39,4 +39,12 @@ double ff_eval2(char *s, double *const_value, const char **const_name, double (**func2)(void *, double, double), char **func2_name, void *opaque, char **error); +typedef struct ff_expr_s AVEvalExpr; +AVEvalExpr * ff_parse(char *s, const char **const_name, + double (**func1)(void *, double), const char **func1_name, + double (**func2)(void *, double, double), char **func2_name, + char **error); +double ff_parse_eval(AVEvalExpr * e, double *const_value, void *opaque); +void ff_eval_free(AVEvalExpr * e); + #endif /* AVCODEC_EVAL_H */ |