Home
last modified time | relevance | path

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

/drivers/staging/media/atomisp/pci/
Datomisp_subdev.c289 struct v4l2_mbus_framefmt **ffmt, in isp_get_fmt_rect() argument
296 ffmt[i] = atomisp_subdev_get_ffmt(sd, cfg, which, i); in isp_get_fmt_rect()
309 struct v4l2_mbus_framefmt *ffmt[ATOMISP_SUBDEV_PADS_NUM]; in isp_subdev_propagate() local
316 isp_get_fmt_rect(sd, cfg, which, ffmt, crop, comp); in isp_subdev_propagate()
323 r.width = ffmt[pad]->width; in isp_subdev_propagate()
324 r.height = ffmt[pad]->height; in isp_subdev_propagate()
374 struct v4l2_mbus_framefmt *ffmt[ATOMISP_SUBDEV_PADS_NUM]; in atomisp_subdev_set_selection() local
385 isp_get_fmt_rect(sd, cfg, which, ffmt, crop, comp); in atomisp_subdev_set_selection()
403 crop[pad]->width = ffmt[pad]->width; in atomisp_subdev_set_selection()
404 crop[pad]->height = ffmt[pad]->height; in atomisp_subdev_set_selection()
[all …]
Datomisp_csi2.c89 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()
105 u32, ffmt->width, ATOM_ISP_MIN_WIDTH, in atomisp_csi2_set_ffmt()
108 u32, ffmt->height, ATOM_ISP_MIN_HEIGHT, in atomisp_csi2_set_ffmt()
111 tmp_ffmt = *ffmt = *actual_ffmt; in atomisp_csi2_set_ffmt()
118 *actual_ffmt = *ffmt = *__csi2_get_format(csi2, cfg, which, CSI2_PAD_SINK); in atomisp_csi2_set_ffmt()
Datomisp_compat.h145 struct v4l2_mbus_framefmt *ffmt,
165 struct v4l2_mbus_framefmt *ffmt);
185 struct v4l2_mbus_framefmt *ffmt);
Datomisp_csi2.h49 struct v4l2_mbus_framefmt *ffmt);
Datomisp_cmd.c5177 struct v4l2_mbus_framefmt *ffmt) in css_input_resolution_changed() argument
5183 ffmt->width, ffmt->height); in css_input_resolution_changed()
5193 (ffmt->width >= 2048 || ffmt->height >= 1536)) { in css_input_resolution_changed()
5574 struct v4l2_mbus_framefmt *ffmt = &vformat.format; in atomisp_set_fmt_to_snr() local
5578 (struct atomisp_input_stream_info *)ffmt->reserved; in atomisp_set_fmt_to_snr()
5598 v4l2_fill_mbus_format(ffmt, &f->fmt.pix, format->mbus_code); in atomisp_set_fmt_to_snr()
5599 ffmt->height += padding_h + dvs_env_h; in atomisp_set_fmt_to_snr()
5600 ffmt->width += padding_w + dvs_env_w; in atomisp_set_fmt_to_snr()
5603 ffmt->width, ffmt->height, padding_w, padding_h, in atomisp_set_fmt_to_snr()
5608 req_ffmt = ffmt; in atomisp_set_fmt_to_snr()
[all …]
Datomisp_subdev.h456 u32 pad, struct v4l2_mbus_framefmt *ffmt);
Datomisp_compat_css20.c1662 struct v4l2_mbus_framefmt *ffmt, in atomisp_css_isys_set_resolution() argument
1671 s_config->isys_config[isys_stream].input_res.width = ffmt->width; in atomisp_css_isys_set_resolution()
1672 s_config->isys_config[isys_stream].input_res.height = ffmt->height; in atomisp_css_isys_set_resolution()
1678 struct v4l2_mbus_framefmt *ffmt) in atomisp_css_input_set_resolution() argument
1683 s_config->input_config.input_res.width = ffmt->width; in atomisp_css_input_set_resolution()
1684 s_config->input_config.input_res.height = ffmt->height; in atomisp_css_input_set_resolution()
1750 struct v4l2_mbus_framefmt *ffmt) in atomisp_css_set_default_isys_config() argument
1763 atomisp_css_isys_set_resolution(asd, stream_id, ffmt, in atomisp_css_set_default_isys_config()
/drivers/media/platform/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.c693 const struct fimc_fmt **ffmt) in fimc_lite_try_fmt() argument
715 if (ffmt) in fimc_lite_try_fmt()
716 *ffmt = fmt; in fimc_lite_try_fmt()
1066 const struct fimc_fmt *ffmt; in fimc_lite_subdev_set_fmt() local
1081 ffmt = fimc_lite_subdev_try_fmt(fimc, cfg, fmt); in fimc_lite_subdev_set_fmt()
1102 sink->fmt = ffmt; in fimc_lite_subdev_set_fmt()
/drivers/media/i2c/m5mols/
Dm5mols_core.c549 return &info->ffmt[type]; in __find_format()
619 fd->entry[0].pixelcode = info->ffmt[M5MOLS_RESTYPE_CAPTURE].code; in m5mols_get_frame_desc()
632 struct v4l2_mbus_framefmt *mf = &info->ffmt[M5MOLS_RESTYPE_CAPTURE]; in m5mols_set_frame_desc()
727 code = info->ffmt[info->res_type].code; in m5mols_s_stream()
1008 info->ffmt[0] = m5mols_default_ffmt[0]; in m5mols_probe()
1009 info->ffmt[1] = m5mols_default_ffmt[1]; in m5mols_probe()
Dm5mols.h228 struct v4l2_mbus_framefmt ffmt[M5MOLS_RESTYPE_MAX]; member
/drivers/media/platform/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()