Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/media/atomisp/pci/
Datomisp_subdev.c264 struct v4l2_mbus_framefmt **ffmt, in isp_get_fmt_rect() argument
271 ffmt[i] = atomisp_subdev_get_ffmt(sd, sd_state, which, i); in isp_get_fmt_rect()
317 struct v4l2_mbus_framefmt *ffmt[ATOMISP_SUBDEV_PADS_NUM]; in atomisp_subdev_set_selection() local
325 isp_get_fmt_rect(sd, sd_state, which, ffmt, crop, comp); in atomisp_subdev_set_selection()
342 crop[pad]->width = ffmt[pad]->width; in atomisp_subdev_set_selection()
343 crop[pad]->height = ffmt[pad]->height; in atomisp_subdev_set_selection()
458 ffmt[pad]->width = comp[pad]->width; in atomisp_subdev_set_selection()
459 ffmt[pad]->height = comp[pad]->height; in atomisp_subdev_set_selection()
489 u32 pad, struct v4l2_mbus_framefmt *ffmt) in atomisp_subdev_set_ffmt() argument
497 atomisp_pad_str(pad), ffmt->width, ffmt->height, ffmt->code, in atomisp_subdev_set_ffmt()
[all …]
Datomisp_csi2.c87 struct v4l2_mbus_framefmt *ffmt) in atomisp_csi2_set_ffmt() argument
98 ic = atomisp_find_in_fmt_conv(ffmt->code); in atomisp_csi2_set_ffmt()
104 actual_ffmt->width = clamp_t(u32, ffmt->width, in atomisp_csi2_set_ffmt()
107 actual_ffmt->height = clamp_t(u32, ffmt->height, in atomisp_csi2_set_ffmt()
110 actual_ffmt->field = ffmt->field; in atomisp_csi2_set_ffmt()
112 tmp_ffmt = *ffmt = *actual_ffmt; in atomisp_csi2_set_ffmt()
122 *actual_ffmt = *ffmt = *__csi2_get_format(csi2, sd_state, which, in atomisp_csi2_set_ffmt()
Datomisp_cmd.c3701 struct v4l2_mbus_framefmt *ffmt, in atomisp_set_sensor_crop_and_fmt() argument
3708 .r.width = ffmt->width, in atomisp_set_sensor_crop_and_fmt()
3709 .r.height = ffmt->height, in atomisp_set_sensor_crop_and_fmt()
3713 .format = *ffmt, in atomisp_set_sensor_crop_and_fmt()
3773 *ffmt = format.format; in atomisp_set_sensor_crop_and_fmt()
3784 struct v4l2_mbus_framefmt ffmt = { }; in atomisp_try_fmt() local
3808 v4l2_fill_mbus_format(&ffmt, f, fmt->mbus_code); in atomisp_try_fmt()
3809 ffmt.width += padding_w; in atomisp_try_fmt()
3810 ffmt.height += padding_h; in atomisp_try_fmt()
3812 dev_dbg(isp->dev, "try_mbus_fmt: try %ux%u\n", ffmt.width, ffmt.height); in atomisp_try_fmt()
[all …]
Datomisp_compat.h130 struct v4l2_mbus_framefmt *ffmt,
150 struct v4l2_mbus_framefmt *ffmt);
166 struct v4l2_mbus_framefmt *ffmt);
Datomisp_csi2.h67 struct v4l2_mbus_framefmt *ffmt);
Datomisp_subdev.h346 u32 pad, struct v4l2_mbus_framefmt *ffmt);
Datomisp_compat_css20.c1443 struct v4l2_mbus_framefmt *ffmt, in atomisp_css_isys_set_resolution() argument
1452 s_config->isys_config[isys_stream].input_res.width = ffmt->width; in atomisp_css_isys_set_resolution()
1453 s_config->isys_config[isys_stream].input_res.height = ffmt->height; in atomisp_css_isys_set_resolution()
1459 struct v4l2_mbus_framefmt *ffmt) in atomisp_css_input_set_resolution() argument
1464 s_config->input_config.input_res.width = ffmt->width; in atomisp_css_input_set_resolution()
1465 s_config->input_config.input_res.height = ffmt->height; in atomisp_css_input_set_resolution()
1531 struct v4l2_mbus_framefmt *ffmt) in atomisp_css_set_default_isys_config() argument
1544 atomisp_css_isys_set_resolution(asd, stream_id, ffmt, in atomisp_css_set_default_isys_config()
/linux-6.12.1/drivers/media/platform/samsung/exynos4-is/
Dfimc-capture.c572 const 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.c689 const struct fimc_fmt **ffmt) in fimc_lite_try_fmt() argument
711 if (ffmt) in fimc_lite_try_fmt()
712 *ffmt = fmt; in fimc_lite_try_fmt()
1064 const struct fimc_fmt *ffmt; in fimc_lite_subdev_set_fmt() local
1079 ffmt = fimc_lite_subdev_try_fmt(fimc, sd_state, fmt); in fimc_lite_subdev_set_fmt()
1101 sink->fmt = ffmt; in fimc_lite_subdev_set_fmt()
/linux-6.12.1/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()