summaryrefslogtreecommitdiffstats
path: root/libcamera/SecCameraHWInterface.h
diff options
context:
space:
mode:
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;