Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-resizer.c240 struct v4l2_rect *sink_c, in rkisp1_rsz_config_regs() argument
268 if (sink_c->width != src_c->width) { in rkisp1_rsz_config_regs()
270 if (sink_c->width < src_c->width) in rkisp1_rsz_config_regs()
272 ratio = rkisp1_rsz_calc_ratio(sink_c->width, src_c->width); in rkisp1_rsz_config_regs()
285 if (sink_c->height != src_c->height) { in rkisp1_rsz_config_regs()
287 if (sink_c->height < src_c->height) in rkisp1_rsz_config_regs()
302 struct v4l2_rect sink_y, sink_c, src_y, src_c; in rkisp1_rsz_config() local
329 sink_c.width = sink_y.width / sink_yuv_info->hdiv; in rkisp1_rsz_config()
330 sink_c.height = sink_y.height / sink_yuv_info->vdiv; in rkisp1_rsz_config()
341 if (sink_c.width == src_c.width && sink_c.height == src_c.height) { in rkisp1_rsz_config()
[all …]