Mercurial > libavcodec.hg
comparison eval.h @ 4081:cedb63307f3d libavcodec
new optimized eval method, by seperating parsing and runtime
author | ods15 |
---|---|
date | Fri, 27 Oct 2006 16:42:16 +0000 |
parents | c8c591fe26f8 |
children | 70502aaeebd9 |
comparison
equal
deleted
inserted
replaced
4080:f426c81afc9e | 4081:cedb63307f3d |
---|---|
37 double ff_eval2(char *s, double *const_value, const char **const_name, | 37 double ff_eval2(char *s, double *const_value, const char **const_name, |
38 double (**func1)(void *, double), const char **func1_name, | 38 double (**func1)(void *, double), const char **func1_name, |
39 double (**func2)(void *, double, double), char **func2_name, | 39 double (**func2)(void *, double, double), char **func2_name, |
40 void *opaque, char **error); | 40 void *opaque, char **error); |
41 | 41 |
42 typedef struct ff_expr_s AVEvalExpr; | |
43 AVEvalExpr * ff_parse(char *s, const char **const_name, | |
44 double (**func1)(void *, double), const char **func1_name, | |
45 double (**func2)(void *, double, double), char **func2_name, | |
46 char **error); | |
47 double ff_parse_eval(AVEvalExpr * e, double *const_value, void *opaque); | |
48 void ff_eval_free(AVEvalExpr * e); | |
49 | |
42 #endif /* AVCODEC_EVAL_H */ | 50 #endif /* AVCODEC_EVAL_H */ |