ff_draw_slice(outlink, 0, inlink->h, 1);
ff_end_frame(outlink);
- avfilter_unref_buffer(outpicref);
}
AVFilter avfilter_vf_delogo = {
}
ff_end_frame(outlink);
- avfilter_unref_bufferp(&outlink->out_buf);
}
AVFilter avfilter_vf_fieldorder = {
(uint32_t *)outpicref->data[0]);
ff_draw_slice(outlink, 0, outlink->h, 1);
ff_end_frame(outlink);
- avfilter_unref_buffer(outpicref);
}
AVFilter avfilter_vf_frei0r = {
ff_draw_slice(outlink, 0, inlink->h, 1);
ff_end_frame(outlink);
- avfilter_unref_buffer(outpic);
}
AVFilter avfilter_vf_gradfun = {
ff_draw_slice(outlink, 0, inpic->video->h, 1);
ff_end_frame(outlink);
- avfilter_unref_buffer(outpic);
}
AVFilter avfilter_vf_hqdn3d = {
ff_draw_slice(outlink, 0, outlink->h, 1);
ff_end_frame(outlink);
- avfilter_unref_buffer(outpicref);
}
AVFilter avfilter_vf_ocv = {
static void end_frame(AVFilterLink *link)
{
ff_end_frame(link->dst->outputs[0]);
- avfilter_unref_buffer(link->dst->outputs[0]->out_buf);
}
static void draw_send_bar_slice(AVFilterLink *link, int y, int h, int slice_dir, int before_slice)
ff_draw_slice(outlink, 0, outpic->video->h, 1);
ff_end_frame(outlink);
- avfilter_unref_buffer(outpic);
}
AVFilter avfilter_vf_transpose = {
ff_draw_slice(link->dst->outputs[0], 0, link->h, 1);
ff_end_frame(link->dst->outputs[0]);
- avfilter_unref_buffer(out);
}
static void draw_slice(AVFilterLink *link, int y, int h, int slice_dir)
outlink = inlink->dst->outputs[0];
if (outlink) {
- if (outlink->out_buf) {
- avfilter_unref_buffer(outlink->out_buf);
- outlink->out_buf = NULL;
- }
ff_end_frame(outlink);
}
}
link->src_buf = NULL;
}
avfilter_unref_bufferp(&link->cur_buf);
+ avfilter_unref_bufferp(&link->out_buf);
}
void ff_null_draw_slice(AVFilterLink *link, int y, int h, int slice_dir)