hardware: samsung_slsi: libcamera2: Apply pending JPEG count to in_progress
Apply the count of pending JPEG output to the result of
get_in_progress_count.
BUG: 7276954
Change-Id: I89aa1311618423d089c9572c9a292d90eb5de92d
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
diff --git a/libcamera2/ExynosCameraHWInterface2.h b/libcamera2/ExynosCameraHWInterface2.h
index d51cd25..59a808c 100644
--- a/libcamera2/ExynosCameraHWInterface2.h
+++ b/libcamera2/ExynosCameraHWInterface2.h
@@ -660,6 +660,8 @@
int m_vdisDupFrame;
mutable Mutex m_qbufLock;
+ mutable Mutex m_jpegEncoderLock;
+ int m_jpegEncodingCount;
bool m_scpForceSuspended;
int m_afState;