Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/media/platform/rockchip/rkisp1/
Drkisp1-resizer.c207 const struct v4l2_rect *sink_y, in rkisp1_rsz_config_regs() argument
228 if (sink_y->width != src_y->width) { in rkisp1_rsz_config_regs()
230 if (sink_y->width < src_y->width) in rkisp1_rsz_config_regs()
232 ratio = rkisp1_rsz_calc_ratio(sink_y->width, src_y->width); in rkisp1_rsz_config_regs()
245 if (sink_y->height != src_y->height) { in rkisp1_rsz_config_regs()
247 if (sink_y->height < src_y->height) in rkisp1_rsz_config_regs()
249 ratio = rkisp1_rsz_calc_ratio(sink_y->height, src_y->height); in rkisp1_rsz_config_regs()
272 const struct v4l2_rect *sink_y; in rkisp1_rsz_config() local
291 sink_y = v4l2_subdev_state_get_crop(sd_state, RKISP1_RSZ_PAD_SINK); in rkisp1_rsz_config()
292 sink_c.width = sink_y->width / sink_yuv_info->hdiv; in rkisp1_rsz_config()
[all …]