Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Dframesync.c374 AVFrame *mainpic = NULL, *secondpic = NULL; in ff_framesync_dualinput_get() local
377 if ((ret = ff_framesync_get_frame(fs, 0, &mainpic, 1)) < 0 || in ff_framesync_dualinput_get()
379 av_frame_free(&mainpic); in ff_framesync_dualinput_get()
382 av_assert0(mainpic); in ff_framesync_dualinput_get()
383 mainpic->pts = av_rescale_q(fs->pts, fs->time_base, ctx->outputs[0]->time_base); in ff_framesync_dualinput_get()
386 *f0 = mainpic; in ff_framesync_dualinput_get()
Dvf_overlay.c998 AVFrame *mainpic, *second; in do_blend() local
1003 ret = ff_framesync_dualinput_get_writable(fs, &mainpic, &second); in do_blend()
1007 return ff_filter_frame(ctx->outputs[0], mainpic); in do_blend()
1010 int64_t pos = mainpic->pkt_pos; in do_blend()
1013 s->var_values[VAR_T] = mainpic->pts == AV_NOPTS_VALUE ? in do_blend()
1014 NAN : mainpic->pts * av_q2d(inlink->time_base); in do_blend()
1019 s->var_values[VAR_MAIN_W ] = s->var_values[VAR_MW] = mainpic->width; in do_blend()
1020 s->var_values[VAR_MAIN_H ] = s->var_values[VAR_MH] = mainpic->height; in do_blend()
1029 if (s->x < mainpic->width && s->x + second->width >= 0 && in do_blend()
1030 s->y < mainpic->height && s->y + second->height >= 0) { in do_blend()
[all …]
Dvf_convolve.c681 AVFrame *mainpic = NULL, *impulsepic = NULL; in do_convolve() local
684 ret = ff_framesync_dualinput_get(fs, &mainpic, &impulsepic); in do_convolve()
688 return ff_filter_frame(outlink, mainpic); in do_convolve()
705 s->get_input(s, s->fft_hdata_in[plane], mainpic, w, h, n, plane, 1.f); in do_convolve()
741 s->get_output(s, s->fft_hdata_out[plane], mainpic, ow, oh, n, plane, 1.f / (n * n)); in do_convolve()
744 return ff_filter_frame(outlink, mainpic); in do_convolve()