hardware: samsung_slsi: libcamera2: Modify to support video stabilization(VDIS)
This patch modify to support video stabilizaion(VDIS).
Change-Id: Ie155f5e3e310aa12b77b75fe0b8789ac45932404
Signed-off-by: hyeonmyeong Choi <hyeon.choi@samsung.com>
diff --git a/libcamera2/ExynosCameraHWInterface2.h b/libcamera2/ExynosCameraHWInterface2.h
index ba86142..d5b0570 100644
--- a/libcamera2/ExynosCameraHWInterface2.h
+++ b/libcamera2/ExynosCameraHWInterface2.h
@@ -288,6 +288,9 @@
nsecs_t GetTimestampByFrameCnt(int frameCnt);
nsecs_t GetTimestamp(int index);
int FindFrameCnt(struct camera2_shot_ext * shot_ext);
+#ifdef VDIS_ENABLE
+ bool IsVdisEnable(void);
+#endif
int FindEntryIndexByFrameCnt(int frameCnt);
void Dump(void);
int GetNextIndex(int index);
@@ -323,6 +326,9 @@
int m_lastAaMode;
int m_lastAwbMode;
int m_lastAeComp;
+#ifdef VDIS_ENABLE
+ bool m_vdisBubbleEn;
+#endif
nsecs_t m_lastTimeStamp;
List<int> m_sensorQ;
};
@@ -649,6 +655,11 @@
uint32_t lastAfRegion[4];
float m_zoomRatio;
+#ifdef VDIS_ENABLE
+ int m_vdisBubbleCnt;
+ int m_vdisDupFrame;
+#endif
+
mutable Mutex m_qbufLock;
int m_afState;