Lines Matching refs:loop_vid_cap
195 dev->loop_vid_cap = dev->loop_vid_copy; in vivid_precalc_copy_rects()
196 v4l2_rect_scale(&dev->loop_vid_cap, &dev->crop_cap, &dev->compose_cap); in vivid_precalc_copy_rects()
204 dev->loop_vid_cap.width, dev->loop_vid_cap.height, in vivid_precalc_copy_rects()
205 dev->loop_vid_cap.left, dev->loop_vid_cap.top); in vivid_precalc_copy_rects()
274 unsigned vid_cap_left = tpg_hdiv(tpg, p, dev->loop_vid_cap.left); in vivid_copy_buffer()
278 vid_out_int_part = dev->loop_vid_out.height / dev->loop_vid_cap.height; in vivid_copy_buffer()
279 vid_out_fract_part = dev->loop_vid_out.height % dev->loop_vid_cap.height; in vivid_copy_buffer()
319 vid_cap_right = tpg_hdiv(tpg, p, dev->loop_vid_cap.left + dev->loop_vid_cap.width); in vivid_copy_buffer()
321 quick = dev->loop_vid_out.width == dev->loop_vid_cap.width; in vivid_copy_buffer()
333 if (y < dev->loop_vid_cap.top || in vivid_copy_buffer()
334 y >= dev->loop_vid_cap.top + dev->loop_vid_cap.height) { in vivid_copy_buffer()
340 if (dev->loop_vid_cap.left) in vivid_copy_buffer()
351 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
356 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
362 tpg_hdiv(tpg, p, dev->loop_vid_cap.width), in vivid_copy_buffer()
386 dev->loop_vid_copy.width, dev->loop_vid_cap.width, in vivid_copy_buffer()
391 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
404 if (vid_out_error >= dev->loop_vid_cap.height / vdiv) { in vivid_copy_buffer()
405 vid_out_error -= dev->loop_vid_cap.height / vdiv; in vivid_copy_buffer()