Lines Matching defs:link
175 static AVFilterBufferRef *get_video_buffer(AVFilterLink *link, int perms, int w, int h)
182 picref = avfilter_default_get_video_buffer(link, perms, width, height);
196 AVFilterLink *link= ctx->outputs[0];
207 yadif->out = avfilter_get_video_buffer(link, AV_PERM_WRITE | AV_PERM_PRESERVE |
208 AV_PERM_REUSE, link->w, link->h);
214 yadif->csp = &av_pix_fmt_descriptors[link->format];
231 avfilter_draw_slice(ctx->outputs[0], 0, link->h, 1);
237 static void start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
239 AVFilterContext *ctx = link->dst;
266 AV_PERM_REUSE, link->w, link->h);
273 static void end_frame(AVFilterLink *link)
275 AVFilterContext *ctx = link->dst;
282 avfilter_draw_slice(ctx->outputs[0], 0, link->h, 1);
290 static int request_frame(AVFilterLink *link)
292 AVFilterContext *ctx = link->src;
303 if ((ret = avfilter_request_frame(link->src->inputs[0])))
310 static int poll_frame(AVFilterLink *link)
312 YADIFContext *yadif = link->src->priv;
318 val = avfilter_poll_frame(link->src->inputs[0]);
321 if ((ret = avfilter_request_frame(link->src->inputs[0])) < 0)
323 val = avfilter_poll_frame(link->src->inputs[0]);
397 static void null_draw_slice(AVFilterLink *link, int y, int h, int slice_dir) { }