Home
last modified time | relevance | path

Searched refs:ffmt (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Datomisp_subdev.c275 struct v4l2_mbus_framefmt **ffmt, in isp_get_fmt_rect()
282 ffmt[i] = atomisp_subdev_get_ffmt(sd, sd_state, which, i); in isp_get_fmt_rect()
295 struct v4l2_mbus_framefmt *ffmt[ATOMISP_SUBDEV_PADS_NUM]; in isp_subdev_propagate() local
302 isp_get_fmt_rect(sd, sd_state, which, ffmt, crop, comp); in isp_subdev_propagate()
309 r.width = ffmt[pad]->width; in isp_subdev_propagate()
310 r.height = ffmt[pad]->height; in isp_subdev_propagate()
357 struct v4l2_mbus_framefmt *ffmt[ATOMISP_SUBDEV_PADS_NUM]; in atomisp_subdev_set_selection() local
365 isp_get_fmt_rect(sd, sd_state, which, ffmt, crop, comp); in atomisp_subdev_set_selection()
382 crop[pad]->width = ffmt[pad]->width; in atomisp_subdev_set_selection()
383 crop[pad]->height = ffmt[pa in atomisp_subdev_set_selection()
272 isp_get_fmt_rect(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, uint32_t which, struct v4l2_mbus_framefmt **ffmt, struct v4l2_rect *crop[ATOMISP_SUBDEV_PADS_NUM], struct v4l2_rect *comp[ATOMISP_SUBDEV_PADS_NUM]) isp_get_fmt_rect() argument
525 atomisp_subdev_set_ffmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, uint32_t which, u32 pad, struct v4l2_mbus_framefmt *ffmt) atomisp_subdev_set_ffmt() argument
[all...]
H A Datomisp_csi2.c88 struct v4l2_mbus_framefmt *ffmt) in atomisp_csi2_set_ffmt()
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()
85 atomisp_csi2_set_ffmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, unsigned int which, uint16_t pad, struct v4l2_mbus_framefmt *ffmt) atomisp_csi2_set_ffmt() argument
H A Datomisp_compat.h130 struct v4l2_mbus_framefmt *ffmt,
150 struct v4l2_mbus_framefmt *ffmt);
166 struct v4l2_mbus_framefmt *ffmt);
H A Datomisp_csi2.h67 struct v4l2_mbus_framefmt *ffmt);
H A Datomisp_cmd.c3999 struct v4l2_mbus_framefmt *ffmt) in css_input_resolution_changed()
4005 ffmt->width, ffmt->height); in css_input_resolution_changed()
4259 struct v4l2_mbus_framefmt *ffmt = &vformat.format; in atomisp_set_fmt_to_snr() local
4262 (struct atomisp_input_stream_info *)ffmt->reserved; in atomisp_set_fmt_to_snr()
4269 v4l2_fill_mbus_format(ffmt, f, format->mbus_code); in atomisp_set_fmt_to_snr()
4270 ffmt->height += asd->sink_pad_padding_h + dvs_env_h; in atomisp_set_fmt_to_snr()
4271 ffmt->width += asd->sink_pad_padding_w + dvs_env_w; in atomisp_set_fmt_to_snr()
4274 ffmt->width, ffmt in atomisp_set_fmt_to_snr()
3998 css_input_resolution_changed(struct atomisp_sub_device *asd, struct v4l2_mbus_framefmt *ffmt) css_input_resolution_changed() argument
[all...]
H A Datomisp_subdev.h361 u32 pad, struct v4l2_mbus_framefmt *ffmt);
H A Datomisp_compat_css20.c1461 struct v4l2_mbus_framefmt *ffmt, in atomisp_css_isys_set_resolution()
1470 s_config->isys_config[isys_stream].input_res.width = ffmt->width; in atomisp_css_isys_set_resolution()
1471 s_config->isys_config[isys_stream].input_res.height = ffmt->height; in atomisp_css_isys_set_resolution()
1477 struct v4l2_mbus_framefmt *ffmt) in atomisp_css_input_set_resolution()
1482 s_config->input_config.input_res.width = ffmt->width; in atomisp_css_input_set_resolution()
1483 s_config->input_config.input_res.height = ffmt->height; in atomisp_css_input_set_resolution()
1549 struct v4l2_mbus_framefmt *ffmt) in atomisp_css_set_default_isys_config()
1562 atomisp_css_isys_set_resolution(asd, stream_id, ffmt, in atomisp_css_set_default_isys_config()
1459 atomisp_css_isys_set_resolution(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt, int isys_stream) atomisp_css_isys_set_resolution() argument
1475 atomisp_css_input_set_resolution(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt) atomisp_css_input_set_resolution() argument
1547 atomisp_css_set_default_isys_config(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt) atomisp_css_set_default_isys_config() argument
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Datomisp_subdev.c289 struct v4l2_mbus_framefmt **ffmt, in isp_get_fmt_rect()
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[pa in atomisp_subdev_set_selection()
287 isp_get_fmt_rect(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, uint32_t which, struct v4l2_mbus_framefmt **ffmt, struct v4l2_rect *crop[ATOMISP_SUBDEV_PADS_NUM], struct v4l2_rect *comp[ATOMISP_SUBDEV_PADS_NUM]) isp_get_fmt_rect() argument
611 atomisp_subdev_set_ffmt(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, uint32_t which, u32 pad, struct v4l2_mbus_framefmt *ffmt) atomisp_subdev_set_ffmt() argument
[all...]
H A Datomisp_csi2.c89 struct v4l2_mbus_framefmt *ffmt) in atomisp_csi2_set_ffmt()
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()
86 atomisp_csi2_set_ffmt(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, unsigned int which, uint16_t pad, struct v4l2_mbus_framefmt *ffmt) atomisp_csi2_set_ffmt() argument
H A Datomisp_csi2.h49 struct v4l2_mbus_framefmt *ffmt);
H A Datomisp_compat.h145 struct v4l2_mbus_framefmt *ffmt,
165 struct v4l2_mbus_framefmt *ffmt);
185 struct v4l2_mbus_framefmt *ffmt);
H A Datomisp_cmd.c5177 struct v4l2_mbus_framefmt *ffmt) in css_input_resolution_changed()
5183 ffmt->width, ffmt->height); in css_input_resolution_changed()
5191 /* Note for all checks: ffmt includes pad_w+pad_h */ 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 in atomisp_set_fmt_to_snr()
5176 css_input_resolution_changed(struct atomisp_sub_device *asd, struct v4l2_mbus_framefmt *ffmt) css_input_resolution_changed() argument
6114 struct v4l2_mbus_framefmt ffmt = {0}; atomisp_set_fmt_file() local
[all...]
H A Datomisp_subdev.h456 u32 pad, struct v4l2_mbus_framefmt *ffmt);
H A Datomisp_compat_css20.c1662 struct v4l2_mbus_framefmt *ffmt, in atomisp_css_isys_set_resolution()
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()
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()
1763 atomisp_css_isys_set_resolution(asd, stream_id, ffmt, in atomisp_css_set_default_isys_config()
1660 atomisp_css_isys_set_resolution(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt, int isys_stream) atomisp_css_isys_set_resolution() argument
1676 atomisp_css_input_set_resolution(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt) atomisp_css_input_set_resolution() argument
1748 atomisp_css_set_default_isys_config(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt) atomisp_css_set_default_isys_config() argument
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
H A 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()
769 struct fimc_fmt *ffmt; fimc_pipeline_try_format() local
1519 struct fimc_fmt *ffmt; fimc_subdev_set_fmt() local
[all...]
H A Dfimc-lite.c693 const struct fimc_fmt **ffmt) in fimc_lite_try_fmt()
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()
691 fimc_lite_try_fmt(struct fimc_lite *fimc, struct v4l2_pix_format_mplane *pixm, const struct fimc_fmt **ffmt) fimc_lite_try_fmt() argument
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos4-is/
H A 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()
772 struct fimc_fmt *ffmt; fimc_pipeline_try_format() local
1522 struct fimc_fmt *ffmt; fimc_subdev_set_fmt() local
[all...]
H A Dfimc-lite.c691 const struct fimc_fmt **ffmt) in fimc_lite_try_fmt()
713 if (ffmt) in fimc_lite_try_fmt()
714 *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, sd_state, fmt); in fimc_lite_subdev_set_fmt()
1103 sink->fmt = ffmt; in fimc_lite_subdev_set_fmt()
689 fimc_lite_try_fmt(struct fimc_lite *fimc, struct v4l2_pix_format_mplane *pixm, const struct fimc_fmt **ffmt) fimc_lite_try_fmt() argument
/kernel/linux/linux-5.10/drivers/media/i2c/m5mols/
H A 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()
H A Dm5mols.h183 * @ffmt: current fmt according to resolution type
228 struct v4l2_mbus_framefmt ffmt[M5MOLS_RESTYPE_MAX]; member
/kernel/linux/linux-5.10/drivers/media/platform/s3c-camif/
H A Dcamif-capture.c710 const struct camif_fmt **ffmt) in __camif_video_try_format()
723 if (ffmt) in __camif_video_try_format()
724 *ffmt = fmt; in __camif_video_try_format()
708 __camif_video_try_format(struct camif_vp *vp, struct v4l2_pix_format *pix, const struct camif_fmt **ffmt) __camif_video_try_format() argument
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-capture.c710 const struct camif_fmt **ffmt) in __camif_video_try_format()
723 if (ffmt) in __camif_video_try_format()
724 *ffmt = fmt; in __camif_video_try_format()
708 __camif_video_try_format(struct camif_vp *vp, struct v4l2_pix_format *pix, const struct camif_fmt **ffmt) __camif_video_try_format() argument

Completed in 41 milliseconds