Lines Matching refs:fmt_cap_rect

104 	unsigned h = dev->fmt_cap_rect.height;  in vid_cap_queue_setup()
191 size = tpg_g_line_width(&dev->tpg, p) * dev->fmt_cap_rect.height + in vid_cap_buf_prepare()
467 dev->fmt_cap_rect = dev->compose_cap; in vivid_update_format_cap()
525 mp->width = dev->fmt_cap_rect.width; in vivid_g_fmt_vid_cap()
526 mp->height = dev->fmt_cap_rect.height; in vivid_g_fmt_vid_cap()
734 dev->fmt_cap_rect.width = mp->width; in vivid_s_fmt_vid_cap()
735 dev->fmt_cap_rect.height = mp->height; in vivid_s_fmt_vid_cap()
850 sel->r = dev->fmt_cap_rect; in vivid_vid_cap_g_selection()
886 struct v4l2_rect fmt = dev->fmt_cap_rect; in vivid_vid_cap_s_selection()
901 if (!rect_same_size(&dev->fmt_cap_rect, &fmt) && in vivid_vid_cap_s_selection()
908 dev->fmt_cap_rect = fmt; in vivid_vid_cap_s_selection()
911 struct v4l2_rect fmt = dev->fmt_cap_rect; in vivid_vid_cap_s_selection()
914 if (!rect_same_size(&dev->fmt_cap_rect, &fmt) && in vivid_vid_cap_s_selection()
917 dev->fmt_cap_rect = fmt; in vivid_vid_cap_s_selection()
920 rect_map_inside(compose, &dev->fmt_cap_rect); in vivid_vid_cap_s_selection()
922 if (!rect_same_size(&s->r, &dev->fmt_cap_rect) && in vivid_vid_cap_s_selection()
925 rect_set_size_to(&dev->fmt_cap_rect, &s->r); in vivid_vid_cap_s_selection()
927 rect_map_inside(compose, &dev->fmt_cap_rect); in vivid_vid_cap_s_selection()
928 tpg_s_buf_height(&dev->tpg, dev->fmt_cap_rect.height); in vivid_vid_cap_s_selection()
941 rect_set_max_size(&s->r, &dev->fmt_cap_rect); in vivid_vid_cap_s_selection()
978 rect_map_inside(&s->r, &dev->fmt_cap_rect); in vivid_vid_cap_s_selection()