Lines Matching refs:source_fmt
277 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()
323 if (source_fmt.colorspace == V4L2_COLORSPACE_DEFAULT || in vimc_vdev_link_validate()
328 if (source_fmt.colorspace != sink_fmt.colorspace) in vimc_vdev_link_validate()
332 if (source_fmt.ycbcr_enc != V4L2_YCBCR_ENC_DEFAULT && in vimc_vdev_link_validate()
334 source_fmt.ycbcr_enc != sink_fmt.ycbcr_enc) in vimc_vdev_link_validate()
337 if (source_fmt.quantization != V4L2_QUANTIZATION_DEFAULT && in vimc_vdev_link_validate()
339 source_fmt.quantization != sink_fmt.quantization) in vimc_vdev_link_validate()
342 if (source_fmt.xfer_func != V4L2_XFER_FUNC_DEFAULT && in vimc_vdev_link_validate()
344 source_fmt.xfer_func != sink_fmt.xfer_func) in vimc_vdev_link_validate()