diff options
author | Jeong-Seok Yang <jseok.yang@samsung.com> | 2010-11-11 18:38:39 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-11-11 18:38:39 -0800 |
commit | 19f3cb9d779fcffc568239be822ddd63e4bb38c9 (patch) | |
tree | c6230bcdff498e52d44f37583ea6686f3b2e98d7 /libcamera/SecCameraHWInterface.h | |
parent | 73eaa50344baf70283fac6958948fffebd93bd14 (diff) | |
parent | aa068fa0d6c6fc978cf3f78bb645f5e062201375 (diff) | |
download | device_samsung_crespo-19f3cb9d779fcffc568239be822ddd63e4bb38c9.zip device_samsung_crespo-19f3cb9d779fcffc568239be822ddd63e4bb38c9.tar.gz device_samsung_crespo-19f3cb9d779fcffc568239be822ddd63e4bb38c9.tar.bz2 |
am aa068fa0: am ae5be4a1: libcamera: Skip some frames on overlay for image quality.
* commit 'aa068fa0d6c6fc978cf3f78bb645f5e062201375':
libcamera: Skip some frames on overlay for image quality.
Diffstat (limited to 'libcamera/SecCameraHWInterface.h')
-rw-r--r-- | libcamera/SecCameraHWInterface.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libcamera/SecCameraHWInterface.h b/libcamera/SecCameraHWInterface.h index 24f7b56..c095645 100644 --- a/libcamera/SecCameraHWInterface.h +++ b/libcamera/SecCameraHWInterface.h @@ -162,7 +162,7 @@ private: int dwVideoHeight, void *pJPEG, int *pdwJPEGSize, void *pVideo, int *pdwVideoSize); - + void setSkipFrame(int frame); /* used by auto focus thread to block until it's told to run */ mutable Mutex mFocusLock; mutable Condition mCondition; @@ -187,6 +187,9 @@ private: int mPreviewFrameRateMicrosec; const __u8 *mCameraSensorName; + mutable Mutex mSkipFrameLock; + int mSkipFrame; + #if defined(BOARD_USES_OVERLAY) sp<Overlay> mOverlay; bool mUseOverlay; |