Home
last modified time | relevance | path

Searched refs:compose_cap (Results 1 – 3 of 3) sorted by relevance

/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c186 v4l2_rect_scale(&dev->loop_vid_cap, &dev->crop_cap, &dev->compose_cap); in vivid_precalc_copy_rects()
211 v4l2_rect_scale(&dev->loop_vid_overlay_cap, &dev->crop_cap, &dev->compose_cap); in vivid_precalc_copy_rects()
245 unsigned img_width = tpg_hdiv(tpg, p, dev->compose_cap.width); in vivid_copy_buffer()
246 unsigned img_height = dev->compose_cap.height; in vivid_copy_buffer()
285 vcapbuf += tpg_hdiv(tpg, p, dev->compose_cap.left) + in vivid_copy_buffer()
286 (dev->compose_cap.top / vdiv) * stride_cap; in vivid_copy_buffer()
571 unsigned stride = (dev->compose_cap.width + 7) / 8; in valid_pix()
601 unsigned img_width = dev->compose_cap.width; in vivid_overlay()
602 unsigned img_height = dev->compose_cap.height; in vivid_overlay()
619 vbuf += dev->compose_cap.left * pixsize + dev->compose_cap.top * stride; in vivid_overlay()
Dvivid-vid-cap.c457 (dev->compose_cap.width != dev->crop_cap.width || in vivid_update_format_cap()
458 dev->compose_cap.height != dev->crop_cap.height)) { in vivid_update_format_cap()
462 dev->compose_cap = dev->crop_cap; in vivid_update_format_cap()
464 dev->compose_cap.height /= 2; in vivid_update_format_cap()
465 dev->fmt_cap_rect = dev->compose_cap; in vivid_update_format_cap()
689 struct v4l2_rect *compose = &dev->compose_cap; in vivid_s_fmt_vid_cap()
804 tpg_s_crop_compose(&dev->tpg, &dev->crop_cap, &dev->compose_cap); in vivid_s_fmt_vid_cap()
912 sel->r = dev->compose_cap; in vivid_vid_cap_g_selection()
929 struct v4l2_rect *compose = &dev->compose_cap; in vivid_vid_cap_s_selection()
1109 const struct v4l2_rect *compose = &dev->compose_cap; in vidioc_g_fmt_vid_overlay()
[all …]
Dvivid-core.h405 struct v4l2_rect compose_cap; member