Lines Matching defs:band
46 * @param band the size of the band around the processed area
55 int band, int show, int direct)
103 if (y >= logo_y+band && y < logo_y+logo_h-band &&
104 x >= logo_x+band && x < logo_x+logo_w-band) {
108 if (x < logo_x+band)
109 dist = FFMAX(dist, logo_x-x+band);
110 else if (x >= logo_x+logo_w-band)
111 dist = FFMAX(dist, x-(logo_x+logo_w-1-band));
113 if (y < logo_y+band)
114 dist = FFMAX(dist, logo_y-y+band);
115 else if (y >= logo_y+logo_h-band)
116 dist = FFMAX(dist, y-(logo_y+logo_h-1-band));
118 *xdst = (*xsrc*dist + interp*(band-dist))/band;
119 if (show && (dist == band-1))
131 int x, y, w, h, band, show;
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 },
181 &delogo->x, &delogo->y, &delogo->w, &delogo->h, &delogo->band);
183 if (delogo->band < 0)
201 delogo->band = 4;
203 av_log(ctx, AV_LOG_DEBUG, "x:%d y:%d, w:%d h:%d band:%d show:%d\n",
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;
254 delogo->band>>FFMIN(hsub, vsub),