Lines Matching refs:source_fmt
331 struct v4l2_subdev_format source_fmt, sink_fmt; in vimc_link_validate() local
334 ret = vimc_get_mbus_format(link->source, &source_fmt); in vimc_link_validate()
347 source_fmt.format.width, source_fmt.format.height, in vimc_link_validate()
348 source_fmt.format.code, source_fmt.format.colorspace, in vimc_link_validate()
349 source_fmt.format.quantization, source_fmt.format.xfer_func, in vimc_link_validate()
350 source_fmt.format.ycbcr_enc, in vimc_link_validate()
359 if (source_fmt.format.width != sink_fmt.format.width in vimc_link_validate()
360 || source_fmt.format.height != sink_fmt.format.height in vimc_link_validate()
361 || source_fmt.format.code != sink_fmt.format.code) in vimc_link_validate()
369 if (source_fmt.format.field != sink_fmt.format.field && in vimc_link_validate()
377 if (source_fmt.format.colorspace == V4L2_COLORSPACE_DEFAULT in vimc_link_validate()
382 if (source_fmt.format.colorspace != sink_fmt.format.colorspace) in vimc_link_validate()
386 if (source_fmt.format.ycbcr_enc != V4L2_YCBCR_ENC_DEFAULT in vimc_link_validate()
388 && source_fmt.format.ycbcr_enc != sink_fmt.format.ycbcr_enc) in vimc_link_validate()
391 if (source_fmt.format.quantization != V4L2_QUANTIZATION_DEFAULT in vimc_link_validate()
393 && source_fmt.format.quantization != sink_fmt.format.quantization) in vimc_link_validate()
396 if (source_fmt.format.xfer_func != V4L2_XFER_FUNC_DEFAULT in vimc_link_validate()
398 && source_fmt.format.xfer_func != sink_fmt.format.xfer_func) in vimc_link_validate()