Home
last modified time | relevance | path

Searched refs:new_crop (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/media/i2c/
Dimx274.c1050 struct v4l2_rect new_crop; in imx274_set_selection_crop() local
1061 new_crop.width = min_t(u32, in imx274_set_selection_crop()
1066 if (new_crop.width < 144) in imx274_set_selection_crop()
1067 new_crop.width = 144; in imx274_set_selection_crop()
1069 new_crop.left = min_t(u32, in imx274_set_selection_crop()
1071 IMX274_MAX_WIDTH - new_crop.width); in imx274_set_selection_crop()
1073 new_crop.height = min_t(u32, in imx274_set_selection_crop()
1077 new_crop.top = min_t(u32, IMX274_ROUND(sel->r.top, 2, 0), in imx274_set_selection_crop()
1078 IMX274_MAX_HEIGHT - new_crop.height); in imx274_set_selection_crop()
1080 sel->r = new_crop; in imx274_set_selection_crop()
[all …]
/Linux-v5.10/drivers/media/platform/omap/
Domap_voutlib.h21 const struct v4l2_rect *new_crop);
Domap_voutlib.c171 struct v4l2_framebuffer *fbuf, const struct v4l2_rect *new_crop) in omap_vout_new_crop() argument
177 try_crop = *new_crop; in omap_vout_new_crop()