Home
last modified time | relevance | path

Searched refs:max_rect (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/media/platform/renesas/rcar-vin/
Drcar-v4l2.c471 struct v4l2_rect max_rect; in rvin_s_selection() local
485 max_rect.top = max_rect.left = 0; in rvin_s_selection()
486 max_rect.width = vin->src_rect.width; in rvin_s_selection()
487 max_rect.height = vin->src_rect.height; in rvin_s_selection()
488 v4l2_rect_map_inside(&r, &max_rect); in rvin_s_selection()
505 max_rect.top = max_rect.left = 0; in rvin_s_selection()
506 max_rect.width = vin->format.width; in rvin_s_selection()
507 max_rect.height = vin->format.height; in rvin_s_selection()
508 v4l2_rect_map_inside(&r, &max_rect); in rvin_s_selection()
/linux-5.19.10/drivers/media/platform/st/stm32/
Dstm32-dcmi.c1054 struct v4l2_rect max_rect; in dcmi_try_fmt() local
1060 max_rect.top = 0; in dcmi_try_fmt()
1061 max_rect.left = 0; in dcmi_try_fmt()
1062 max_rect.width = pix->width; in dcmi_try_fmt()
1063 max_rect.height = pix->height; in dcmi_try_fmt()
1064 v4l2_rect_map_inside(&c, &max_rect); in dcmi_try_fmt()
1313 struct v4l2_rect max_rect; in dcmi_s_selection() local
1331 max_rect.top = 0; in dcmi_s_selection()
1332 max_rect.left = 0; in dcmi_s_selection()
1333 max_rect.width = pix.width; in dcmi_s_selection()
[all …]
/linux-5.19.10/drivers/media/test-drivers/vivid/
Dvivid-vid-out.c702 struct v4l2_rect max_rect = { in vivid_vid_out_s_selection() local
708 v4l2_rect_set_max_size(&s->r, &max_rect); in vivid_vid_out_s_selection()
715 struct v4l2_rect max_rect = { in vivid_vid_out_s_selection() local
722 v4l2_rect_set_max_size(compose, &max_rect); in vivid_vid_out_s_selection()
753 struct v4l2_rect max_rect = { in vivid_vid_out_s_selection() local
766 v4l2_rect_set_max_size(&fmt, &max_rect); in vivid_vid_out_s_selection()
772 v4l2_rect_set_max_size(crop, &max_rect); in vivid_vid_out_s_selection()
Dvivid-vid-cap.c936 struct v4l2_rect max_rect = { in vivid_vid_cap_s_selection() local
949 v4l2_rect_set_max_size(&fmt, &max_rect); in vivid_vid_cap_s_selection()
955 v4l2_rect_set_max_size(compose, &max_rect); in vivid_vid_cap_s_selection()
992 struct v4l2_rect max_rect = { in vivid_vid_cap_s_selection() local
998 v4l2_rect_set_max_size(&s->r, &max_rect); in vivid_vid_cap_s_selection()
1005 struct v4l2_rect max_rect = { in vivid_vid_cap_s_selection() local
1012 v4l2_rect_set_max_size(crop, &max_rect); in vivid_vid_cap_s_selection()