Camera: Add color space in CameraStreamProto

Test: Ran statsd_testdrive, verified color space info was correct.
Bug: 238359088
Change-Id: I6ef171f89423c24e672edb568c715a6c9f0bd3d8
This commit is contained in:
Austin Borger
2022-11-01 14:35:20 -07:00
parent 59eec43b74
commit 15e49d02ce

View File

@@ -841,6 +841,7 @@ public class CameraServiceProxy extends SystemService
streamProtos[i].histogramCounts = streamStats.getHistogramCounts();
streamProtos[i].dynamicRangeProfile = streamStats.getDynamicRangeProfile();
streamProtos[i].streamUseCase = streamStats.getStreamUseCase();
streamProtos[i].colorSpace = streamStats.getColorSpace();
if (CameraServiceProxy.DEBUG) {
String histogramTypeName =
@@ -863,7 +864,8 @@ public class CameraServiceProxy extends SystemService
+ ", histogramCounts "
+ Arrays.toString(streamProtos[i].histogramCounts)
+ ", dynamicRangeProfile " + streamProtos[i].dynamicRangeProfile
+ ", streamUseCase " + streamProtos[i].streamUseCase);
+ ", streamUseCase " + streamProtos[i].streamUseCase
+ ", colorSpace " + streamProtos[i].colorSpace);
}
}
}