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