Searched refs:try_crop (Results 1 – 8 of 8) 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()
1163 struct v4l2_rect *try_crop; in hi556_open() local1170 try_crop = v4l2_subdev_state_get_crop(fh->state, 0); in hi556_open()1171 try_crop->top = HI556_PIXEL_ARRAY_TOP; in hi556_open()1172 try_crop->left = HI556_PIXEL_ARRAY_LEFT; in hi556_open()1173 try_crop->width = HI556_PIXEL_ARRAY_WIDTH; in hi556_open()1174 try_crop->height = HI556_PIXEL_ARRAY_HEIGHT; in hi556_open()
707 struct v4l2_rect *try_crop; in imx258_open() local716 try_crop = v4l2_subdev_state_get_crop(fh->state, 0); in imx258_open()717 try_crop->left = IMX258_PIXEL_ARRAY_LEFT; in imx258_open()718 try_crop->top = IMX258_PIXEL_ARRAY_TOP; in imx258_open()719 try_crop->width = IMX258_PIXEL_ARRAY_WIDTH; in imx258_open()720 try_crop->height = IMX258_PIXEL_ARRAY_HEIGHT; in imx258_open()
25 struct v4l2_rect try_crop = { in imgu_subdev_open() local31 try_crop.width = in imgu_subdev_open()33 try_crop.height = in imgu_subdev_open()41 try_fmt->width = try_crop.width; in imgu_subdev_open()42 try_fmt->height = try_crop.height; in imgu_subdev_open()47 *v4l2_subdev_state_get_crop(fh->state, IMGU_NODE_IN) = try_crop; in imgu_subdev_open()48 *v4l2_subdev_state_get_compose(fh->state, IMGU_NODE_IN) = try_crop; in imgu_subdev_open()
442 struct v4l2_rect *try_crop; in __tegra_channel_try_format() local477 try_crop = v4l2_subdev_state_get_crop(sd_state, 0); in __tegra_channel_try_format()482 try_crop->width = 0; in __tegra_channel_try_format()483 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()
562 struct v4l2_rect *try_crop = in isi_try_fse() local577 try_crop->width = MAX_SUPPORT_WIDTH; in isi_try_fse()578 try_crop->height = MAX_SUPPORT_HEIGHT; in isi_try_fse()580 try_crop->width = fse.max_width; in isi_try_fse()581 try_crop->height = fse.max_height; in isi_try_fse()
823 struct v4l2_rect *try_crop = in isc_try_fse() local846 try_crop->width = isc->max_width; in isc_try_fse()847 try_crop->height = isc->max_height; in isc_try_fse()849 try_crop->width = fse.max_width; in isc_try_fse()850 try_crop->height = fse.max_height; in isc_try_fse()