Lines Matching refs:source_fmt
288 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()
334 if (source_fmt.format.colorspace == V4L2_COLORSPACE_DEFAULT in vimc_link_validate()
339 if (source_fmt.format.colorspace != sink_fmt.format.colorspace) in vimc_link_validate()
343 if (source_fmt.format.ycbcr_enc != V4L2_YCBCR_ENC_DEFAULT in vimc_link_validate()
345 && source_fmt.format.ycbcr_enc != sink_fmt.format.ycbcr_enc) in vimc_link_validate()
348 if (source_fmt.format.quantization != V4L2_QUANTIZATION_DEFAULT in vimc_link_validate()
350 && source_fmt.format.quantization != sink_fmt.format.quantization) in vimc_link_validate()
353 if (source_fmt.format.xfer_func != V4L2_XFER_FUNC_DEFAULT in vimc_link_validate()
355 && source_fmt.format.xfer_func != sink_fmt.format.xfer_func) in vimc_link_validate()