comparison eval.h @ 6354:0809b40d9b65 libavcodec

Fix utils.c: In function ¡Æavcodec_get_context_defaults2¡Ç: utils.c:793: warning: assignment discards qualifiers from pointer target type
author lucabe
date Fri, 15 Feb 2008 12:04:35 +0000
parents e378dca8784f
children c4a4495715dd
comparison
equal deleted inserted replaced
6353:42a3c36e3303 6354:0809b40d9b65
50 * @param error pointer to a char* which is set to an error message if something goes wrong 50 * @param error pointer to a char* which is set to an error message if something goes wrong
51 * @param const_value a zero terminated array of values for the identifers from const_name 51 * @param const_value a zero terminated array of values for the identifers from const_name
52 * @param opaque a pointer which will be passed to all functions from func1 and func2 52 * @param opaque a pointer which will be passed to all functions from func1 and func2
53 * @return the value of the expression 53 * @return the value of the expression
54 */ 54 */
55 double ff_eval2(char *s, double *const_value, const char **const_name, 55 double ff_eval2(const char *s, double *const_value, const char **const_name,
56 double (**func1)(void *, double), const char **func1_name, 56 double (**func1)(void *, double), const char **func1_name,
57 double (**func2)(void *, double, double), char **func2_name, 57 double (**func2)(void *, double, double), char **func2_name,
58 void *opaque, const char **error); 58 void *opaque, const char **error);
59 59
60 typedef struct ff_expr_s AVEvalExpr; 60 typedef struct ff_expr_s AVEvalExpr;
69 * @param func2_name NULL terminated array of zero terminated strings of func2 identifers 69 * @param func2_name NULL terminated array of zero terminated strings of func2 identifers
70 * @param error pointer to a char* which is set to an error message if something goes wrong 70 * @param error pointer to a char* which is set to an error message if something goes wrong
71 * @return AVEvalExpr which must be freed with ff_eval_free by the user when it is not needed anymore 71 * @return AVEvalExpr which must be freed with ff_eval_free by the user when it is not needed anymore
72 * NULL if anything went wrong 72 * NULL if anything went wrong
73 */ 73 */
74 AVEvalExpr * ff_parse(char *s, const char **const_name, 74 AVEvalExpr * ff_parse(const char *s, const char **const_name,
75 double (**func1)(void *, double), const char **func1_name, 75 double (**func1)(void *, double), const char **func1_name,
76 double (**func2)(void *, double, double), char **func2_name, 76 double (**func2)(void *, double, double), char **func2_name,
77 const char **error); 77 const char **error);
78 /** 78 /**
79 * Evaluates a previously parsed expression. 79 * Evaluates a previously parsed expression.