aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSultanxda <sultanxda@gmail.com>2017-06-15 15:26:48 -0700
committerdev-harsh1998 <harshitjain6751@gmail.com>2017-10-18 12:55:19 +0530
commita1c3e919a51944b6823c94abd0ecffc84302ab4d (patch)
tree2b42dfb87834ad831e815cdfe8c660e200d843c4
parentf6702e64e5dcbda91a68e0b52936ff698c7405ef (diff)
QCamera2: Never use offline post processing
Offline post processing caused graphical artifacts to appear a while ago, and it causes artifacts to appear 100% of the time when this camera HAL is used on bacon, so disable it to be safe. Change-Id: Ie3bd49f9475ab2270a816ffd33629b78720ab045
-rwxr-xr-xcamera/QCamera2/HAL/QCamera2HWI.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/camera/QCamera2/HAL/QCamera2HWI.cpp b/camera/QCamera2/HAL/QCamera2HWI.cpp
index 68b4bf2..9d2ee32 100755
--- a/camera/QCamera2/HAL/QCamera2HWI.cpp
+++ b/camera/QCamera2/HAL/QCamera2HWI.cpp
@@ -7247,12 +7247,14 @@ bool QCamera2HardwareInterface::isRegularCapture()
{
bool ret = false;
+#if 0
if (numOfSnapshotsExpected() == 1 &&
!isLongshotEnabled() &&
!mParameters.getRecordingHintValue() &&
!isZSLMode() && !(mParameters.isHDREnabled())) {
ret = true;
}
+#endif
return ret;
}