Searched refs:new_crop (Results 1 – 3 of 3) sorted by relevance
1186 struct v4l2_rect new_crop; in imx274_set_selection_crop() local1197 new_crop.width = min_t(u32, in imx274_set_selection_crop()1202 if (new_crop.width < 144) in imx274_set_selection_crop()1203 new_crop.width = 144; in imx274_set_selection_crop()1205 new_crop.left = min_t(u32, in imx274_set_selection_crop()1207 IMX274_MAX_WIDTH - new_crop.width); in imx274_set_selection_crop()1209 new_crop.height = min_t(u32, in imx274_set_selection_crop()1213 new_crop.top = min_t(u32, IMX274_ROUND(sel->r.top, 2, 0), in imx274_set_selection_crop()1214 IMX274_MAX_HEIGHT - new_crop.height); in imx274_set_selection_crop()1216 sel->r = new_crop; in imx274_set_selection_crop()[all …]
21 const struct v4l2_rect *new_crop);
171 struct v4l2_framebuffer *fbuf, const struct v4l2_rect *new_crop) in omap_vout_new_crop() argument177 try_crop = *new_crop; in omap_vout_new_crop()