From 0527ba92adb7d97941ec4b8cd861178634f632b6 Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Mon, 8 Apr 2019 18:42:59 +0200 Subject: libcamera: request: Expose the Stream to Buffers map MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add to the Request class a method to access the map of Stream to Buffer. With the introduction of multiple stream support, pipeline handler should be able to access the map of streams at request queueing time. Reviewed-by: Niklas Söderlund Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- include/libcamera/request.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libcamera/request.h b/include/libcamera/request.h index 0188bcab..58de6f00 100644 --- a/include/libcamera/request.h +++ b/include/libcamera/request.h @@ -32,6 +32,7 @@ public: Request(const Request &) = delete; Request &operator=(const Request &) = delete; + const std::map &buffers() const { return bufferMap_; } int setBuffers(const std::map &streamMap); Buffer *findBuffer(Stream *stream) const; -- cgit v1.2.1