Camera2: Adjust sensor dimensions for correct FOV.
Bug: 8484377
Change-Id: I22ddd62edddc2c9ba10cac35af083df14f0e8f9a
diff --git a/libcamera2/ExynosCamera2.cpp b/libcamera2/ExynosCamera2.cpp
index 960a5e2..b26fee4 100644
--- a/libcamera2/ExynosCamera2.cpp
+++ b/libcamera2/ExynosCamera2.cpp
@@ -440,7 +440,8 @@
ADD_OR_SIZE(ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT,
&Sensor::kColorFilterArrangement, 1);
- static const float sensorPhysicalSize[2] = {3.20f, 2.40f}; // mm
+ // Empirically derived to get correct FOV measurements
+ static const float sensorPhysicalSize[2] = {3.50f, 2.625f}; // mm
ADD_OR_SIZE(ANDROID_SENSOR_INFO_PHYSICAL_SIZE,
sensorPhysicalSize, 2);