Create API for reporting color space support to Camera2 framework consumers.
Test: Ran CtsCameraTestCases
Test: Ran new VTS test for color space reporting
Test: Created app to test display P3 camera, switching between color spaces
Bug: 238359088
Change-Id: I5c74ea438970cbe55f93b925a6744f4343bc545a
diff --git a/proto/src/camera.proto b/proto/src/camera.proto
index 38d74e4..205e806 100644
--- a/proto/src/camera.proto
+++ b/proto/src/camera.proto
@@ -67,4 +67,6 @@
optional int64 dynamic_range_profile = 14;
// The stream use case
optional int64 stream_use_case = 15;
+ // The color space of the stream
+ optional int32 color_space = 16;
}