Lines Matching refs:loop_vid_overlay
203 v4l2_rect_intersect(&dev->loop_vid_overlay, &r_overlay, &dev->loop_vid_copy); in vivid_precalc_copy_rects()
204 dev->loop_fb_copy = dev->loop_vid_overlay; in vivid_precalc_copy_rects()
210 dev->loop_vid_overlay_cap = dev->loop_vid_overlay; in vivid_precalc_copy_rects()
217 dev->loop_vid_overlay.width, dev->loop_vid_overlay.height, in vivid_precalc_copy_rects()
218 dev->loop_vid_overlay.left, dev->loop_vid_overlay.top, in vivid_precalc_copy_rects()
299 dev->loop_vid_overlay.width && dev->loop_vid_overlay.height) { in vivid_copy_buffer()
303 vid_overlay_int_part = dev->loop_vid_overlay.height / in vivid_copy_buffer()
305 vid_overlay_fract_part = dev->loop_vid_overlay.height % in vivid_copy_buffer()
360 ((dev->loop_vid_overlay.left - dev->loop_vid_copy.left) * in vivid_copy_buffer()
368 blend_line(dev, vid_overlay_y + dev->loop_vid_overlay.top, in vivid_copy_buffer()
369 dev->loop_vid_overlay.left, in vivid_copy_buffer()
371 dev->loop_vid_overlay.width, twopixsize / 2); in vivid_copy_buffer()
374 osd, (dev->loop_vid_overlay.width * twopixsize) / 2); in vivid_copy_buffer()