[media] vivid-tpg: add support for SMPTE 2084 transfer function
[firefly-linux-kernel-4.4.55.git] / drivers / media / platform / vivid / vivid-tpg-colors.h
index ada0cd1e8c8a38e74d1828c069c5b926e08224b8..4e5a76a1e25b3136afe78f36dab1b5a98b4b1692 100644 (file)
@@ -62,7 +62,7 @@ extern const struct color tpg_colors[TPG_COLOR_MAX];
 extern const unsigned short tpg_rec709_to_linear[255 * 16 + 1];
 extern const unsigned short tpg_linear_to_rec709[255 * 16 + 1];
 extern const struct color16 tpg_csc_colors[V4L2_COLORSPACE_DCI_P3 + 1]
-                                         [V4L2_XFER_FUNC_DCI_P3 + 1]
+                                         [V4L2_XFER_FUNC_SMPTE2084 + 1]
                                          [TPG_COLOR_CSC_BLACK + 1];
 
 #endif