Lines Matching refs:tryfmt
1812 static void imx7_csi_try_colorimetry(struct v4l2_mbus_framefmt *tryfmt) in imx7_csi_try_colorimetry() argument
1817 cc = imx7_csi_find_mbus_format(tryfmt->code); in imx7_csi_try_colorimetry()
1821 switch (tryfmt->colorspace) { in imx7_csi_try_colorimetry()
1832 tryfmt->colorspace = V4L2_COLORSPACE_SRGB; in imx7_csi_try_colorimetry()
1836 if (tryfmt->xfer_func == V4L2_XFER_FUNC_DEFAULT) in imx7_csi_try_colorimetry()
1837 tryfmt->xfer_func = in imx7_csi_try_colorimetry()
1838 V4L2_MAP_XFER_FUNC_DEFAULT(tryfmt->colorspace); in imx7_csi_try_colorimetry()
1840 if (tryfmt->ycbcr_enc == V4L2_YCBCR_ENC_DEFAULT) in imx7_csi_try_colorimetry()
1841 tryfmt->ycbcr_enc = in imx7_csi_try_colorimetry()
1842 V4L2_MAP_YCBCR_ENC_DEFAULT(tryfmt->colorspace); in imx7_csi_try_colorimetry()
1844 if (tryfmt->quantization == V4L2_QUANTIZATION_DEFAULT) in imx7_csi_try_colorimetry()
1845 tryfmt->quantization = in imx7_csi_try_colorimetry()
1847 tryfmt->colorspace, in imx7_csi_try_colorimetry()
1848 tryfmt->ycbcr_enc); in imx7_csi_try_colorimetry()