Lines Matching refs:tryfmt
1833 static void imx7_csi_try_colorimetry(struct v4l2_mbus_framefmt *tryfmt) in imx7_csi_try_colorimetry() argument
1838 cc = imx7_csi_find_mbus_format(tryfmt->code); in imx7_csi_try_colorimetry()
1842 switch (tryfmt->colorspace) { in imx7_csi_try_colorimetry()
1853 tryfmt->colorspace = V4L2_COLORSPACE_SRGB; in imx7_csi_try_colorimetry()
1857 if (tryfmt->xfer_func == V4L2_XFER_FUNC_DEFAULT) in imx7_csi_try_colorimetry()
1858 tryfmt->xfer_func = in imx7_csi_try_colorimetry()
1859 V4L2_MAP_XFER_FUNC_DEFAULT(tryfmt->colorspace); in imx7_csi_try_colorimetry()
1861 if (tryfmt->ycbcr_enc == V4L2_YCBCR_ENC_DEFAULT) in imx7_csi_try_colorimetry()
1862 tryfmt->ycbcr_enc = in imx7_csi_try_colorimetry()
1863 V4L2_MAP_YCBCR_ENC_DEFAULT(tryfmt->colorspace); in imx7_csi_try_colorimetry()
1865 if (tryfmt->quantization == V4L2_QUANTIZATION_DEFAULT) in imx7_csi_try_colorimetry()
1866 tryfmt->quantization = in imx7_csi_try_colorimetry()
1868 tryfmt->colorspace, in imx7_csi_try_colorimetry()
1869 tryfmt->ycbcr_enc); in imx7_csi_try_colorimetry()