Home
last modified time | relevance | path

Searched refs:sink_fmt (Results 1 – 14 of 14) sorted by relevance

/drivers/media/v4l2-core/
Dv4l2-subdev.c505 struct v4l2_subdev_format *sink_fmt) in v4l2_subdev_link_validate_default() argument
508 if (source_fmt->format.width != sink_fmt->format.width in v4l2_subdev_link_validate_default()
509 || source_fmt->format.height != sink_fmt->format.height in v4l2_subdev_link_validate_default()
510 || source_fmt->format.code != sink_fmt->format.code) in v4l2_subdev_link_validate_default()
517 if (source_fmt->format.field != sink_fmt->format.field && in v4l2_subdev_link_validate_default()
518 sink_fmt->format.field != V4L2_FIELD_NONE) in v4l2_subdev_link_validate_default()
548 struct v4l2_subdev_format sink_fmt, source_fmt; in v4l2_subdev_link_validate() local
557 link->sink, &sink_fmt); in v4l2_subdev_link_validate()
564 &source_fmt, &sink_fmt); in v4l2_subdev_link_validate()
569 sink, link, &source_fmt, &sink_fmt); in v4l2_subdev_link_validate()
/drivers/media/platform/exynos4-is/
Dfimc-isp-video.c460 struct v4l2_subdev_format sink_fmt, src_fmt; in isp_video_pipeline_validate() local
469 sink_fmt.pad = pad->index; in isp_video_pipeline_validate()
470 sink_fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE; in isp_video_pipeline_validate()
471 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &sink_fmt); in isp_video_pipeline_validate()
488 if (src_fmt.format.width != sink_fmt.format.width || in isp_video_pipeline_validate()
489 src_fmt.format.height != sink_fmt.format.height || in isp_video_pipeline_validate()
490 src_fmt.format.code != sink_fmt.format.code) in isp_video_pipeline_validate()
Dfimc-lite.c588 struct v4l2_mbus_framefmt *sink_fmt; in fimc_lite_subdev_try_fmt() local
592 sink_fmt = v4l2_subdev_get_try_format(&fimc->subdev, cfg, in fimc_lite_subdev_try_fmt()
595 mf->code = sink_fmt->code; in fimc_lite_subdev_try_fmt()
596 mf->colorspace = sink_fmt->colorspace; in fimc_lite_subdev_try_fmt()
789 struct v4l2_subdev_format sink_fmt, src_fmt; in fimc_pipeline_validate() local
801 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
802 sink_fmt.format.height = ff->f_height; in fimc_pipeline_validate()
803 sink_fmt.format.code = fimc->inp_frame.fmt->mbus_code; in fimc_pipeline_validate()
805 sink_fmt.pad = pad->index; in fimc_pipeline_validate()
806 sink_fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE; in fimc_pipeline_validate()
[all …]
Dfimc-isp.c145 *mf = isp->sink_fmt; in fimc_isp_subdev_get_fmt()
184 format = &isp->sink_fmt; in __isp_subdev_try_format()
236 isp->sink_fmt = *mf; in fimc_isp_subdev_set_fmt()
681 isp->sink_fmt.width = DEFAULT_PREVIEW_STILL_WIDTH + in __isp_subdev_set_default_format()
683 isp->sink_fmt.height = DEFAULT_PREVIEW_STILL_HEIGHT + in __isp_subdev_set_default_format()
685 isp->sink_fmt.code = MEDIA_BUS_FMT_SGRBG10_1X10; in __isp_subdev_set_default_format()
Dfimc-capture.c1114 struct v4l2_subdev_format sink_fmt, src_fmt; in fimc_pipeline_validate() local
1147 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
1148 sink_fmt.format.height = ff->f_height; in fimc_pipeline_validate()
1149 sink_fmt.format.code = ff->fmt ? ff->fmt->mbus_code : 0; in fimc_pipeline_validate()
1151 sink_fmt.pad = sink_pad->index; in fimc_pipeline_validate()
1152 sink_fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE; in fimc_pipeline_validate()
1153 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &sink_fmt); in fimc_pipeline_validate()
1166 if (src_fmt.format.width != sink_fmt.format.width || in fimc_pipeline_validate()
1167 src_fmt.format.height != sink_fmt.format.height || in fimc_pipeline_validate()
1168 src_fmt.format.code != sink_fmt.format.code) in fimc_pipeline_validate()
Dfimc-isp.h168 struct v4l2_mbus_framefmt sink_fmt; member
/drivers/staging/media/omap4iss/
Diss_ipipe.c367 struct v4l2_subdev_format *sink_fmt) in ipipe_link_validate() argument
370 if (source_fmt->format.width != sink_fmt->format.width || in ipipe_link_validate()
371 source_fmt->format.height != sink_fmt->format.height) in ipipe_link_validate()
374 if (source_fmt->format.code != sink_fmt->format.code) in ipipe_link_validate()
Diss_ipipeif.c582 struct v4l2_subdev_format *sink_fmt) in ipipeif_link_validate() argument
585 if (source_fmt->format.width != sink_fmt->format.width || in ipipeif_link_validate()
586 source_fmt->format.height != sink_fmt->format.height) in ipipeif_link_validate()
589 if (source_fmt->format.code != sink_fmt->format.code) in ipipeif_link_validate()
Diss_resizer.c636 struct v4l2_subdev_format *sink_fmt) in resizer_link_validate() argument
639 if (source_fmt->format.width != sink_fmt->format.width || in resizer_link_validate()
640 source_fmt->format.height != sink_fmt->format.height) in resizer_link_validate()
643 if (source_fmt->format.code != sink_fmt->format.code) in resizer_link_validate()
Diss_csi2.c1023 struct v4l2_subdev_format *sink_fmt) in csi2_link_validate() argument
1035 sink_fmt); in csi2_link_validate()
/drivers/media/i2c/smiapp/
Dsmiapp-core.c1626 r = &ssd->sink_fmt; in __smiapp_get_format()
1826 ssd->sink_fmt = *crops[ssd->sink_pad]; in smiapp_set_format()
2127 src_size = &ssd->sink_fmt; in smiapp_set_crop()
2173 struct v4l2_rect sink_fmt; in __smiapp_get_selection() local
2183 sink_fmt = ssd->sink_fmt; in __smiapp_get_selection()
2188 sink_fmt.left = 0; in __smiapp_get_selection()
2189 sink_fmt.top = 0; in __smiapp_get_selection()
2190 sink_fmt.width = fmt->width; in __smiapp_get_selection()
2191 sink_fmt.height = fmt->height; in __smiapp_get_selection()
2204 sel->r = sink_fmt; in __smiapp_get_selection()
[all …]
Dsmiapp.h166 struct v4l2_rect sink_fmt; member
/drivers/media/platform/omap3isp/
Dispccdc.c2408 struct v4l2_subdev_format *sink_fmt) in ccdc_link_validate() argument
2414 if (source_fmt->format.width != sink_fmt->format.width || in ccdc_link_validate()
2415 source_fmt->format.height != sink_fmt->format.height) in ccdc_link_validate()
2431 sink_fmt->format.code, parallel_shift)) in ccdc_link_validate()
Dispresizer.c1545 struct v4l2_subdev_format *sink_fmt) in resizer_link_validate() argument
1553 source_fmt, sink_fmt); in resizer_link_validate()