Lines Matching refs:sink_rect
215 dev->sink_rect.width = 720; in vivid_update_format_out()
217 dev->sink_rect.height = 480; in vivid_update_format_out()
221 dev->sink_rect.height = 576; in vivid_update_format_out()
228 dev->sink_rect.width = bt->width; in vivid_update_format_out()
229 dev->sink_rect.height = bt->height; in vivid_update_format_out()
258 dev->compose_out = dev->sink_rect; in vivid_update_format_out()
259 dev->compose_bounds_out = dev->sink_rect; in vivid_update_format_out()
266 (dev->sink_rect.width * dev->fmt_out->bit_depth[p]) / 8; in vivid_update_format_out()
298 dev->sink_rect.width == 720 && dev->sink_rect.height <= 576) in vivid_get_pixel_aspect()
299 return dev->sink_rect.height == 480 ? in vivid_get_pixel_aspect()
362 w = dev->sink_rect.width; in vivid_try_fmt_vid_out()
363 h = dev->sink_rect.height; in vivid_try_fmt_vid_out()
380 v4l2_rect_set_max_size(&r, &dev->sink_rect); in vivid_try_fmt_vid_out()
382 v4l2_rect_set_min_size(&r, &dev->sink_rect); in vivid_try_fmt_vid_out()
658 sel->r = dev->sink_rect; in vivid_vid_out_g_selection()
691 dev->sink_rect.width * MAX_ZOOM, in vivid_vid_out_s_selection()
692 (dev->sink_rect.height / factor) * MAX_ZOOM in vivid_vid_out_s_selection()
715 v4l2_rect_set_max_size(&s->r, &dev->sink_rect); in vivid_vid_out_s_selection()
721 v4l2_rect_set_size_to(&s->r, &dev->sink_rect); in vivid_vid_out_s_selection()
734 v4l2_rect_set_max_size(&s->r, &dev->sink_rect); in vivid_vid_out_s_selection()