Searched refs:max_rect (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/drivers/media/platform/renesas/rcar-vin/ |
| H A D | rcar-v4l2.c | 562 struct v4l2_rect max_rect; in rvin_s_selection() local 580 ret = rvin_remote_rectangle(vin, &max_rect); in rvin_s_selection() 584 v4l2_rect_map_inside(&r, &max_rect); in rvin_s_selection() 586 v4l_bound_align_image(&r.width, 6, max_rect.width, 0, in rvin_s_selection() 587 &r.height, 2, max_rect.height, 0, 0); in rvin_s_selection() 590 r.left = clamp_t(s32, r.left, 0, max_rect.width - r.width); in rvin_s_selection() 596 max_rect.width, max_rect.height); in rvin_s_selection() 600 max_rect.top = max_rect.left = 0; in rvin_s_selection() 601 max_rect.width = vin->format.width; in rvin_s_selection() 602 max_rect.height = vin->format.height; in rvin_s_selection() [all …]
|
| /linux-6.15/drivers/media/platform/st/stm32/ |
| H A D | stm32-dcmi.c | 1008 struct v4l2_rect max_rect; in dcmi_try_fmt() local 1014 max_rect.top = 0; in dcmi_try_fmt() 1015 max_rect.left = 0; in dcmi_try_fmt() 1016 max_rect.width = pix->width; in dcmi_try_fmt() 1017 max_rect.height = pix->height; in dcmi_try_fmt() 1262 struct v4l2_rect max_rect; in dcmi_s_selection() local 1280 max_rect.top = 0; in dcmi_s_selection() 1281 max_rect.left = 0; in dcmi_s_selection() 1282 max_rect.width = pix.width; in dcmi_s_selection() 1283 max_rect.height = pix.height; in dcmi_s_selection() [all …]
|
| /linux-6.15/drivers/media/test-drivers/vivid/ |
| H A D | vivid-vid-out.c | 698 struct v4l2_rect max_rect = { in vivid_vid_out_s_selection() local 704 v4l2_rect_set_max_size(&s->r, &max_rect); in vivid_vid_out_s_selection() 711 struct v4l2_rect max_rect = { in vivid_vid_out_s_selection() local 718 v4l2_rect_set_max_size(compose, &max_rect); in vivid_vid_out_s_selection() 749 struct v4l2_rect max_rect = { in vivid_vid_out_s_selection() local 762 v4l2_rect_set_max_size(&fmt, &max_rect); in vivid_vid_out_s_selection() 768 v4l2_rect_set_max_size(crop, &max_rect); in vivid_vid_out_s_selection()
|
| H A D | vivid-vid-cap.c | 929 struct v4l2_rect max_rect = { in vivid_vid_cap_s_selection() local 942 v4l2_rect_set_max_size(&fmt, &max_rect); in vivid_vid_cap_s_selection() 948 v4l2_rect_set_max_size(compose, &max_rect); in vivid_vid_cap_s_selection() 986 struct v4l2_rect max_rect = { in vivid_vid_cap_s_selection() local 992 v4l2_rect_set_max_size(&s->r, &max_rect); in vivid_vid_cap_s_selection() 999 struct v4l2_rect max_rect = { in vivid_vid_cap_s_selection() local 1006 v4l2_rect_set_max_size(crop, &max_rect); in vivid_vid_cap_s_selection()
|