Lines Matching refs:sf
33 SeparateFieldsContext *sf = ctx->priv;
36 sf->nb_planes = av_pix_fmt_count_planes(inlink->format);
67 SeparateFieldsContext *sf = ctx->priv;
74 if (!sf->second) {
77 AVFrame *second = sf->second;
79 extract_field(second, sf->nb_planes, second->top_field_first);
91 sf->second = av_frame_clone(inpicref);
92 if (!sf->second)
96 extract_field(inpicref, sf->nb_planes, !inpicref->top_field_first);
107 SeparateFieldsContext *sf = ctx->priv;
111 if (ret == AVERROR_EOF && sf->second) {
112 sf->second->pts *= 2;
113 extract_field(sf->second, sf->nb_planes, sf->second->top_field_first);
114 ret = ff_filter_frame(outlink, sf->second);
115 sf->second = 0;