Home
last modified time | relevance | path

Searched refs:try_crop (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/omap/
H A Domap_voutlib.c173 struct v4l2_rect try_crop; in omap_vout_new_crop() local
177 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 in omap_vout_new_crop()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap/
H A Domap_voutlib.c173 struct v4l2_rect try_crop; in omap_vout_new_crop() local
177 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 in omap_vout_new_crop()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/microchip/
H A Dmicrochip-isc-scaler.c153 struct v4l2_rect *try_crop; in isc_scaler_init_cfg() local
158 try_crop = v4l2_subdev_get_try_crop(sd, sd_state, 0); in isc_scaler_init_cfg()
160 try_crop->top = 0; in isc_scaler_init_cfg()
161 try_crop->left = 0; in isc_scaler_init_cfg()
162 try_crop->width = v4l2_try_fmt->width; in isc_scaler_init_cfg()
163 try_crop->height = v4l2_try_fmt->height; in isc_scaler_init_cfg()
H A Dmicrochip-isc-base.c882 sd_state->pads->try_crop.width = isc->max_width; in isc_try_fse()
883 sd_state->pads->try_crop.height = isc->max_height; in isc_try_fse()
885 sd_state->pads->try_crop.width = fse.max_width; in isc_try_fse()
886 sd_state->pads->try_crop.height = fse.max_height; in isc_try_fse()
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dimx219.c598 struct v4l2_rect *try_crop; in imx219_open() local
609 /* Initialize try_crop rectangle. */ in imx219_open()
610 try_crop = v4l2_subdev_get_try_crop(sd, fh->pad, 0); in imx219_open()
611 try_crop->top = IMX219_PIXEL_ARRAY_TOP; in imx219_open()
612 try_crop->left = IMX219_PIXEL_ARRAY_LEFT; in imx219_open()
613 try_crop->width = IMX219_PIXEL_ARRAY_WIDTH; in imx219_open()
614 try_crop->height = IMX219_PIXEL_ARRAY_HEIGHT; in imx219_open()
H A Dimx274.c887 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()
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dhi556.c1139 struct v4l2_rect *try_crop; in hi556_open() local
1145 /* Initialize try_crop rectangle. */ in hi556_open()
1146 try_crop = v4l2_subdev_get_try_crop(sd, fh->state, 0); in hi556_open()
1147 try_crop->top = HI556_PIXEL_ARRAY_TOP; in hi556_open()
1148 try_crop->left = HI556_PIXEL_ARRAY_LEFT; in hi556_open()
1149 try_crop->width = HI556_PIXEL_ARRAY_WIDTH; in hi556_open()
1150 try_crop->height = HI556_PIXEL_ARRAY_HEIGHT; in hi556_open()
H A Dov6650.c479 rect = &sd_state->pads->try_crop; in ov6650_get_selection()
534 struct v4l2_rect *crop = &sd_state->pads->try_crop; in ov6650_set_selection()
720 crop = &sd_state->pads->try_crop; in ov6650_set_fmt()
H A Dimx274.c1021 cur_crop = &sd_state->pads->try_crop; in __imx274_change_compose()
1146 src_crop = &sd_state->pads->try_crop; in imx274_get_selection()
1218 tgt_crop = &sd_state->pads->try_crop; in imx274_set_selection_crop()
H A Dov2680.c763 sd_state->pads[0].try_crop = ov2680_default_crop; in ov2680_init_cfg()
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/
H 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->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()
/kernel/linux/linux-6.6/drivers/staging/media/ipu3/
H 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()
/kernel/linux/linux-5.10/include/media/
H A Dv4l2-subdev.h617 * @try_crop: &struct v4l2_rect to be used for crop
626 struct v4l2_rect try_crop; member
967 * &struct v4l2_subdev_pad_config->try_crop
980 return &cfg[pad].try_crop; in v4l2_subdev_get_try_crop()
/kernel/linux/linux-5.10/drivers/media/platform/atmel/
H A Datmel-isi.c574 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()
H A Datmel-isc-base.c1249 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()
/kernel/linux/linux-6.6/drivers/media/platform/atmel/
H 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()
/kernel/linux/linux-6.6/drivers/staging/media/tegra-video/
H A Dvi.c480 sd_state->pads->try_crop.width = 0; in __tegra_channel_try_format()
481 sd_state->pads->try_crop.height = 0; in __tegra_channel_try_format()
488 sd_state->pads->try_crop.width = sdsel.r.width; in __tegra_channel_try_format()
489 sd_state->pads->try_crop.height = sdsel.r.height; in __tegra_channel_try_format()
492 sd_state->pads->try_crop.width = fse.max_width; in __tegra_channel_try_format()
493 sd_state->pads->try_crop.height = fse.max_height; in __tegra_channel_try_format()
/kernel/linux/linux-6.6/include/media/
H A Dv4l2-subdev.h690 * @try_crop: &struct v4l2_rect to be used for crop
702 struct v4l2_rect try_crop; member
1168 * &struct v4l2_subdev_pad_config->try_crop
1183 return &state->pads[pad].try_crop; in v4l2_subdev_get_pad_crop()
/kernel/linux/linux-5.10/drivers/staging/media/tegra-video/
H A Dvi.c539 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()
/kernel/linux/linux-6.6/drivers/staging/media/deprecated/atmel/
H A Datmel-isc-base.c848 sd_state->pads->try_crop.width = isc->max_width; in isc_try_fse()
849 sd_state->pads->try_crop.height = isc->max_height; in isc_try_fse()
851 sd_state->pads->try_crop.width = fse.max_width; in isc_try_fse()
852 sd_state->pads->try_crop.height = fse.max_height; in isc_try_fse()
/kernel/linux/linux-5.10/drivers/media/i2c/smiapp/
H A Dsmiapp-core.c2639 struct v4l2_rect *try_crop = in smiapp_open() local
2643 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()
/kernel/linux/linux-6.6/drivers/media/i2c/ccs/
H A Dccs-core.c3089 struct v4l2_rect *try_crop = in ccs_open() local
3093 ccs_get_native_size(ssd, try_crop); in ccs_open()
3095 try_fmt->width = try_crop->width; in ccs_open()
3096 try_fmt->height = try_crop->height; in ccs_open()
3104 *try_comp = *try_crop; in ccs_open()

Completed in 56 milliseconds