Lines Matching refs:fmt_out_rect
30 unsigned h = dev->fmt_out_rect.height; in vid_out_queue_setup()
115 size = dev->bytesperline_out[p] * dev->fmt_out_rect.height + in vid_out_buf_prepare()
254 dev->fmt_out_rect = dev->crop_out; in vivid_update_format_out()
304 mp->width = dev->fmt_out_rect.width; in vivid_g_fmt_vid_out()
305 mp->height = dev->fmt_out_rect.height; in vivid_g_fmt_vid_out()
442 mp->width != dev->fmt_out_rect.width || in vivid_s_fmt_vid_out()
443 mp->height != dev->fmt_out_rect.height || in vivid_s_fmt_vid_out()
529 dev->fmt_out_rect.width = mp->width; in vivid_s_fmt_vid_out()
530 dev->fmt_out_rect.height = mp->height; in vivid_s_fmt_vid_out()
633 sel->r = dev->fmt_out_rect; in vivid_vid_out_g_selection()
678 v4l2_rect_set_max_size(&s->r, &dev->fmt_out_rect); in vivid_vid_out_s_selection()
715 v4l2_rect_map_inside(&s->r, &dev->fmt_out_rect); in vivid_vid_out_s_selection()
730 struct v4l2_rect fmt = dev->fmt_out_rect; in vivid_vid_out_s_selection()
745 if (!v4l2_rect_same_size(&dev->fmt_out_rect, &fmt) && in vivid_vid_out_s_selection()
752 dev->fmt_out_rect = fmt; in vivid_vid_out_s_selection()
754 struct v4l2_rect fmt = dev->fmt_out_rect; in vivid_vid_out_s_selection()
757 if (!v4l2_rect_same_size(&dev->fmt_out_rect, &fmt) && in vivid_vid_out_s_selection()
760 dev->fmt_out_rect = fmt; in vivid_vid_out_s_selection()
762 v4l2_rect_map_inside(crop, &dev->fmt_out_rect); in vivid_vid_out_s_selection()
764 if (!v4l2_rect_same_size(&s->r, &dev->fmt_out_rect) && in vivid_vid_out_s_selection()
767 v4l2_rect_set_size_to(&dev->fmt_out_rect, &s->r); in vivid_vid_out_s_selection()
770 v4l2_rect_map_inside(crop, &dev->fmt_out_rect); in vivid_vid_out_s_selection()