Lines Matching defs:delogo
34 * Apply a simple delogo algorithm to the image in dst and put the
141 {"band", "set delogo area band size", OFFSET(band), FF_OPT_TYPE_INT, { 4}, -1, INT_MAX },
142 {"t", "set delogo area band size", OFFSET(band), FF_OPT_TYPE_INT, { 4}, -1, INT_MAX },
143 {"show", "show delogo area", OFFSET(show), FF_OPT_TYPE_INT, { 0}, 0, 1 },
149 return "delogo";
173 DelogoContext *delogo = ctx->priv;
176 delogo->class = &delogo_class;
177 av_opt_set_defaults(delogo);
181 &delogo->x, &delogo->y, &delogo->w, &delogo->h, &delogo->band);
183 if (delogo->band < 0)
184 delogo->show = 1;
185 } else if ((ret = (av_set_options_string(delogo, args, "=", ":"))) < 0) {
191 if (delogo->opt == -1) { \
192 av_log(delogo, AV_LOG_ERROR, "Option %s was not set.\n", #opt); \
200 if (delogo->show)
201 delogo->band = 4;
204 delogo->x, delogo->y, delogo->w, delogo->h, delogo->band, delogo->show);
206 delogo->w += delogo->band*2;
207 delogo->h += delogo->band*2;
208 delogo->x -= delogo->band;
209 delogo->y -= delogo->band;
236 DelogoContext *delogo = inlink->dst->priv;
252 delogo->x>>hsub, delogo->y>>vsub,
253 delogo->w>>hsub, delogo->h>>vsub,
254 delogo->band>>FFMIN(hsub, vsub),
255 delogo->show, direct);
266 .name = "delogo",