simple arithmetic expression evaluator More...
#include "avutil.h"Go to the source code of this file.
simple arithmetic expression evaluator
Definition in file eval.h.
Parse and evaluate an expression.
Note, this is significantly slower than av_expr_eval().
Definition at line 701 of file eval.c.
Referenced by av_parse_ratio(), config(), config_input(), config_output_props(), config_props(), func_eval_expr(), init(), main(), and set_string_number().
Parse an expression.
Definition at line 640 of file eval.c.
Referenced by av_expr_parse_and_eval(), config_input(), config_props(), ff_rate_control_init(), geq_init(), init(), modplug_read_header(), process_command(), set_enable_expr(), set_expr(), and transcode_init().
Evaluate a previously parsed expression.
Definition at line 691 of file eval.c.
Referenced by av_expr_parse_and_eval(), config_props(), DEFINE_BLEND(), do_video_out(), draw_text(), eval_expr(), ff_filter_frame_framed(), filter_frame(), filter_plane(), geq_filter_frame(), get_qscale(), init(), modplug_read_packet(), request_frame(), select_frame(), send_next(), and update_context().
Free a parsed expression previously created with av_expr_parse().
Definition at line 302 of file eval.c.
Referenced by av_expr_free(), av_expr_parse(), av_expr_parse_and_eval(), avfilter_free(), config_input(), config_props(), ff_rate_control_uninit(), ffmpeg_cleanup(), geq_uninit(), parse_expr(), parse_factor(), parse_primary(), parse_subexpr(), parse_term(), process_command(), set_enable_expr(), set_expr(), and uninit().
Parse the string in numstr and return its value as a double.
If the string is empty, contains only whitespaces, or does not contain an initial substring that has the expected syntax for a floating-point number, no conversion is performed. In this case, returns a value of zero and the value returned in tail is the value of numstr.
Definition at line 89 of file eval.c.
Referenced by ff_parse_sample_rate(), parse_number_or_die(), parse_points_str(), parse_primary(), var_read_float(), and yae_set_tempo().