Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c938 const struct ia_css_resolution *out_res, in ia_css_frame_find_crop_resolution() argument
943 if ((!in_res) || (!out_res) || (!crop_res)) in ia_css_frame_find_crop_resolution()
947 in_res->height, out_res->width, out_res->height); in ia_css_frame_find_crop_resolution()
951 || (out_res->width == 0) in ia_css_frame_find_crop_resolution()
952 || (out_res->height == 0)) in ia_css_frame_find_crop_resolution()
955 if ((out_res->width > in_res->width) || in ia_css_frame_find_crop_resolution()
956 (out_res->height > in_res->height)) in ia_css_frame_find_crop_resolution()
963 in_ratio = in_res->width * out_res->height; in ia_css_frame_find_crop_resolution()
964 out_ratio = out_res->width * in_res->height; in ia_css_frame_find_crop_resolution()
973 crop_res->height = ROUND_DIV(out_res->height * crop_res->width, in ia_css_frame_find_crop_resolution()
[all …]
/Linux-v5.10/drivers/net/ethernet/freescale/fs_enet/
Dmii-fec.c128 goto out_res; in fs_enet_mdio_probe()
181 out_res: in fs_enet_mdio_probe()
/Linux-v5.10/drivers/staging/media/atomisp/pci/runtime/frame/interface/
Dia_css_frame.h161 const struct ia_css_resolution *out_res,
/Linux-v5.10/drivers/staging/media/atomisp/pci/
Datomisp_cmd.c2974 struct atomisp_resolution eff_res, out_res; in atomisp_calculate_real_zoom_region() local
2978 memset(&out_res, 0, sizeof(out_res)); in atomisp_calculate_real_zoom_region()
3035 out_res.width = stream_env->pipe_configs[css_pipe_id].output_info[0].res.width; in atomisp_calculate_real_zoom_region()
3036 out_res.height = stream_env->pipe_configs[css_pipe_id].output_info[0].res.height; in atomisp_calculate_real_zoom_region()
3037 if (out_res.width == 0 || out_res.height == 0) { in atomisp_calculate_real_zoom_region()
3043 out_res.width = stream_env->pipe_configs[css_pipe_id].output_info[0].res.width; in atomisp_calculate_real_zoom_region()
3044 out_res.height = stream_env->pipe_configs[css_pipe_id].output_info[0].res.height; in atomisp_calculate_real_zoom_region()
3045 if (out_res.width == 0 || out_res.height == 0) { in atomisp_calculate_real_zoom_region()
3051 if (asd->sensor_array_res.width * out_res.height in atomisp_calculate_real_zoom_region()
3052 < out_res.width * asd->sensor_array_res.height) { in atomisp_calculate_real_zoom_region()
[all …]
Dsh_css.c265 const struct ia_css_resolution out_res);
6732 const struct ia_css_resolution out_res) { in need_downscaling() argument
6733 if (in_res.width > out_res.width || in_res.height > out_res.height) in need_downscaling()
6742 struct ia_css_resolution in_res, out_res; in need_yuv_scaler_stage() local
6765 out_res = pipe->output_info[i].res; in need_yuv_scaler_stage()
6768 if ((out_res.width != 0) && need_downscaling(in_res, out_res)) in need_yuv_scaler_stage()
10786 struct ia_css_resolution *out_res = NULL; local
10821 out_res = &curr_pipe->output_info[0].res;
10827 out_res = &curr_pipe->bds_output_info.res;
10829 out_res = &curr_pipe->config.vf_pp_in_res;
[all …]
/Linux-v5.10/drivers/video/fbdev/
Dsh7760fb.c470 goto out_res; in sh7760fb_probe()
550 out_res: in sh7760fb_probe()