summaryrefslogtreecommitdiff
path: root/src/android/camera_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/camera_request.h')
-rw-r--r--src/android/camera_request.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/android/camera_request.h b/src/android/camera_request.h
index ebe2e89d..cfafa445 100644
--- a/src/android/camera_request.h
+++ b/src/android/camera_request.h
@@ -7,7 +7,9 @@
#ifndef __ANDROID_CAMERA_REQUEST_H__
#define __ANDROID_CAMERA_REQUEST_H__
+#include <map>
#include <memory>
+#include <mutex>
#include <vector>
#include <libcamera/base/class.h>
@@ -43,6 +45,10 @@ public:
Camera3RequestDescriptor *request;
};
+ /* Keeps track of streams requiring post-processing. */
+ std::map<CameraStream *, StreamBuffer *> pendingStreamsToProcess_;
+ std::mutex streamsProcessMutex_;
+
Camera3RequestDescriptor(libcamera::Camera *camera,
const camera3_capture_request_t *camera3Request);
~Camera3RequestDescriptor();