Commit 6efc6582 authored by ods15's avatar ods15

new optimized eval method, by seperating parsing and runtime


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6803 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent dba16ca8
This diff is collapsed.
......@@ -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 */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment