[PATCH 02/27] libcamera: MappedFrameBuffer: Add accessor for MappedFrameBuffer plane maps

Bryan O'Donoghue bryan.odonoghue at linaro.org
Tue Apr 22 23:58:55 CEST 2025


Signed-off-by: Bryan O'Donoghue <bryan.odonoghue at linaro.org>
---
 include/libcamera/internal/mapped_framebuffer.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/libcamera/internal/mapped_framebuffer.h b/include/libcamera/internal/mapped_framebuffer.h
index cb81243e..68b30740 100644
--- a/include/libcamera/internal/mapped_framebuffer.h
+++ b/include/libcamera/internal/mapped_framebuffer.h
@@ -31,6 +31,7 @@ public:
 	bool isValid() const { return error_ == 0; }
 	int error() const { return error_; }
 	const std::vector<Plane> &planes() const { return planes_; }
+	const std::vector<Plane> &maps() const { return maps_; }
 	const std::vector<int> &fds() const { return fds_; }
 
 protected:
-- 
2.49.0



More information about the libcamera-devel mailing list