Mercurial > libavcodec.hg
comparison eval.h @ 11603:5cbea9fe32df libavcodec
Place some empty line in the doxy.
Improve readability, also consistent with the predominant doxy style.
| author | stefano |
|---|---|
| date | Sun, 11 Apr 2010 20:04:15 +0000 |
| parents | da95280256b4 |
| children | 6bab1bfac3bb |
comparison
equal
deleted
inserted
replaced
| 11602:da95280256b4 | 11603:5cbea9fe32df |
|---|---|
| 29 typedef struct AVExpr AVExpr; | 29 typedef struct AVExpr AVExpr; |
| 30 | 30 |
| 31 /** | 31 /** |
| 32 * Parses and evaluates an expression. | 32 * Parses and evaluates an expression. |
| 33 * Note, this is significantly slower than ff_parse_eval() | 33 * Note, this is significantly slower than ff_parse_eval() |
| 34 * | |
| 34 * @param s expression as a zero terminated string for example "1+2^3+5*5+sin(2/3)" | 35 * @param s expression as a zero terminated string for example "1+2^3+5*5+sin(2/3)" |
| 35 * @param func1 NULL terminated array of function pointers for functions which take 1 argument | 36 * @param func1 NULL terminated array of function pointers for functions which take 1 argument |
| 36 * @param func2 NULL terminated array of function pointers for functions which take 2 arguments | 37 * @param func2 NULL terminated array of function pointers for functions which take 2 arguments |
| 37 * @param const_name NULL terminated array of zero terminated strings of constant identifers for example {"PI", "E", 0} | 38 * @param const_name NULL terminated array of zero terminated strings of constant identifers for example {"PI", "E", 0} |
| 38 * @param func1_name NULL terminated array of zero terminated strings of func1 identifers | 39 * @param func1_name NULL terminated array of zero terminated strings of func1 identifers |
| 47 double (**func2)(void *, double, double), const char **func2_name, | 48 double (**func2)(void *, double, double), const char **func2_name, |
| 48 void *opaque, const char **error); | 49 void *opaque, const char **error); |
| 49 | 50 |
| 50 /** | 51 /** |
| 51 * Parses a expression. | 52 * Parses a expression. |
| 53 * | |
| 52 * @param s expression as a zero terminated string for example "1+2^3+5*5+sin(2/3)" | 54 * @param s expression as a zero terminated string for example "1+2^3+5*5+sin(2/3)" |
| 53 * @param func1 NULL terminated array of function pointers for functions which take 1 argument | 55 * @param func1 NULL terminated array of function pointers for functions which take 1 argument |
| 54 * @param func2 NULL terminated array of function pointers for functions which take 2 arguments | 56 * @param func2 NULL terminated array of function pointers for functions which take 2 arguments |
| 55 * @param const_name NULL terminated array of zero terminated strings of constant identifers for example {"PI", "E", 0} | 57 * @param const_name NULL terminated array of zero terminated strings of constant identifers for example {"PI", "E", 0} |
| 56 * @param func1_name NULL terminated array of zero terminated strings of func1 identifers | 58 * @param func1_name NULL terminated array of zero terminated strings of func1 identifers |
| 61 */ | 63 */ |
| 62 AVExpr * ff_parse(const char *s, const char * const *const_name, | 64 AVExpr * ff_parse(const char *s, const char * const *const_name, |
| 63 double (**func1)(void *, double), const char **func1_name, | 65 double (**func1)(void *, double), const char **func1_name, |
| 64 double (**func2)(void *, double, double), const char **func2_name, | 66 double (**func2)(void *, double, double), const char **func2_name, |
| 65 const char **error); | 67 const char **error); |
| 68 | |
| 66 /** | 69 /** |
| 67 * Evaluates a previously parsed expression. | 70 * Evaluates a previously parsed expression. |
| 71 * | |
| 68 * @param const_value a zero terminated array of values for the identifers from ff_parse const_name | 72 * @param const_value a zero terminated array of values for the identifers from ff_parse const_name |
| 69 * @param opaque a pointer which will be passed to all functions from func1 and func2 | 73 * @param opaque a pointer which will be passed to all functions from func1 and func2 |
| 70 * @return the value of the expression | 74 * @return the value of the expression |
| 71 */ | 75 */ |
| 72 double ff_parse_eval(AVExpr * e, const double *const_value, void *opaque); | 76 double ff_parse_eval(AVExpr * e, const double *const_value, void *opaque); |
