Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/
H A Dcapture.c609 struct v4l2_rect *input_win = rkisp_get_isp_sd_win(&dev->isp_sdev); in restrict_rsz_resolution() local
613 max_rsz->width = input_win->width; in restrict_rsz_resolution()
614 max_rsz->height = input_win->height; in restrict_rsz_resolution()
627 max_rsz->width = ALIGN(DIV_ROUND_UP(input_win->width, div), 4); in restrict_rsz_resolution()
628 max_rsz->height = DIV_ROUND_UP(input_win->height, div); in restrict_rsz_resolution()
631 max_rsz->width = min_t(int, input_win->width, cfg->max_rsz_width); in restrict_rsz_resolution()
632 max_rsz->height = min_t(int, input_win->height, cfg->max_rsz_height); in restrict_rsz_resolution()
917 struct v4l2_rect *input_win = rkisp_get_isp_sd_win(&dev->isp_sdev); in rkisp_enum_framesizes() local
941 s->max_width = min_t(u32, max_rsz.width, input_win->width); in rkisp_enum_framesizes()
942 s->max_height = input_win->height; in rkisp_enum_framesizes()
[all …]
H A Dcapture_v1x.c333 struct v4l2_rect *input_win; in rkisp_stream_config_dcrop() local
336 input_win = rkisp_get_isp_sd_win(&dev->isp_sdev); in rkisp_stream_config_dcrop()
338 if (dcrop->width == input_win->width && in rkisp_stream_config_dcrop()
339 dcrop->height == input_win->height && in rkisp_stream_config_dcrop()
351 input_win->width, input_win->height, in rkisp_stream_config_dcrop()
H A Dcapture_v30.c327 struct v4l2_rect *input_win; in rkisp_stream_config_dcrop() local
330 input_win = rkisp_get_isp_sd_win(&dev->isp_sdev); in rkisp_stream_config_dcrop()
332 if (dcrop->width == input_win->width && in rkisp_stream_config_dcrop()
333 dcrop->height == input_win->height && in rkisp_stream_config_dcrop()
344 input_win->width, input_win->height, in rkisp_stream_config_dcrop()
H A Dcapture_v21.c541 struct v4l2_rect *input_win; in rkisp_stream_config_dcrop() local
544 input_win = rkisp_get_isp_sd_win(&dev->isp_sdev); in rkisp_stream_config_dcrop()
546 if (dcrop->width == input_win->width && in rkisp_stream_config_dcrop()
547 dcrop->height == input_win->height && in rkisp_stream_config_dcrop()
559 input_win->width, input_win->height, in rkisp_stream_config_dcrop()
H A Dcapture_v32.c550 struct v4l2_rect *input_win; in rkisp_stream_config_dcrop() local
553 input_win = rkisp_get_isp_sd_win(&dev->isp_sdev); in rkisp_stream_config_dcrop()
555 if (dcrop->width == input_win->width && in rkisp_stream_config_dcrop()
556 dcrop->height == input_win->height && in rkisp_stream_config_dcrop()
566 input_win->width, input_win->height, in rkisp_stream_config_dcrop()
H A Dcapture_v20.c561 struct v4l2_rect *input_win; in rkisp_stream_config_dcrop() local
565 input_win = rkisp_get_isp_sd_win(&dev->isp_sdev); in rkisp_stream_config_dcrop()
566 src_w = input_win->width; in rkisp_stream_config_dcrop()
567 src_h = input_win->height; in rkisp_stream_config_dcrop()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp1/
H A Dcapture.c670 struct v4l2_rect *input_win; in rkisp1_config_dcrop() local
673 input_win = rkisp1_get_isp_sd_win(&dev->isp_sdev); in rkisp1_config_dcrop()
675 if (dcrop->width == input_win->width && in rkisp1_config_dcrop()
676 dcrop->height == input_win->height && in rkisp1_config_dcrop()
688 input_win->width, input_win->height, in rkisp1_config_dcrop()
1620 struct v4l2_rect *input_win; in restrict_rsz_resolution() local
1622 input_win = rkisp1_get_isp_sd_win(&dev->isp_sdev); in restrict_rsz_resolution()
1623 max_rsz->width = min_t(int, input_win->width, config->max_rsz_width); in restrict_rsz_resolution()
1624 max_rsz->height = min_t(int, input_win->height, config->max_rsz_height); in restrict_rsz_resolution()
1969 struct v4l2_rect *input_win; in rkisp1_g_selection() local
[all …]