summaryrefslogtreecommitdiffstats
path: root/jni
diff options
context:
space:
mode:
authorEmilian Peev <epeevs@codeaurora.org>2016-01-07 20:12:55 +0100
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2016-01-07 11:39:36 -0800
commit735ba518afd8b8e7d2f76dcc9e5ec6415c708472 (patch)
treec1ec6fce064935b5f69385cb386f465b50487f55 /jni
parent986790ef16c3b20246d2fe745b50c291af7659d3 (diff)
downloadandroid_packages_apps_Snap-735ba518afd8b8e7d2f76dcc9e5ec6415c708472.tar.gz
android_packages_apps_Snap-735ba518afd8b8e7d2f76dcc9e5ec6415c708472.tar.bz2
android_packages_apps_Snap-735ba518afd8b8e7d2f76dcc9e5ec6415c708472.zip
SnapdragonCamera: Make direct shutter callbacks configurable
Calling shutter callbacks directly decreases the delay with which 'takePicture' calls are triggered during continuous burst capture. As such more time is spent processing and starting next snapshots resulting in a less responsive UI thread. The preview doesn't actually hang or stop but only the UI is not be able to update it as frequently as before. In order to avoid this but also have the burst perfomance enhancement as well a configurable Android property is added: "persist.camera.direct.cb -> 0/1" which when disabled will post shutter event callbacks like before on the UI thread and when when enabled will trigger them directly. Change-Id: Id6fd747eeb19026791faa1ce9db20302767a7695 CRs-Fixed: 794460
Diffstat (limited to 'jni')
0 files changed, 0 insertions, 0 deletions