Home
last modified time | relevance | path

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

/drivers/staging/media/rkisp1/
Drkisp1-resizer.c332 struct v4l2_rect *src_c, in rkisp1_rsz_config_regs() argument
359 if (sink_c->width != src_c->width) { in rkisp1_rsz_config_regs()
361 if (sink_c->width < src_c->width) in rkisp1_rsz_config_regs()
363 ratio = rkisp1_rsz_calc_ratio(sink_c->width, src_c->width); in rkisp1_rsz_config_regs()
376 if (sink_c->height != src_c->height) { in rkisp1_rsz_config_regs()
378 if (sink_c->height < src_c->height) in rkisp1_rsz_config_regs()
380 ratio = rkisp1_rsz_calc_ratio(sink_c->height, src_c->height); in rkisp1_rsz_config_regs()
393 struct v4l2_rect sink_y, sink_c, src_y, src_c; in rkisp1_rsz_config() local
429 src_c.width = src_y.width / src_yuv_info->hdiv; in rkisp1_rsz_config()
430 src_c.height = src_y.height / src_yuv_info->vdiv; in rkisp1_rsz_config()
[all …]