Mercurial > libavcodec.hg
comparison eval.h @ 9880:e934c5f8f4a9 libavcodec
Export av_strtod() to eval.h.
author | stefano |
---|---|
date | Mon, 22 Jun 2009 22:22:40 +0000 |
parents | e9d9d946f213 |
children | 3207f2314192 |
comparison
equal
deleted
inserted
replaced
9879:d54ba41c7e48 | 9880:e934c5f8f4a9 |
---|---|
72 * @return the value of the expression | 72 * @return the value of the expression |
73 */ | 73 */ |
74 double ff_parse_eval(AVEvalExpr * e, const double *const_value, void *opaque); | 74 double ff_parse_eval(AVEvalExpr * e, const double *const_value, void *opaque); |
75 void ff_eval_free(AVEvalExpr * e); | 75 void ff_eval_free(AVEvalExpr * e); |
76 | 76 |
77 /** strtod() function extended with 'k', 'M', 'G', 'ki', 'Mi', 'Gi' and 'B' | |
78 * postfixes. This allows using f.e. kB, MiB, G and B as a postfix. This | |
79 * function assumes that the unit of numbers is bits not bytes. | |
80 */ | |
81 double av_strtod(const char *numstr, char **tail); | |
82 | |
77 #endif /* AVCODEC_EVAL_H */ | 83 #endif /* AVCODEC_EVAL_H */ |