Skip to content
  • Nicolas Dufresne's avatar
    v4l2object: Only use BT2020_12 for BT2020 v4l2 colorspace · ebf8a6d0
    Nicolas Dufresne authored
    BT2020_12 is not represented in V4L2, so drivers providing full colority
    for BT2020 will set V4L2_XFER_FUNC_709 transfer function. To fix the
    issue, we bump this to BT2020_12 if the resoltion is 4K, but we should
    only do that if the colorspace is BT2020 to start with, otherwise it's
    not possible to use normal BT709 for 4K 8bit formats.
    ebf8a6d0