Searched refs:compose_cap (Results 1 – 3 of 3) sorted by relevance
/drivers/media/test-drivers/vivid/ |
D | vivid-kthread-cap.c | 185 v4l2_rect_scale(&dev->loop_vid_cap, &dev->crop_cap, &dev->compose_cap); in vivid_precalc_copy_rects() 210 v4l2_rect_scale(&dev->loop_vid_overlay_cap, &dev->crop_cap, &dev->compose_cap); in vivid_precalc_copy_rects() 244 unsigned img_width = tpg_hdiv(tpg, p, dev->compose_cap.width); in vivid_copy_buffer() 245 unsigned img_height = dev->compose_cap.height; in vivid_copy_buffer() 284 vcapbuf += tpg_hdiv(tpg, p, dev->compose_cap.left) + in vivid_copy_buffer() 285 (dev->compose_cap.top / vdiv) * stride_cap; in vivid_copy_buffer() 568 unsigned stride = (dev->compose_cap.width + 7) / 8; in valid_pix() 598 unsigned img_width = dev->compose_cap.width; in vivid_overlay() 599 unsigned img_height = dev->compose_cap.height; in vivid_overlay() 616 vbuf += dev->compose_cap.left * pixsize + dev->compose_cap.top * stride; in vivid_overlay()
|
D | vivid-vid-cap.c | 456 (dev->compose_cap.width != dev->crop_cap.width || in vivid_update_format_cap() 457 dev->compose_cap.height != dev->crop_cap.height)) { in vivid_update_format_cap() 461 dev->compose_cap = dev->crop_cap; in vivid_update_format_cap() 463 dev->compose_cap.height /= 2; in vivid_update_format_cap() 464 dev->fmt_cap_rect = dev->compose_cap; in vivid_update_format_cap() 677 struct v4l2_rect *compose = &dev->compose_cap; in vivid_s_fmt_vid_cap() 792 tpg_s_crop_compose(&dev->tpg, &dev->crop_cap, &dev->compose_cap); in vivid_s_fmt_vid_cap() 900 sel->r = dev->compose_cap; in vivid_vid_cap_g_selection() 917 struct v4l2_rect *compose = &dev->compose_cap; in vivid_vid_cap_s_selection() 1097 const struct v4l2_rect *compose = &dev->compose_cap; in vidioc_g_fmt_vid_overlay() [all …]
|
D | vivid-core.h | 404 struct v4l2_rect compose_cap; member
|