Home
last modified time | relevance | path

Searched refs:mainpic (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dframesync.c379 AVFrame *mainpic = NULL, *secondpic = NULL; in ff_framesync_dualinput_get() local
382 if ((ret = ff_framesync_get_frame(fs, 0, &mainpic, 1)) < 0 || in ff_framesync_dualinput_get()
384 av_frame_free(&mainpic); in ff_framesync_dualinput_get()
387 av_assert0(mainpic); in ff_framesync_dualinput_get()
388 mainpic->pts = av_rescale_q(fs->pts, fs->time_base, ctx->outputs[0]->time_base); in ff_framesync_dualinput_get()
391 *f0 = mainpic; in ff_framesync_dualinput_get()
Dvf_overlay.c995 AVFrame *mainpic, *second; in do_blend() local
1000 ret = ff_framesync_dualinput_get_writable(fs, &mainpic, &second); in do_blend()
1004 return ff_filter_frame(ctx->outputs[0], mainpic); in do_blend()
1007 int64_t pos = mainpic->pkt_pos; in do_blend()
1010 s->var_values[VAR_T] = mainpic->pts == AV_NOPTS_VALUE ? in do_blend()
1011 NAN : mainpic->pts * av_q2d(inlink->time_base); in do_blend()
1016 s->var_values[VAR_MAIN_W ] = s->var_values[VAR_MW] = mainpic->width; in do_blend()
1017 s->var_values[VAR_MAIN_H ] = s->var_values[VAR_MH] = mainpic->height; in do_blend()
1026 if (s->x < mainpic->width && s->x + second->width >= 0 && in do_blend()
1027 s->y < mainpic->height && s->y + second->height >= 0) { in do_blend()
[all …]
Dvf_convolve.c450 AVFrame *mainpic = NULL, *impulsepic = NULL; in do_convolve() local
453 ret = ff_framesync_dualinput_get(fs, &mainpic, &impulsepic); in do_convolve()
457 return ff_filter_frame(outlink, mainpic); in do_convolve()
473 get_input(s, s->fft_hdata[plane], mainpic, w, h, n, plane, 1.f); in do_convolve()
521 get_output(s, s->fft_hdata[plane], mainpic, w, h, n, plane, 1.f / (n * n)); in do_convolve()
524 return ff_filter_frame(outlink, mainpic); in do_convolve()