00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00026 #ifndef AVCODEC_EVAL_H
00027 #define AVCODEC_EVAL_H
00028
00029 typedef struct AVExpr AVExpr;
00030
00046 double ff_parse_and_eval_expr(const char *s, const double *const_value, const char * const *const_name,
00047 double (* const *func1)(void *, double), const char * const *func1_name,
00048 double (* const *func2)(void *, double, double), const char * const *func2_name,
00049 void *opaque, const char **error);
00050
00064 AVExpr *ff_parse_expr(const char *s, const char * const *const_name,
00065 double (* const *func1)(void *, double), const char * const *func1_name,
00066 double (* const *func2)(void *, double, double), const char * const *func2_name,
00067 const char **error);
00068
00076 double ff_eval_expr(AVExpr * e, const double *const_value, void *opaque);
00077
00081 void ff_free_expr(AVExpr *e);
00082
00100 double av_strtod(const char *numstr, char **tail);
00101
00102 #endif