[libcamera-devel] [PATCH 14/22] ipa: ipu3: Introduce a queue of IPAFrameContext
Jean-Michel Hautbois
jeanmichel.hautbois at ideasonboard.com
Mon Nov 8 14:13:42 CET 2021
In order to have multiple frame contexts, we will need a queue to store
those. Introduce it in IPAIPU3 but do not use it in this commit yet.
Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois at ideasonboard.com>
---
src/ipa/ipu3/ipu3.cpp | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/ipa/ipu3/ipu3.cpp b/src/ipa/ipu3/ipu3.cpp
index b4e0d49f..62df7819 100644
--- a/src/ipa/ipu3/ipu3.cpp
+++ b/src/ipa/ipu3/ipu3.cpp
@@ -11,6 +11,7 @@
#include <limits>
#include <map>
#include <memory>
+#include <queue>
#include <stdint.h>
#include <utility>
#include <vector>
@@ -180,7 +181,10 @@ private:
/* Maintain the algorithms used by the IPA */
std::list<std::unique_ptr<ipa::ipu3::Algorithm>> algorithms_;
- /* Local parameter storage */
+ /* Queue for storing the per-frame context */
+ std::queue<IPAFrameContext *> frameContextQueue;
+
+ /* Local context storage */
struct IPAContext context_;
};
--
2.32.0
More information about the libcamera-devel
mailing list