Lines Matching refs:loop_vid_cap
183 dev->loop_vid_cap = dev->loop_vid_copy; in vivid_precalc_copy_rects()
184 v4l2_rect_scale(&dev->loop_vid_cap, &dev->crop_cap, &dev->compose_cap); in vivid_precalc_copy_rects()
192 dev->loop_vid_cap.width, dev->loop_vid_cap.height, in vivid_precalc_copy_rects()
193 dev->loop_vid_cap.left, dev->loop_vid_cap.top); in vivid_precalc_copy_rects()
262 unsigned vid_cap_left = tpg_hdiv(tpg, p, dev->loop_vid_cap.left); in vivid_copy_buffer()
266 vid_out_int_part = dev->loop_vid_out.height / dev->loop_vid_cap.height; in vivid_copy_buffer()
267 vid_out_fract_part = dev->loop_vid_out.height % dev->loop_vid_cap.height; in vivid_copy_buffer()
307 vid_cap_right = tpg_hdiv(tpg, p, dev->loop_vid_cap.left + dev->loop_vid_cap.width); in vivid_copy_buffer()
309 quick = dev->loop_vid_out.width == dev->loop_vid_cap.width; in vivid_copy_buffer()
321 if (y < dev->loop_vid_cap.top || in vivid_copy_buffer()
322 y >= dev->loop_vid_cap.top + dev->loop_vid_cap.height) { in vivid_copy_buffer()
328 if (dev->loop_vid_cap.left) in vivid_copy_buffer()
339 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
344 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
350 tpg_hdiv(tpg, p, dev->loop_vid_cap.width), in vivid_copy_buffer()
374 dev->loop_vid_copy.width, dev->loop_vid_cap.width, in vivid_copy_buffer()
379 tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); in vivid_copy_buffer()
392 if (vid_out_error >= dev->loop_vid_cap.height / vdiv) { in vivid_copy_buffer()
393 vid_out_error -= dev->loop_vid_cap.height / vdiv; in vivid_copy_buffer()