Lines Matching refs:ov
247 const struct bttv_format *fmt, struct bttv_overlay *ov, in bttv_risc_overlay() argument
258 if (NULL == (skips = kmalloc(sizeof(*skips) * ov->nclips,GFP_KERNEL))) in bttv_risc_overlay()
263 dwords = (3 * ov->nclips + 2) * in bttv_risc_overlay()
264 ((skip_even || skip_odd) ? (ov->w.height+1)>>1 : ov->w.height); in bttv_risc_overlay()
277 addr += btv->fbuf.fmt.bytesperline * ov->w.top; in bttv_risc_overlay()
278 addr += (fmt->depth >> 3) * ov->w.left; in bttv_risc_overlay()
281 for (maxy = -1, line = 0; line < ov->w.height; in bttv_risc_overlay()
284 (line >= (ov->w.height - VCR_HACK_LINES))) in bttv_risc_overlay()
293 btcx_calc_skips(line, ov->w.width, &maxy, in bttv_risc_overlay()
294 skips, &nskips, ov->clips, ov->nclips); in bttv_risc_overlay()
297 for (start = 0, skip = 0; start < ov->w.width; start = end) { in bttv_risc_overlay()
300 end = ov->w.width; in bttv_risc_overlay()
316 if (ov->w.width == end) in bttv_risc_overlay()
868 struct bttv_overlay *ov, in bttv_overlay_risc() argument
875 fmt->name, ov->w.width, ov->w.height); in bttv_overlay_risc()
878 bttv_calc_geo(btv,&buf->geo,ov->w.width,ov->w.height, in bttv_overlay_risc()
879 V4L2_FIELD_HAS_BOTH(ov->field), in bttv_overlay_risc()
880 &bttv_tvnorms[ov->tvnorm],&buf->crop); in bttv_overlay_risc()
883 switch (ov->field) { in bttv_overlay_risc()
885 bttv_risc_overlay(btv, &buf->top, fmt, ov, 0, 0); in bttv_overlay_risc()
888 bttv_risc_overlay(btv, &buf->bottom, fmt, ov, 0, 0); in bttv_overlay_risc()
891 bttv_risc_overlay(btv, &buf->top, fmt, ov, 0, 1); in bttv_overlay_risc()
892 bttv_risc_overlay(btv, &buf->bottom, fmt, ov, 1, 0); in bttv_overlay_risc()
901 buf->vb.field = ov->field; in bttv_overlay_risc()