Lines Matching refs:fmt_cap_rect

88 	unsigned h = dev->fmt_cap_rect.height;  in vid_cap_queue_setup()
161 dev->fmt_cap_rect.height) / in vid_cap_buf_prepare()
465 dev->fmt_cap_rect = dev->compose_cap; in vivid_update_format_cap()
548 mp->width = dev->fmt_cap_rect.width; in vivid_g_fmt_vid_cap()
549 mp->height = dev->fmt_cap_rect.height; in vivid_g_fmt_vid_cap()
793 dev->fmt_cap_rect.width = mp->width; in vivid_s_fmt_vid_cap()
794 dev->fmt_cap_rect.height = mp->height; in vivid_s_fmt_vid_cap()
917 sel->r = dev->fmt_cap_rect; in vivid_vid_cap_g_selection()
955 struct v4l2_rect fmt = dev->fmt_cap_rect; in vivid_vid_cap_s_selection()
970 if (!v4l2_rect_same_size(&dev->fmt_cap_rect, &fmt) && in vivid_vid_cap_s_selection()
978 dev->fmt_cap_rect = fmt; in vivid_vid_cap_s_selection()
981 struct v4l2_rect fmt = dev->fmt_cap_rect; in vivid_vid_cap_s_selection()
984 if (!v4l2_rect_same_size(&dev->fmt_cap_rect, &fmt) && in vivid_vid_cap_s_selection()
987 dev->fmt_cap_rect = fmt; in vivid_vid_cap_s_selection()
990 v4l2_rect_map_inside(compose, &dev->fmt_cap_rect); in vivid_vid_cap_s_selection()
992 if (!v4l2_rect_same_size(&s->r, &dev->fmt_cap_rect) && in vivid_vid_cap_s_selection()
995 v4l2_rect_set_size_to(&dev->fmt_cap_rect, &s->r); in vivid_vid_cap_s_selection()
997 v4l2_rect_map_inside(compose, &dev->fmt_cap_rect); in vivid_vid_cap_s_selection()
998 tpg_s_buf_height(&dev->tpg, dev->fmt_cap_rect.height); in vivid_vid_cap_s_selection()
1011 v4l2_rect_set_max_size(&s->r, &dev->fmt_cap_rect); in vivid_vid_cap_s_selection()
1048 v4l2_rect_map_inside(&s->r, &dev->fmt_cap_rect); in vivid_vid_cap_s_selection()