summaryrefslogtreecommitdiffstats
path: root/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
diff options
context:
space:
mode:
authorAkwasi Boateng <akwasi.boateng@ti.com>2011-11-01 10:43:52 -0500
committerIliyan Malchev <malchev@google.com>2011-12-01 10:40:03 -0800
commita5dbcd9b9845a98b85007229f93c167262d8590a (patch)
tree57089f4d1aaaaa3405e01beed0d994ee548cc701 /camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
parentde40e0063648ad3ce8624e7d63639ecf0b8f80b2 (diff)
downloadhardware_ti_omap4-a5dbcd9b9845a98b85007229f93c167262d8590a.zip
hardware_ti_omap4-a5dbcd9b9845a98b85007229f93c167262d8590a.tar.gz
hardware_ti_omap4-a5dbcd9b9845a98b85007229f93c167262d8590a.tar.bz2
CameraHAL: Handling OMX initialization
Additional mOmxInitialized flag has been added to track whether OMX has been succesfully initialized to prevent duplicate OMX_DeInit() in OMXCameraAdapter destructor. Signed-off-by: Daniel Levin <x0155538@ti.com> Signed-off-by: Akwasi Boateng <akwasi.boateng@ti.com> Signed-off-by: Iliyan Malchev <malchev@google.com> Change-Id: I269c5ac9d5de3f3e9088a11a3bea7127c1bd79de
Diffstat (limited to 'camera/inc/OMXCameraAdapter/OMXCameraAdapter.h')
-rw-r--r--camera/inc/OMXCameraAdapter/OMXCameraAdapter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
index 981e22d..4786f82 100644
--- a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
+++ b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
@@ -887,6 +887,7 @@ private:
int mBracketingRange;
CameraParameters mParameters;
+ bool mOmxInitialized;
OMXCameraAdapterComponentContext mCameraAdapterParameters;
bool mFirstTimeInit;