Home
last modified time | relevance | path

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

/drivers/media/platform/vivid/
Dvivid-kthread-cap.c195 rect_scale(&dev->loop_vid_cap, &dev->crop_cap, &dev->compose_cap); in vivid_precalc_copy_rects()
220 rect_scale(&dev->loop_vid_overlay_cap, &dev->crop_cap, &dev->compose_cap); in vivid_precalc_copy_rects()
254 unsigned img_width = tpg_hdiv(tpg, p, dev->compose_cap.width); in vivid_copy_buffer()
255 unsigned img_height = dev->compose_cap.height; in vivid_copy_buffer()
294 vcapbuf += tpg_hdiv(tpg, p, dev->compose_cap.left) + in vivid_copy_buffer()
295 (dev->compose_cap.top / vdiv) * stride_cap; in vivid_copy_buffer()
579 unsigned stride = (dev->compose_cap.width + 7) / 8; in valid_pix()
609 unsigned img_width = dev->compose_cap.width; in vivid_overlay()
610 unsigned img_height = dev->compose_cap.height; in vivid_overlay()
627 vbuf += dev->compose_cap.left * pixsize + dev->compose_cap.top * stride; in vivid_overlay()
Dvivid-vid-cap.c467 dev->compose_cap = dev->crop_cap; in vivid_update_format_cap()
469 dev->compose_cap.height /= 2; in vivid_update_format_cap()
470 dev->fmt_cap_rect = dev->compose_cap; in vivid_update_format_cap()
642 struct v4l2_rect *compose = &dev->compose_cap; in vivid_s_fmt_vid_cap()
757 tpg_s_crop_compose(&dev->tpg, &dev->crop_cap, &dev->compose_cap); in vivid_s_fmt_vid_cap()
857 sel->r = dev->compose_cap; in vivid_vid_cap_g_selection()
874 struct v4l2_rect *compose = &dev->compose_cap; in vivid_vid_cap_s_selection()
1053 const struct v4l2_rect *compose = &dev->compose_cap; in vidioc_g_fmt_vid_overlay()
1087 const struct v4l2_rect *compose = &dev->compose_cap; in vidioc_try_fmt_vid_overlay()
1145 const struct v4l2_rect *compose = &dev->compose_cap; in vidioc_s_fmt_vid_overlay()
Dvivid-core.h373 struct v4l2_rect compose_cap; member