aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Yzusqui <myzb.dev@gmail.com>2016-02-25 23:43:39 +0100
committerdoc HD <doc.divxm@gmail.com>2016-02-28 08:21:29 +0200
commitb06d50e8a2f397e5313b3fb29f85e9182195f0a5 (patch)
tree2c54ae972d4e4da6bdbaacbf051acc6c5734dad7
parent52a82632c6de7858f7fad0d0817b9f8d77186fcc (diff)
thea: camera: disable zsl
To achieve 'zero-shutter-lag' the camera driver has to keep a full ress copy of the current preview in a buffer. When pictures are taken in dark environments and flash is required. For normal capt- ures, it's common to use a double flash to calibrate the sensor on the first and capture on the second. After the recent snap changes, captures that trigger flash are lacking the second flash when zsl is enabled. This leads to the pictures being very dark. It may be entirely possible that our sensor is to slow to cali- brate and shot within 1 flash period or that zsl was never meant to be used with flash. Disable zsl entirely while we find out a proper fix. Change-Id: Ia57102fa332e2f6bdb3e3a8afcf538116248b628
-rw-r--r--overlay/packages/apps/Snap/res/values/qcomarrays.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/overlay/packages/apps/Snap/res/values/qcomarrays.xml b/overlay/packages/apps/Snap/res/values/qcomarrays.xml
index c33808d..15cc2a8 100644
--- a/overlay/packages/apps/Snap/res/values/qcomarrays.xml
+++ b/overlay/packages/apps/Snap/res/values/qcomarrays.xml
@@ -36,4 +36,7 @@
<item>hfr120</item>
</string-array>
+ <!-- Zero shutter lag-->
+ <string name="pref_camera_zsl_default" translatable="false">off</string>
+
</resources>