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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user