summaryrefslogtreecommitdiffstats
path: root/libcamera/SecCameraHWInterface.h
diff options
context:
space:
mode:
authorJeong-Seok Yang <jseok.yang@samsung.com>2010-11-11 18:38:39 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2010-11-11 18:38:39 -0800
commit19f3cb9d779fcffc568239be822ddd63e4bb38c9 (patch)
treec6230bcdff498e52d44f37583ea6686f3b2e98d7 /libcamera/SecCameraHWInterface.h
parent73eaa50344baf70283fac6958948fffebd93bd14 (diff)
parentaa068fa0d6c6fc978cf3f78bb645f5e062201375 (diff)
downloaddevice_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.h5
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;