Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/test-drivers/vimc/
Dvimc-common.c277 struct v4l2_pix_format source_fmt, sink_fmt; in vimc_vdev_link_validate() local
280 ret = vimc_get_pix_format(link->source, &source_fmt); in vimc_vdev_link_validate()
293 source_fmt.width, source_fmt.height, in vimc_vdev_link_validate()
294 source_fmt.pixelformat, source_fmt.colorspace, in vimc_vdev_link_validate()
295 source_fmt.quantization, source_fmt.xfer_func, in vimc_vdev_link_validate()
296 source_fmt.ycbcr_enc, in vimc_vdev_link_validate()
305 if (source_fmt.width != sink_fmt.width || in vimc_vdev_link_validate()
306 source_fmt.height != sink_fmt.height || in vimc_vdev_link_validate()
307 source_fmt.pixelformat != sink_fmt.pixelformat) in vimc_vdev_link_validate()
315 if (source_fmt.field != sink_fmt.field && in vimc_vdev_link_validate()
[all …]
/Linux-v5.10/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()
/Linux-v5.10/drivers/media/v4l2-core/
Dv4l2-subdev.c792 struct v4l2_subdev_format *source_fmt, in v4l2_subdev_link_validate_default() argument
796 if (source_fmt->format.width != sink_fmt->format.width in v4l2_subdev_link_validate_default()
797 || source_fmt->format.height != sink_fmt->format.height in v4l2_subdev_link_validate_default()
798 || source_fmt->format.code != sink_fmt->format.code) in v4l2_subdev_link_validate_default()
805 if (source_fmt->format.field != sink_fmt->format.field && in v4l2_subdev_link_validate_default()
836 struct v4l2_subdev_format sink_fmt, source_fmt; in v4l2_subdev_link_validate() local
840 link->source, &source_fmt); in v4l2_subdev_link_validate()
852 &source_fmt, &sink_fmt); in v4l2_subdev_link_validate()
857 sink, link, &source_fmt, &sink_fmt); in v4l2_subdev_link_validate()
/Linux-v5.10/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()
/Linux-v5.10/drivers/staging/media/imx/
Dimx-ic-prp.c292 struct v4l2_subdev_format *source_fmt, in prp_link_validate() argument
301 source_fmt, sink_fmt); in prp_link_validate()
Dimx-media-vdic.c760 struct v4l2_subdev_format *source_fmt, in vdic_link_validate() argument
767 source_fmt, sink_fmt); in vdic_link_validate()
Dimx7-media-csi.c498 struct v4l2_subdev_format *source_fmt, in imx7_csi_pad_link_validate() argument
505 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()
/Linux-v5.10/include/media/
Dv4l2-subdev.h720 struct v4l2_subdev_format *source_fmt,
1079 struct v4l2_subdev_format *source_fmt,
/Linux-v5.10/drivers/media/pci/intel/ipu3/
Dipu3-cio2.c1327 struct v4l2_subdev_format source_fmt; in cio2_video_link_validate() local
1336 ret = cio2_subdev_link_validate_get_format(link->source, &source_fmt); in cio2_video_link_validate()
1340 if (source_fmt.format.width != q->format.width || in cio2_video_link_validate()
1341 source_fmt.format.height != q->format.height) { in cio2_video_link_validate()
1345 source_fmt.format.width, source_fmt.format.height); in cio2_video_link_validate()
1349 if (!cio2_find_format(&q->format.pixelformat, &source_fmt.format.code)) in cio2_video_link_validate()
/Linux-v5.10/drivers/media/platform/omap3isp/
Dispccdc.c2409 struct v4l2_subdev_format *source_fmt, in ccdc_link_validate() argument
2416 if (source_fmt->format.width != sink_fmt->format.width || in ccdc_link_validate()
2417 source_fmt->format.height != sink_fmt->format.height) in ccdc_link_validate()
2432 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()