Home
last modified time | relevance | path

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

/drivers/media/platform/vimc/
Dvimc-common.c288 struct v4l2_subdev_format source_fmt, sink_fmt; in vimc_link_validate() local
291 ret = vimc_get_mbus_format(link->source, &source_fmt); in vimc_link_validate()
304 source_fmt.format.width, source_fmt.format.height, in vimc_link_validate()
305 source_fmt.format.code, source_fmt.format.colorspace, in vimc_link_validate()
306 source_fmt.format.quantization, source_fmt.format.xfer_func, in vimc_link_validate()
307 source_fmt.format.ycbcr_enc, in vimc_link_validate()
316 if (source_fmt.format.width != sink_fmt.format.width in vimc_link_validate()
317 || source_fmt.format.height != sink_fmt.format.height in vimc_link_validate()
318 || source_fmt.format.code != sink_fmt.format.code) in vimc_link_validate()
326 if (source_fmt.format.field != sink_fmt.format.field && in vimc_link_validate()
[all …]
/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_video.c552 struct v4l2_subdev_format source_fmt; in sun6i_video_link_validate() local
563 ret = sun6i_video_link_validate_get_format(link->source, &source_fmt); in sun6i_video_link_validate()
569 source_fmt.format.code)) { in sun6i_video_link_validate()
573 source_fmt.format.code); in sun6i_video_link_validate()
577 if (source_fmt.format.width != video->fmt.fmt.pix.width || in sun6i_video_link_validate()
578 source_fmt.format.height != video->fmt.fmt.pix.height) { in sun6i_video_link_validate()
582 source_fmt.format.width, source_fmt.format.height); in sun6i_video_link_validate()
586 video->mbus_code = source_fmt.format.code; in sun6i_video_link_validate()
/drivers/media/v4l2-core/
Dv4l2-subdev.c677 struct v4l2_subdev_format *source_fmt, in v4l2_subdev_link_validate_default() argument
681 if (source_fmt->format.width != sink_fmt->format.width in v4l2_subdev_link_validate_default()
682 || source_fmt->format.height != sink_fmt->format.height in v4l2_subdev_link_validate_default()
683 || source_fmt->format.code != sink_fmt->format.code) in v4l2_subdev_link_validate_default()
690 if (source_fmt->format.field != sink_fmt->format.field && in v4l2_subdev_link_validate_default()
721 struct v4l2_subdev_format sink_fmt, source_fmt; in v4l2_subdev_link_validate() local
725 link->source, &source_fmt); in v4l2_subdev_link_validate()
737 &source_fmt, &sink_fmt); in v4l2_subdev_link_validate()
742 sink, link, &source_fmt, &sink_fmt); in v4l2_subdev_link_validate()
/drivers/staging/media/omap4iss/
Diss_ipipe.c362 struct v4l2_subdev_format *source_fmt, in ipipe_link_validate() argument
366 if (source_fmt->format.width != sink_fmt->format.width || in ipipe_link_validate()
367 source_fmt->format.height != sink_fmt->format.height) in ipipe_link_validate()
370 if (source_fmt->format.code != sink_fmt->format.code) in ipipe_link_validate()
Diss_ipipeif.c577 struct v4l2_subdev_format *source_fmt, in ipipeif_link_validate() argument
581 if (source_fmt->format.width != sink_fmt->format.width || in ipipeif_link_validate()
582 source_fmt->format.height != sink_fmt->format.height) in ipipeif_link_validate()
585 if (source_fmt->format.code != sink_fmt->format.code) in ipipeif_link_validate()
Diss_resizer.c631 struct v4l2_subdev_format *source_fmt, in resizer_link_validate() argument
635 if (source_fmt->format.width != sink_fmt->format.width || in resizer_link_validate()
636 source_fmt->format.height != sink_fmt->format.height) in resizer_link_validate()
639 if (source_fmt->format.code != sink_fmt->format.code) in resizer_link_validate()
Diss_csi2.c1018 struct v4l2_subdev_format *source_fmt, in csi2_link_validate() argument
1030 return v4l2_subdev_link_validate_default(sd, link, source_fmt, in csi2_link_validate()
/drivers/staging/media/imx/
Dimx-ic-prp.c290 struct v4l2_subdev_format *source_fmt, in prp_link_validate() argument
299 source_fmt, sink_fmt); in prp_link_validate()
Dimx-media-vdic.c758 struct v4l2_subdev_format *source_fmt, in vdic_link_validate() argument
765 source_fmt, sink_fmt); in vdic_link_validate()
Dimx7-media-csi.c548 struct v4l2_subdev_format *source_fmt, in imx7_csi_pad_link_validate() argument
555 ret = v4l2_subdev_link_validate_default(sd, link, source_fmt, sink_fmt); in imx7_csi_pad_link_validate()
Dimx-media-csi.c1102 struct v4l2_subdev_format *source_fmt, in csi_link_validate() argument
1111 source_fmt, sink_fmt); in csi_link_validate()
/drivers/media/pci/intel/ipu3/
Dipu3-cio2.c1338 struct v4l2_subdev_format source_fmt; in cio2_video_link_validate() local
1347 ret = cio2_subdev_link_validate_get_format(link->source, &source_fmt); in cio2_video_link_validate()
1351 if (source_fmt.format.width != q->format.width || in cio2_video_link_validate()
1352 source_fmt.format.height != q->format.height) { in cio2_video_link_validate()
1356 source_fmt.format.width, source_fmt.format.height); in cio2_video_link_validate()
1360 if (!cio2_find_format(&q->format.pixelformat, &source_fmt.format.code)) in cio2_video_link_validate()
/drivers/media/platform/omap3isp/
Dispccdc.c2401 struct v4l2_subdev_format *source_fmt, in ccdc_link_validate() argument
2408 if (source_fmt->format.width != sink_fmt->format.width || in ccdc_link_validate()
2409 source_fmt->format.height != sink_fmt->format.height) in ccdc_link_validate()
2424 if (!ccdc_is_shiftable(source_fmt->format.code, in ccdc_link_validate()
Dispresizer.c1541 struct v4l2_subdev_format *source_fmt, in resizer_link_validate() argument
1550 source_fmt, sink_fmt); in resizer_link_validate()