summaryrefslogtreecommitdiff
path: root/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
diff options
context:
space:
mode:
authorSundar Raman <sunds@ti.com>2011-10-07 18:09:32 -0700
committerIliyan Malchev <malchev@google.com>2011-10-12 11:28:39 -0700
commit1c7383822ebd9f8e70d7eec6dd204bb691d29c47 (patch)
tree965e3ea9b7f52703b26ee932ed3d7f7499b6f7a7 /camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
parent8d546610cba3698c62af537d97e38a7368362f1a (diff)
downloadomap4xxx-omapzoom-1c7383822ebd9f8e70d7eec6dd204bb691d29c47.tar.gz
CameraHAL: Pass zoom values smoothly
Update the zoom values to the ducati only in the fillBufferDone callback if another zoom request is already in progress. However, overwrite the zoom value with the latest value requested by the application Fixes b/5251916 Change-Id: I419baadb2ddd094277f003ddf25f63dca5d078f8 Signed-off-by: Sundar Raman <sunds@ti.com>
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 da43b44d..0e776922 100644
--- a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
+++ b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
@@ -816,6 +816,7 @@ private:
//current zoom
Mutex mZoomLock;
unsigned int mCurrentZoomIdx, mTargetZoomIdx, mPreviousZoomIndx;
+ bool mZoomUpdating, mZoomUpdate;
int mZoomInc;
bool mReturnZoomStatus;
static const int32_t ZOOM_STEPS [];