Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_video.c586 struct v4l2_subdev_format source_fmt; in sun6i_video_link_validate() local
597 ret = sun6i_video_link_validate_get_format(link->source, &source_fmt); in sun6i_video_link_validate()
603 source_fmt.format.code)) { in sun6i_video_link_validate()
607 source_fmt.format.code); in sun6i_video_link_validate()
611 if (source_fmt.format.width != video->format.fmt.pix.width || in sun6i_video_link_validate()
612 source_fmt.format.height != video->format.fmt.pix.height) { in sun6i_video_link_validate()
616 source_fmt.format.width, source_fmt.format.height); in sun6i_video_link_validate()
620 video->mbus_code = source_fmt.format.code; in sun6i_video_link_validate()
/Linux-v6.1/drivers/media/v4l2-core/
Dv4l2-subdev.c857 struct v4l2_subdev_format *source_fmt, in v4l2_subdev_link_validate_default() argument
863 if (source_fmt->format.width != sink_fmt->format.width) { in v4l2_subdev_link_validate_default()
867 source_fmt->format.width, sink_fmt->format.width); in v4l2_subdev_link_validate_default()
871 if (source_fmt->format.height != sink_fmt->format.height) { in v4l2_subdev_link_validate_default()
875 source_fmt->format.height, sink_fmt->format.height); in v4l2_subdev_link_validate_default()
879 if (source_fmt->format.code != sink_fmt->format.code) { in v4l2_subdev_link_validate_default()
883 source_fmt->format.code, sink_fmt->format.code); in v4l2_subdev_link_validate_default()
891 if (source_fmt->format.field != sink_fmt->format.field && in v4l2_subdev_link_validate_default()
896 source_fmt->format.field, sink_fmt->format.field); in v4l2_subdev_link_validate_default()
935 struct v4l2_subdev_format sink_fmt, source_fmt; in v4l2_subdev_link_validate() local
[all …]
/Linux-v6.1/drivers/staging/media/omap4iss/
Diss_ipipe.c365 struct v4l2_subdev_format *source_fmt, in ipipe_link_validate() argument
369 if (source_fmt->format.width != sink_fmt->format.width || in ipipe_link_validate()
370 source_fmt->format.height != sink_fmt->format.height) in ipipe_link_validate()
373 if (source_fmt->format.code != sink_fmt->format.code) in ipipe_link_validate()
Diss_ipipeif.c584 struct v4l2_subdev_format *source_fmt, in ipipeif_link_validate() argument
588 if (source_fmt->format.width != sink_fmt->format.width || in ipipeif_link_validate()
589 source_fmt->format.height != sink_fmt->format.height) in ipipeif_link_validate()
592 if (source_fmt->format.code != sink_fmt->format.code) in ipipeif_link_validate()
Diss_resizer.c636 struct v4l2_subdev_format *source_fmt, in resizer_link_validate() argument
640 if (source_fmt->format.width != sink_fmt->format.width || in resizer_link_validate()
641 source_fmt->format.height != sink_fmt->format.height) in resizer_link_validate()
644 if (source_fmt->format.code != sink_fmt->format.code) in resizer_link_validate()
Diss_csi2.c1021 struct v4l2_subdev_format *source_fmt, in csi2_link_validate() argument
1033 return v4l2_subdev_link_validate_default(sd, link, source_fmt, in csi2_link_validate()
/Linux-v6.1/drivers/staging/media/imx/
Dimx-ic-prp.c293 struct v4l2_subdev_format *source_fmt, in prp_link_validate() argument
302 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()
Dimx-media-csi.c1117 struct v4l2_subdev_format *source_fmt, in csi_link_validate() argument
1126 source_fmt, sink_fmt); in csi_link_validate()
Dimx7-media-csi.c1933 struct v4l2_subdev_format *source_fmt, in imx7_csi_pad_link_validate() argument
1948 ret = v4l2_subdev_link_validate_default(sd, link, source_fmt, sink_fmt); in imx7_csi_pad_link_validate()
/Linux-v6.1/drivers/media/pci/intel/ipu3/
Dipu3-cio2-main.c1323 struct v4l2_subdev_format source_fmt; in cio2_video_link_validate() local
1331 ret = cio2_subdev_link_validate_get_format(link->source, &source_fmt); in cio2_video_link_validate()
1335 if (source_fmt.format.width != q->format.width || in cio2_video_link_validate()
1336 source_fmt.format.height != q->format.height) { in cio2_video_link_validate()
1339 source_fmt.format.width, source_fmt.format.height); in cio2_video_link_validate()
1343 if (!cio2_find_format(&q->format.pixelformat, &source_fmt.format.code)) in cio2_video_link_validate()
/Linux-v6.1/include/media/
Dv4l2-subdev.h799 struct v4l2_subdev_format *source_fmt,
1195 struct v4l2_subdev_format *source_fmt,
/Linux-v6.1/drivers/media/platform/ti/omap3isp/
Dispccdc.c2423 struct v4l2_subdev_format *source_fmt, in ccdc_link_validate() argument
2430 if (source_fmt->format.width != sink_fmt->format.width || in ccdc_link_validate()
2431 source_fmt->format.height != sink_fmt->format.height) in ccdc_link_validate()
2446 if (!ccdc_is_shiftable(source_fmt->format.code, in ccdc_link_validate()
Dispresizer.c1549 struct v4l2_subdev_format *source_fmt, in resizer_link_validate() argument
1558 source_fmt, sink_fmt); in resizer_link_validate()