summaryrefslogtreecommitdiffstats
path: root/camera/inc/OMXCameraAdapter
diff options
context:
space:
mode:
authorSundar Raman <sunds@ti.com>2011-09-11 18:30:48 -0700
committerIliyan Malchev <malchev@google.com>2011-09-12 11:44:04 -0700
commitba027fc89ec3950e1ac2f95fcc3f1002442ddabb (patch)
tree62b8712c7a1a15c3892f0c8b6d34ea998ad370f0 /camera/inc/OMXCameraAdapter
parentedd46f9fca8856c26bb367ba2d7a29a7002ed9af (diff)
downloadhardware_ti_omap4xxx-ba027fc89ec3950e1ac2f95fcc3f1002442ddabb.zip
hardware_ti_omap4xxx-ba027fc89ec3950e1ac2f95fcc3f1002442ddabb.tar.gz
hardware_ti_omap4xxx-ba027fc89ec3950e1ac2f95fcc3f1002442ddabb.tar.bz2
CameraHAL CTS: Fix for #testAutoExposureLock, #testAutoWhiteBalanceLock
Locks were not retained if the user forces the lock to true before calling autoFocus. This patch addresses this scenario. Change-Id: I2b5161806f8123b3042d46bc856773f0d4701458 Signed-off-by: Sundar Raman <sunds@ti.com>
Diffstat (limited to 'camera/inc/OMXCameraAdapter')
-rw-r--r--camera/inc/OMXCameraAdapter/OMXCameraAdapter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
index f6fc69a..a29095d 100644
--- a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
+++ b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
@@ -478,7 +478,7 @@ private:
status_t setExposureLock(Gen3A_settings& Gen3A);
status_t setWhiteBalanceLock(Gen3A_settings& Gen3A);
- status_t set3ALock(OMX_BOOL toggle);
+ status_t set3ALock(OMX_BOOL toggleExp, OMX_BOOL toggleWb);
status_t setMeteringAreas(Gen3A_settings& Gen3A);
//API to set FrameRate using VFR interface
@@ -858,6 +858,9 @@ private:
Semaphore mCaptureSem;
bool mCaptureSignalled;
+ OMX_BOOL mUserSetExpLock;
+ OMX_BOOL mUserSetWbLock;
+
};
}; //// namespace
#endif //OMX_CAMERA_ADAPTER_H