diff options
author | Sundar Raman <sunds@ti.com> | 2011-10-07 18:09:32 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-10-12 11:28:39 -0700 |
commit | 5aaea509adda30aa70ce19dc91a9dd1f1e45cd61 (patch) | |
tree | a44069d01e36f08b8a157d7db48ee148108c4676 /camera/inc/OMXCameraAdapter | |
parent | da7108ecd74a6f5355e9ed921f83dd1460087b51 (diff) | |
download | hardware_ti_omap4-5aaea509adda30aa70ce19dc91a9dd1f1e45cd61.zip hardware_ti_omap4-5aaea509adda30aa70ce19dc91a9dd1f1e45cd61.tar.gz hardware_ti_omap4-5aaea509adda30aa70ce19dc91a9dd1f1e45cd61.tar.bz2 |
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')
-rw-r--r-- | camera/inc/OMXCameraAdapter/OMXCameraAdapter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h index da43b44..0e77692 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 []; |