00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00028 #ifndef FFMPEG_EVAL_H
00029 #define FFMPEG_EVAL_H
00030
00031 #if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
00032
00035 double ff_eval(char *s, double *const_value, const char **const_name,
00036 double (**func1)(void *, double), const char **func1_name,
00037 double (**func2)(void *, double, double), char **func2_name,
00038 void *opaque);
00039 #endif
00040
00055 double ff_eval2(char *s, double *const_value, const char **const_name,
00056 double (**func1)(void *, double), const char **func1_name,
00057 double (**func2)(void *, double, double), char **func2_name,
00058 void *opaque, const char **error);
00059
00060 typedef struct ff_expr_s AVEvalExpr;
00061
00074 AVEvalExpr * ff_parse(char *s, const char **const_name,
00075 double (**func1)(void *, double), const char **func1_name,
00076 double (**func2)(void *, double, double), char **func2_name,
00077 const char **error);
00084 double ff_parse_eval(AVEvalExpr * e, double *const_value, void *opaque);
00085 void ff_eval_free(AVEvalExpr * e);
00086
00087 #endif