Go to the documentation of this file.
52 const char *
const *
func2_names,
double (*
const *funcs2)(
void *,
double,
double),
53 void *opaque,
int log_offset,
void *log_ctx);
75 const char *
const *
func2_names,
double (*
const *funcs2)(
void *,
double,
double),
76 int log_offset,
void *log_ctx);
133 double av_strtod(
const char *numstr,
char **tail);
int av_expr_parse_and_eval(double *res, const char *s, const char *const *const_names, const double *const_values, const char *const *func1_names, double(*const *funcs1)(void *, double), const char *const *func2_names, double(*const *funcs2)(void *, double, double), void *opaque, int log_offset, void *log_ctx)
Parse and evaluate an expression.
double av_expr_eval(AVExpr *e, const double *const_values, void *opaque)
Evaluate a previously parsed expression.
static const char *const func2_names[]
static const double const_values[]
static const char *const func1_names[]
static double(*const funcs1[])(void *, double)
int av_expr_parse(AVExpr **expr, const char *s, const char *const *const_names, const char *const *func1_names, double(*const *funcs1)(void *, double), const char *const *func2_names, double(*const *funcs2)(void *, double, double), int log_offset, void *log_ctx)
Parse an expression.
int av_expr_count_func(AVExpr *e, unsigned *counter, int size, int arg)
Track the presence of user provided functions and their number of occurrences in a parsed expression.
static const char *const const_names[]
void av_expr_free(AVExpr *e)
Free a parsed expression previously created with av_expr_parse().
int av_expr_count_vars(AVExpr *e, unsigned *counter, int size)
Track the presence of variables and their number of occurrences in a parsed expression.
double av_strtod(const char *numstr, char **tail)
Parse the string in numstr and return its value as a double.