Home
last modified time | relevance | path

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

/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_subdev.c253 struct v4l2_mbus_framefmt **ffmt, in isp_get_fmt_rect() argument
260 ffmt[i] = atomisp_subdev_get_ffmt(sd, sd_state, which, i); in isp_get_fmt_rect()
306 struct v4l2_mbus_framefmt *ffmt[ATOMISP_SUBDEV_PADS_NUM]; in atomisp_subdev_set_selection() local
314 isp_get_fmt_rect(sd, sd_state, which, ffmt, crop, comp); in atomisp_subdev_set_selection()
331 crop[pad]->width = ffmt[pad]->width; in atomisp_subdev_set_selection()
332 crop[pad]->height = ffmt[pad]->height; in atomisp_subdev_set_selection()
447 ffmt[pad]->width = comp[pad]->width; in atomisp_subdev_set_selection()
448 ffmt[pad]->height = comp[pad]->height; in atomisp_subdev_set_selection()
478 u32 pad, struct v4l2_mbus_framefmt *ffmt) in atomisp_subdev_set_ffmt() argument
485 dev_dbg(isp->dev, "ffmt in atomisp_subdev_set_ffmt()
[all...]
H A Datomisp_csi2.c76 struct v4l2_mbus_framefmt *ffmt) in atomisp_csi2_set_ffmt() argument
87 ic = atomisp_find_in_fmt_conv(ffmt->code); in atomisp_csi2_set_ffmt()
93 actual_ffmt->width = clamp_t(u32, ffmt->width, in atomisp_csi2_set_ffmt()
96 actual_ffmt->height = clamp_t(u32, ffmt->height, in atomisp_csi2_set_ffmt()
99 actual_ffmt->field = ffmt->field; in atomisp_csi2_set_ffmt()
101 tmp_ffmt = *ffmt = *actual_ffmt; in atomisp_csi2_set_ffmt()
111 *actual_ffmt = *ffmt = *__csi2_get_format(csi2, sd_state, which, in atomisp_csi2_set_ffmt()
H A Datomisp_cmd.c3692 struct v4l2_mbus_framefmt *ffmt, in atomisp_set_sensor_crop_and_fmt() argument
3699 .r.width = ffmt->width, in atomisp_set_sensor_crop_and_fmt()
3700 .r.height = ffmt->height, in atomisp_set_sensor_crop_and_fmt()
3704 .format = *ffmt, in atomisp_set_sensor_crop_and_fmt()
3788 *ffmt = format.format; in atomisp_set_sensor_crop_and_fmt()
3799 struct v4l2_mbus_framefmt ffmt = { }; in atomisp_try_fmt() local
3828 v4l2_fill_mbus_format(&ffmt, f, fmt->mbus_code); in atomisp_try_fmt()
3829 ffmt.width += padding_w; in atomisp_try_fmt()
3830 ffmt.height += padding_h; in atomisp_try_fmt()
3832 dev_dbg(isp->dev, "try_mbus_fmt: try %ux%u\n", ffmt in atomisp_try_fmt()
4004 css_input_resolution_changed(struct atomisp_sub_device * asd,struct v4l2_mbus_framefmt * ffmt) css_input_resolution_changed() argument
4061 struct v4l2_mbus_framefmt *ffmt; atomisp_set_fmt_to_isp() local
4256 struct v4l2_mbus_framefmt req_ffmt, ffmt = { }; atomisp_set_fmt_to_snr() local
[all...]
H A Datomisp_compat.h119 struct v4l2_mbus_framefmt *ffmt,
139 struct v4l2_mbus_framefmt *ffmt);
155 struct v4l2_mbus_framefmt *ffmt);
H A Datomisp_csi2.h39 struct v4l2_mbus_framefmt *ffmt);
H A Datomisp_subdev.h332 u32 pad, struct v4l2_mbus_framefmt *ffmt);
H A Datomisp_compat_css20.c1432 struct v4l2_mbus_framefmt *ffmt, in atomisp_css_isys_set_resolution() argument
1441 s_config->isys_config[isys_stream].input_res.width = ffmt->width; in atomisp_css_isys_set_resolution()
1442 s_config->isys_config[isys_stream].input_res.height = ffmt->height; in atomisp_css_isys_set_resolution()
1448 struct v4l2_mbus_framefmt *ffmt) in atomisp_css_input_set_resolution() argument
1453 s_config->input_config.input_res.width = ffmt->width; in atomisp_css_input_set_resolution()
1454 s_config->input_config.input_res.height = ffmt->height; in atomisp_css_input_set_resolution()
1520 struct v4l2_mbus_framefmt *ffmt) in atomisp_css_set_default_isys_config() argument
1533 atomisp_css_isys_set_resolution(asd, stream_id, ffmt, in atomisp_css_set_default_isys_config()
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-capture.c570 const struct fimc_fmt *ffmt; in fimc_capture_try_format() local
584 ffmt = fimc_find_format(fourcc, code, mask, 0); in fimc_capture_try_format()
585 if (WARN_ON(!ffmt)) in fimc_capture_try_format()
589 *code = ffmt->mbus_code; in fimc_capture_try_format()
591 *fourcc = ffmt->fourcc; in fimc_capture_try_format()
594 max_w = fimc_fmt_is_user_defined(ffmt->color) ? in fimc_capture_try_format()
600 fimc_fmt_is_user_defined(ffmt->color) ? in fimc_capture_try_format()
603 return ffmt; in fimc_capture_try_format()
606 if (fimc_fmt_is_user_defined(ffmt->color)) { in fimc_capture_try_format()
609 return ffmt; in fimc_capture_try_format()
769 const struct fimc_fmt *ffmt; fimc_pipeline_try_format() local
1520 const struct fimc_fmt *ffmt; fimc_subdev_set_fmt() local
[all...]
H A Dfimc-lite.c687 const struct fimc_fmt **ffmt) in fimc_lite_try_fmt() argument
709 if (ffmt) in fimc_lite_try_fmt()
710 *ffmt = fmt; in fimc_lite_try_fmt()
1062 const struct fimc_fmt *ffmt; in fimc_lite_subdev_set_fmt() local
1077 ffmt = fimc_lite_subdev_try_fmt(fimc, sd_state, fmt); in fimc_lite_subdev_set_fmt()
1099 sink->fmt = ffmt; in fimc_lite_subdev_set_fmt()
/linux/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-capture.c708 const struct camif_fmt **ffmt) in __camif_video_try_format() argument
721 if (ffmt) in __camif_video_try_format()
722 *ffmt = fmt; in __camif_video_try_format()