D | avf_showcqt.c | 234 AVExpr *sono = NULL, *bar = NULL; in init_volume() local 242 …if ((ret = av_expr_parse(&sono, s->sono_v, sono_names, func_names, funcs, NULL, NULL, 0, s->ctx)) … in init_volume() 250 …double vol = clip_with_log(s->ctx, "sono_v", av_expr_eval(sono, vars, NULL), 0.0, VOLUME_MAX, 0.0,… in init_volume() 255 … vol = clip_with_log(s->ctx, "sono_v", av_expr_eval(sono, vars, NULL), 0.0, VOLUME_MAX, 0.0, x); in init_volume() 258 av_expr_free(sono); in init_volume() 265 av_expr_free(sono); in init_volume() 1028 static void draw_sono(AVFrame *out, AVFrame *sono, int off, int idx) in draw_sono() argument 1030 int fmt = out->format, h = sono->height; in draw_sono() 1036 ls = FFMIN(out->linesize[0], sono->linesize[0]); in draw_sono() 1039 sono->data[0] + (idx + y) % h * sono->linesize[0], ls); in draw_sono() [all …]
|