Lines Matching defs:ov
236 const struct bttv_format *fmt, struct bttv_overlay *ov,
247 skips = kmalloc_array(ov->nclips, sizeof(*skips),GFP_KERNEL);
253 dwords = (3 * ov->nclips + 2) *
254 ((skip_even || skip_odd) ? (ov->w.height+1)>>1 : ov->w.height);
267 addr += btv->fbuf.fmt.bytesperline * ov->w.top;
268 addr += (fmt->depth >> 3) * ov->w.left;
271 for (maxy = -1, line = 0; line < ov->w.height;
274 (line >= (ov->w.height - VCR_HACK_LINES)))
283 btcx_calc_skips(line, ov->w.width, &maxy,
284 skips, &nskips, ov->clips, ov->nclips);
287 for (start = 0, skip = 0; start < ov->w.width; start = end) {
290 end = ov->w.width;
306 if (ov->w.width == end)
858 struct bttv_overlay *ov,
865 fmt->fourcc, ov->w.width, ov->w.height);
868 bttv_calc_geo(btv,&buf->geo,ov->w.width,ov->w.height,
869 V4L2_FIELD_HAS_BOTH(ov->field),
870 &bttv_tvnorms[ov->tvnorm],&buf->crop);
873 switch (ov->field) {
875 bttv_risc_overlay(btv, &buf->top, fmt, ov, 0, 0);
878 bttv_risc_overlay(btv, &buf->bottom, fmt, ov, 0, 0);
881 bttv_risc_overlay(btv, &buf->top, fmt, ov, 0, 1);
882 bttv_risc_overlay(btv, &buf->bottom, fmt, ov, 1, 0);
891 buf->vb.field = ov->field;