hardware: samsung_slsi: libcamera2: Change timing of stream notification
Changes stream output notification after enqueue_buffer()
to camera service.
Added synchronization to output stream parameters.
Change-Id: Iaae415c4c7ef043a75f0933cd209e9b5ab5fe295
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
diff --git a/libcamera2/ExynosCameraHWInterface2.h b/libcamera2/ExynosCameraHWInterface2.h
index ca25297..40c724e 100644
--- a/libcamera2/ExynosCameraHWInterface2.h
+++ b/libcamera2/ExynosCameraHWInterface2.h
@@ -286,6 +286,8 @@
void RegisterTimestamp(int frameCnt, nsecs_t *frameTime);
nsecs_t GetTimestampByFrameCnt(int frameCnt);
nsecs_t GetTimestamp(int index);
+ uint8_t GetOutputStreamByFrameCnt(int frameCnt);
+ uint8_t GetOutputStream(int index);
int FindFrameCnt(struct camera2_shot_ext * shot_ext);
#ifdef VDIS_ENABLE
bool IsVdisEnable(void);
@@ -631,7 +633,9 @@
bool m_scp_flushing;
bool m_closing;
ExynosBuffer m_resizeBuf;
+#ifndef ENABLE_FRAME_SYNC
int m_currentOutputStreams;
+#endif
int m_currentReprocessOutStreams;
ExynosBuffer m_previewCbBuf;
int m_cameraId;