Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/media/atomisp/pci/
Datomisp_subdev.c290 struct v4l2_mbus_framefmt **ffmt, in isp_get_fmt_rect() argument
297 ffmt[i] = atomisp_subdev_get_ffmt(sd, sd_state, which, i); in isp_get_fmt_rect()
310 struct v4l2_mbus_framefmt *ffmt[ATOMISP_SUBDEV_PADS_NUM]; in isp_subdev_propagate() local
317 isp_get_fmt_rect(sd, sd_state, which, ffmt, crop, comp); in isp_subdev_propagate()
324 r.width = ffmt[pad]->width; in isp_subdev_propagate()
325 r.height = ffmt[pad]->height; in isp_subdev_propagate()
375 struct v4l2_mbus_framefmt *ffmt[ATOMISP_SUBDEV_PADS_NUM]; in atomisp_subdev_set_selection() local
382 isp_get_fmt_rect(sd, sd_state, which, ffmt, crop, comp); in atomisp_subdev_set_selection()
400 crop[pad]->width = ffmt[pad]->width; in atomisp_subdev_set_selection()
401 crop[pad]->height = ffmt[pad]->height; in atomisp_subdev_set_selection()
[all …]
Datomisp_csi2.c88 struct v4l2_mbus_framefmt *ffmt) in atomisp_csi2_set_ffmt() argument
99 ic = atomisp_find_in_fmt_conv(ffmt->code); in atomisp_csi2_set_ffmt()
105 actual_ffmt->width = clamp_t(u32, ffmt->width, in atomisp_csi2_set_ffmt()
108 actual_ffmt->height = clamp_t(u32, ffmt->height, in atomisp_csi2_set_ffmt()
112 tmp_ffmt = *ffmt = *actual_ffmt; in atomisp_csi2_set_ffmt()
120 *actual_ffmt = *ffmt = *__csi2_get_format(csi2, sd_state, which, in atomisp_csi2_set_ffmt()
Datomisp_compat.h137 struct v4l2_mbus_framefmt *ffmt,
157 struct v4l2_mbus_framefmt *ffmt);
177 struct v4l2_mbus_framefmt *ffmt);
Datomisp_csi2.h49 struct v4l2_mbus_framefmt *ffmt);
Datomisp_cmd.c4673 struct v4l2_mbus_framefmt *ffmt) in css_input_resolution_changed() argument
4679 ffmt->width, ffmt->height); in css_input_resolution_changed()
4689 (ffmt->width >= 2048 || ffmt->height >= 1536)) { in css_input_resolution_changed()
5056 struct v4l2_mbus_framefmt *ffmt = &vformat.format; in atomisp_set_fmt_to_snr() local
5060 (struct atomisp_input_stream_info *)ffmt->reserved; in atomisp_set_fmt_to_snr()
5079 v4l2_fill_mbus_format(ffmt, f, format->mbus_code); in atomisp_set_fmt_to_snr()
5080 ffmt->height += padding_h + dvs_env_h; in atomisp_set_fmt_to_snr()
5081 ffmt->width += padding_w + dvs_env_w; in atomisp_set_fmt_to_snr()
5084 ffmt->width, ffmt->height, padding_w, padding_h, in atomisp_set_fmt_to_snr()
5089 req_ffmt = ffmt; in atomisp_set_fmt_to_snr()
[all …]
Datomisp_subdev.h399 u32 pad, struct v4l2_mbus_framefmt *ffmt);
Datomisp_compat_css20.c1594 struct v4l2_mbus_framefmt *ffmt, in atomisp_css_isys_set_resolution() argument
1603 s_config->isys_config[isys_stream].input_res.width = ffmt->width; in atomisp_css_isys_set_resolution()
1604 s_config->isys_config[isys_stream].input_res.height = ffmt->height; in atomisp_css_isys_set_resolution()
1610 struct v4l2_mbus_framefmt *ffmt) in atomisp_css_input_set_resolution() argument
1615 s_config->input_config.input_res.width = ffmt->width; in atomisp_css_input_set_resolution()
1616 s_config->input_config.input_res.height = ffmt->height; in atomisp_css_input_set_resolution()
1682 struct v4l2_mbus_framefmt *ffmt) in atomisp_css_set_default_isys_config() argument
1695 atomisp_css_isys_set_resolution(asd, stream_id, ffmt, in atomisp_css_set_default_isys_config()
/linux-6.1.9/drivers/media/platform/samsung/exynos4-is/
Dfimc-capture.c573 struct fimc_fmt *ffmt; in fimc_capture_try_format() local
586 ffmt = fimc_find_format(fourcc, code, mask, 0); in fimc_capture_try_format()
587 if (WARN_ON(!ffmt)) in fimc_capture_try_format()
591 *code = ffmt->mbus_code; in fimc_capture_try_format()
593 *fourcc = ffmt->fourcc; in fimc_capture_try_format()
596 max_w = fimc_fmt_is_user_defined(ffmt->color) ? in fimc_capture_try_format()
602 fimc_fmt_is_user_defined(ffmt->color) ? in fimc_capture_try_format()
605 return ffmt; in fimc_capture_try_format()
608 if (fimc_fmt_is_user_defined(ffmt->color)) { in fimc_capture_try_format()
611 return ffmt; in fimc_capture_try_format()
[all …]
Dfimc-lite.c691 const struct fimc_fmt **ffmt) in fimc_lite_try_fmt() argument
713 if (ffmt) in fimc_lite_try_fmt()
714 *ffmt = fmt; in fimc_lite_try_fmt()
1063 const struct fimc_fmt *ffmt; in fimc_lite_subdev_set_fmt() local
1078 ffmt = fimc_lite_subdev_try_fmt(fimc, sd_state, fmt); in fimc_lite_subdev_set_fmt()
1100 sink->fmt = ffmt; in fimc_lite_subdev_set_fmt()
/linux-6.1.9/drivers/media/i2c/m5mols/
Dm5mols_core.c550 return &info->ffmt[type]; in __find_format()
622 fd->entry[0].pixelcode = info->ffmt[M5MOLS_RESTYPE_CAPTURE].code; in m5mols_get_frame_desc()
635 struct v4l2_mbus_framefmt *mf = &info->ffmt[M5MOLS_RESTYPE_CAPTURE]; in m5mols_set_frame_desc()
730 code = info->ffmt[info->res_type].code; in m5mols_s_stream()
1004 info->ffmt[0] = m5mols_default_ffmt[0]; in m5mols_probe()
1005 info->ffmt[1] = m5mols_default_ffmt[1]; in m5mols_probe()
Dm5mols.h233 struct v4l2_mbus_framefmt ffmt[M5MOLS_RESTYPE_MAX]; member
/linux-6.1.9/drivers/media/platform/samsung/s3c-camif/
Dcamif-capture.c710 const struct camif_fmt **ffmt) in __camif_video_try_format() argument
723 if (ffmt) in __camif_video_try_format()
724 *ffmt = fmt; in __camif_video_try_format()