Home
last modified time | relevance | path

Searched refs:src_crop (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/media/platform/rockchip/rkisp1/
Drkisp1-isp.c101 const struct v4l2_rect *src_crop = in rkisp1_config_ism() local
112 rkisp1_write(rkisp1, RKISP1_CIF_ISP_IS_H_OFFS, src_crop->left); in rkisp1_config_ism()
113 rkisp1_write(rkisp1, RKISP1_CIF_ISP_IS_V_OFFS, src_crop->top); in rkisp1_config_ism()
114 rkisp1_write(rkisp1, RKISP1_CIF_ISP_IS_H_SIZE, src_crop->width); in rkisp1_config_ism()
115 rkisp1_write(rkisp1, RKISP1_CIF_ISP_IS_V_SIZE, src_crop->height); in rkisp1_config_ism()
436 struct v4l2_rect *sink_crop, *src_crop; in rkisp1_isp_init_config() local
466 src_crop = v4l2_subdev_get_try_crop(sd, sd_state, in rkisp1_isp_init_config()
468 *src_crop = *sink_crop; in rkisp1_isp_init_config()
493 const struct v4l2_rect *src_crop; in rkisp1_isp_set_src_fmt() local
500 src_crop = rkisp1_isp_get_pad_crop(isp, sd_state, in rkisp1_isp_set_src_fmt()
[all …]
/Linux-v6.6/drivers/media/i2c/
Dimx274.c1130 const struct v4l2_rect *src_crop; in imx274_get_selection() local
1146 src_crop = &sd_state->pads->try_crop; in imx274_get_selection()
1149 src_crop = &imx274->crop; in imx274_get_selection()
1157 sel->r = *src_crop; in imx274_get_selection()
1162 sel->r.width = src_crop->width; in imx274_get_selection()
1163 sel->r.height = src_crop->height; in imx274_get_selection()