Searched refs:try_crop (Results 1 – 3 of 3) sorted by relevance
173 struct v4l2_rect try_crop; in omap_vout_new_crop() local177 try_crop = *new_crop; in omap_vout_new_crop()180 if (try_crop.left < 0) { in omap_vout_new_crop()181 try_crop.width += try_crop.left; in omap_vout_new_crop()182 try_crop.left = 0; in omap_vout_new_crop()184 if (try_crop.top < 0) { in omap_vout_new_crop()185 try_crop.height += try_crop.top; in omap_vout_new_crop()186 try_crop.top = 0; in omap_vout_new_crop()188 try_crop.width = (try_crop.width < pix->width) ? in omap_vout_new_crop()189 try_crop.width : pix->width; in omap_vout_new_crop()[all …]
153 struct v4l2_rect *try_crop; in isc_scaler_init_state() local158 try_crop = v4l2_subdev_state_get_crop(sd_state, 0); in isc_scaler_init_state()160 try_crop->top = 0; in isc_scaler_init_state()161 try_crop->left = 0; in isc_scaler_init_state()162 try_crop->width = v4l2_try_fmt->width; in isc_scaler_init_state()163 try_crop->height = v4l2_try_fmt->height; in isc_scaler_init_state()
440 struct v4l2_rect *try_crop; in __tegra_channel_try_format() local475 try_crop = v4l2_subdev_state_get_crop(sd_state, 0); in __tegra_channel_try_format()480 try_crop->width = 0; in __tegra_channel_try_format()481 try_crop->height = 0; in __tegra_channel_try_format()490 try_crop->width = sdsel.r.width; in __tegra_channel_try_format()491 try_crop->height = sdsel.r.height; in __tegra_channel_try_format()494 try_crop->width = fse.max_width; in __tegra_channel_try_format()495 try_crop->height = fse.max_height; in __tegra_channel_try_format()