Lines Matching refs:loop_vid_overlay
202 v4l2_rect_intersect(&dev->loop_vid_overlay, &r_overlay, &dev->loop_vid_copy); in vivid_precalc_copy_rects()
203 dev->loop_fb_copy = dev->loop_vid_overlay; in vivid_precalc_copy_rects()
209 dev->loop_vid_overlay_cap = dev->loop_vid_overlay; in vivid_precalc_copy_rects()
216 dev->loop_vid_overlay.width, dev->loop_vid_overlay.height, in vivid_precalc_copy_rects()
217 dev->loop_vid_overlay.left, dev->loop_vid_overlay.top, in vivid_precalc_copy_rects()
298 dev->loop_vid_overlay.width && dev->loop_vid_overlay.height) { in vivid_copy_buffer()
302 vid_overlay_int_part = dev->loop_vid_overlay.height / in vivid_copy_buffer()
304 vid_overlay_fract_part = dev->loop_vid_overlay.height % in vivid_copy_buffer()
359 ((dev->loop_vid_overlay.left - dev->loop_vid_copy.left) * in vivid_copy_buffer()
367 blend_line(dev, vid_overlay_y + dev->loop_vid_overlay.top, in vivid_copy_buffer()
368 dev->loop_vid_overlay.left, in vivid_copy_buffer()
370 dev->loop_vid_overlay.width, twopixsize / 2); in vivid_copy_buffer()
373 osd, (dev->loop_vid_overlay.width * twopixsize) / 2); in vivid_copy_buffer()