summaryrefslogtreecommitdiffstats
path: root/camera/inc/OMXCameraAdapter
diff options
context:
space:
mode:
authorMilen Mitkov <mmitkov@mm-sol.com>2011-10-26 15:47:04 +0300
committerJames Dong <jdong@google.com>2011-10-31 17:27:53 -0700
commite0acacf95c94d3c2d08547a5f48a990d20c76551 (patch)
tree90cfcb225c62f4541e2e47e3d436ad508a923254 /camera/inc/OMXCameraAdapter
parentfbe42410f9ff718db8d0e4bdf7e6495449682799 (diff)
downloadhardware_ti_omap4-e0acacf95c94d3c2d08547a5f48a990d20c76551.zip
hardware_ti_omap4-e0acacf95c94d3c2d08547a5f48a990d20c76551.tar.gz
hardware_ti_omap4-e0acacf95c94d3c2d08547a5f48a990d20c76551.tar.bz2
CameraHAL: Use Ancillary data to check for snapshot
Uses the ancilary data field nDCCStatus to check if the preview frame is a snapshot. Fixes a rare issue in which a normal (non-snapshot) preview frame is received after capture has started. Change-Id: I242c17ee3dd1365eb24c6c15585bb125f6938dee Signed-off-by: Milen Mitkov <mmitkov@mm-sol.com> related-to-bug: 5472396
Diffstat (limited to 'camera/inc/OMXCameraAdapter')
-rw-r--r--camera/inc/OMXCameraAdapter/OMXCameraAdapter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
index 2f17ba8..7358f22 100644
--- a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
+++ b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
@@ -640,6 +640,8 @@ private:
status_t setAutoConvergence(OMX_TI_AUTOCONVERGENCEMODETYPE pACMode, OMX_S32 pManualConverence);
status_t getAutoConvergence(OMX_TI_AUTOCONVERGENCEMODETYPE *pACMode, OMX_S32 *pManualConverence);
+ OMX_OTHER_EXTRADATATYPE *getExtradata(OMX_OTHER_EXTRADATATYPE *extraData, OMX_EXTRADATATYPE type);
+
class CommandHandler : public Thread {
public:
CommandHandler(OMXCameraAdapter* ca)