Home
last modified time | relevance | path

Searched refs:eval_expr (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavutil/
Deval.c184 static double eval_expr(Parser *p, AVExpr *e) in eval_expr() function
189 case e_func0: return e->value * e->a.func0(eval_expr(p, e->param[0])); in eval_expr()
190 case e_func1: return e->value * e->a.func1(p->opaque, eval_expr(p, e->param[0])); in eval_expr()
191 …case e_func2: return e->value * e->a.func2(p->opaque, eval_expr(p, e->param[0]), eval_expr(p, e->… in eval_expr()
192 case e_squish: return 1/(1+exp(4*eval_expr(p, e->param[0]))); in eval_expr()
193 case e_gauss: { double d = eval_expr(p, e->param[0]); return exp(-d*d/2)/sqrt(2*M_PI); } in eval_expr()
194 case e_ld: return e->value * p->var[av_clip(eval_expr(p, e->param[0]), 0, VARS-1)]; in eval_expr()
195 case e_isnan: return e->value * !!isnan(eval_expr(p, e->param[0])); in eval_expr()
196 case e_isinf: return e->value * !!isinf(eval_expr(p, e->param[0])); in eval_expr()
197 case e_floor: return e->value * floor(eval_expr(p, e->param[0])); in eval_expr()
[all …]
/third_party/toybox/toys/pending/
Dexpr.c213 static void eval_expr(struct value *ret, int min_prec) in eval_expr() function
221 eval_expr(ret, 1); // We're inside ( ), so min_prec = 1 in eval_expr()
241 eval_expr(&rhs, o->prec + 1); // Evaluate RHS, with higher min precedence in eval_expr()
252 eval_expr(&ret, 1); in expr_main()
/third_party/ffmpeg/libavfilter/
Dvf_overlay_qsv.c105 static int eval_expr(AVFilterContext *ctx) in eval_expr() function
216 ret = eval_expr(ctx); in config_overlay_input()
Dvf_vpp_qsv.c159 static int eval_expr(AVFilterContext *ctx) in eval_expr() function
264 ret = eval_expr(ctx); in config_input()
Dvf_overlay.c97 static void eval_expr(AVFilterContext *ctx) in eval_expr() function
147 eval_expr(ctx); in process_command()
304 eval_expr(ctx); in config_input_overlay()
1019 eval_expr(ctx); in do_blend()