Searched refs:try_crop (Results 1 – 9 of 9) 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 …]
690 struct v4l2_rect *try_crop; in imx219_open() local702 try_crop = v4l2_subdev_get_try_crop(sd, fh->pad, 0); in imx219_open()703 try_crop->top = IMX219_PIXEL_ARRAY_TOP; in imx219_open()704 try_crop->left = IMX219_PIXEL_ARRAY_LEFT; in imx219_open()705 try_crop->width = IMX219_PIXEL_ARRAY_WIDTH; in imx219_open()706 try_crop->height = IMX219_PIXEL_ARRAY_HEIGHT; in imx219_open()
887 cur_crop = &cfg->try_crop; in __imx274_change_compose()1011 src_crop = &cfg->try_crop; in imx274_get_selection()1083 tgt_crop = &cfg->try_crop; in imx274_set_selection_crop()
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_get_try_crop(sd, fh->pad, IMGU_NODE_IN) = try_crop; in imgu_subdev_open()48 *v4l2_subdev_get_try_compose(sd, fh->pad, IMGU_NODE_IN) = try_crop; in imgu_subdev_open()
626 struct v4l2_rect try_crop; member980 return &cfg[pad].try_crop; in v4l2_subdev_get_try_crop()
574 pad_cfg->try_crop.width = MAX_SUPPORT_WIDTH; in isi_try_fse()575 pad_cfg->try_crop.height = MAX_SUPPORT_HEIGHT; in isi_try_fse()577 pad_cfg->try_crop.width = fse.max_width; in isi_try_fse()578 pad_cfg->try_crop.height = fse.max_height; in isi_try_fse()
1249 pad_cfg->try_crop.width = ISC_MAX_SUPPORT_WIDTH; in isc_try_fse()1250 pad_cfg->try_crop.height = ISC_MAX_SUPPORT_HEIGHT; in isc_try_fse()1252 pad_cfg->try_crop.width = fse.max_width; in isc_try_fse()1253 pad_cfg->try_crop.height = fse.max_height; in isc_try_fse()
539 pad_cfg->try_crop.width = sdsel.r.width; in __tegra_channel_try_format()540 pad_cfg->try_crop.height = sdsel.r.height; in __tegra_channel_try_format()542 pad_cfg->try_crop.width = fse.max_width; in __tegra_channel_try_format()543 pad_cfg->try_crop.height = fse.max_height; in __tegra_channel_try_format()
2639 struct v4l2_rect *try_crop = in smiapp_open() local2643 smiapp_get_native_size(ssd, try_crop); in smiapp_open()2645 try_fmt->width = try_crop->width; in smiapp_open()2646 try_fmt->height = try_crop->height; in smiapp_open()2654 *try_comp = *try_crop; in smiapp_open()