Lines Matching refs:loop_vid_overlay
201 v4l2_rect_intersect(&dev->loop_vid_overlay, &r_overlay, &dev->loop_vid_copy); in vivid_precalc_copy_rects()
202 dev->loop_fb_copy = dev->loop_vid_overlay; in vivid_precalc_copy_rects()
208 dev->loop_vid_overlay_cap = dev->loop_vid_overlay; in vivid_precalc_copy_rects()
215 dev->loop_vid_overlay.width, dev->loop_vid_overlay.height, in vivid_precalc_copy_rects()
216 dev->loop_vid_overlay.left, dev->loop_vid_overlay.top, in vivid_precalc_copy_rects()
297 dev->loop_vid_overlay.width && dev->loop_vid_overlay.height) { in vivid_copy_buffer()
301 vid_overlay_int_part = dev->loop_vid_overlay.height / in vivid_copy_buffer()
303 vid_overlay_fract_part = dev->loop_vid_overlay.height % in vivid_copy_buffer()
358 ((dev->loop_vid_overlay.left - dev->loop_vid_copy.left) * in vivid_copy_buffer()
366 blend_line(dev, vid_overlay_y + dev->loop_vid_overlay.top, in vivid_copy_buffer()
367 dev->loop_vid_overlay.left, in vivid_copy_buffer()
369 dev->loop_vid_overlay.width, twopixsize / 2); in vivid_copy_buffer()
372 osd, (dev->loop_vid_overlay.width * twopixsize) / 2); in vivid_copy_buffer()