[media] vivid-tpg: support the DCI-P3 colorspace
[firefly-linux-kernel-4.4.55.git] / drivers / media / platform / vivid / vivid-tpg-colors.h
index 86b8bf3fe7456b8763ccda4f2b10a209da3e8dc2..ada0cd1e8c8a38e74d1828c069c5b926e08224b8 100644 (file)
@@ -61,8 +61,8 @@ enum tpg_color {
 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_BT2020 + 1]
-                                         [V4L2_XFER_FUNC_NONE + 1]
+extern const struct color16 tpg_csc_colors[V4L2_COLORSPACE_DCI_P3 + 1]
+                                         [V4L2_XFER_FUNC_DCI_P3 + 1]
                                          [TPG_COLOR_CSC_BLACK + 1];
 
 #endif