commit | 0c528d9b88ae4286492ba822d8d483445fbc27bb | [log] [tgz] |
---|---|---|
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | Sun Apr 08 20:42:16 2018 -0400 |
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | Wed Apr 11 22:44:31 2018 -0400 |
tree | da660d451fcb2ff407e647500eeb7cbf871d053e | |
parent | 12a58b744106da4d8a5cc736055e5eeebf4a1671 [diff] |
v4l2object: Only use BT2020_12 for BT2020 v4l2 colorspace 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.