Home
last modified time | relevance | path

Searched refs:try_crop (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/media/platform/omap/
A Domap_voutlib.c181 try_crop.width += try_crop.left; 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()
190 try_crop.height = (try_crop.height < pix->height) ? in omap_vout_new_crop()
192 if (try_crop.left + try_crop.width > pix->width) in omap_vout_new_crop()
193 try_crop.width = pix->width - try_crop.left; in omap_vout_new_crop()
194 if (try_crop.top + try_crop.height > pix->height) in omap_vout_new_crop()
195 try_crop.height = pix->height - try_crop.top; in omap_vout_new_crop()
200 if (try_crop.width <= 0 || try_crop.height <= 0) in omap_vout_new_crop()
[all …]
/linux/drivers/media/i2c/
A Dimx219.c693 struct v4l2_rect *try_crop; in imx219_open() local
705 try_crop = v4l2_subdev_get_try_crop(sd, fh->state, 0); in imx219_open()
706 try_crop->top = IMX219_PIXEL_ARRAY_TOP; in imx219_open()
707 try_crop->left = IMX219_PIXEL_ARRAY_LEFT; in imx219_open()
708 try_crop->width = IMX219_PIXEL_ARRAY_WIDTH; in imx219_open()
709 try_crop->height = IMX219_PIXEL_ARRAY_HEIGHT; in imx219_open()
A Dimx274.c1022 cur_crop = &sd_state->pads->try_crop; in __imx274_change_compose()
1147 src_crop = &sd_state->pads->try_crop; in imx274_get_selection()
1219 tgt_crop = &sd_state->pads->try_crop; in imx274_set_selection_crop()
/linux/drivers/staging/media/ipu3/
A Dipu3-v4l2.c25 struct v4l2_rect try_crop = { in imgu_subdev_open() local
31 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->state, IMGU_NODE_IN) = try_crop; in imgu_subdev_open()
48 *v4l2_subdev_get_try_compose(sd, fh->state, IMGU_NODE_IN) = try_crop; in imgu_subdev_open()
/linux/include/media/
A Dv4l2-subdev.h651 struct v4l2_rect try_crop; member
1018 return &state->pads[pad].try_crop; in v4l2_subdev_get_try_crop()
/linux/drivers/staging/media/tegra-video/
A Dvi.c538 sd_state->pads->try_crop.width = 0; in __tegra_channel_try_format()
539 sd_state->pads->try_crop.height = 0; in __tegra_channel_try_format()
546 sd_state->pads->try_crop.width = sdsel.r.width; in __tegra_channel_try_format()
547 sd_state->pads->try_crop.height = sdsel.r.height; in __tegra_channel_try_format()
550 sd_state->pads->try_crop.width = fse.max_width; in __tegra_channel_try_format()
551 sd_state->pads->try_crop.height = fse.max_height; in __tegra_channel_try_format()
/linux/drivers/media/platform/atmel/
A Datmel-isi.c575 sd_state->pads->try_crop.width = MAX_SUPPORT_WIDTH; in isi_try_fse()
576 sd_state->pads->try_crop.height = MAX_SUPPORT_HEIGHT; in isi_try_fse()
578 sd_state->pads->try_crop.width = fse.max_width; in isi_try_fse()
579 sd_state->pads->try_crop.height = fse.max_height; in isi_try_fse()
A Datmel-isc-base.c1119 sd_state->pads->try_crop.width = isc->max_width; in isc_try_fse()
1120 sd_state->pads->try_crop.height = isc->max_height; in isc_try_fse()
1122 sd_state->pads->try_crop.width = fse.max_width; in isc_try_fse()
1123 sd_state->pads->try_crop.height = fse.max_height; in isc_try_fse()
/linux/drivers/media/i2c/ccs/
A Dccs-core.c3078 struct v4l2_rect *try_crop = in ccs_open() local
3082 ccs_get_native_size(ssd, try_crop); in ccs_open()
3084 try_fmt->width = try_crop->width; in ccs_open()
3085 try_fmt->height = try_crop->height; in ccs_open()
3093 *try_comp = *try_crop; in ccs_open()

Completed in 32 milliseconds