[libcamera-devel] [RFC PATCH v2 3/4] libcamera: framebuffer: Add the friend class CPU_ISP
Siyuan Fan
siyuan.fan at foxmail.com
Tue Aug 10 14:17:41 CEST 2021
From: Fan Siyuan <siyuan.fan at foxmail.com>
In order to fill in dstBuffer->metadata(), we need to add the friend class CPU_ISP.
Signed-off-by: Fan Siyuan <siyuan.fan at foxmail.com>
---
include/libcamera/framebuffer.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/libcamera/framebuffer.h b/include/libcamera/framebuffer.h
index 28307890..9cc1b760 100644
--- a/include/libcamera/framebuffer.h
+++ b/include/libcamera/framebuffer.h
@@ -61,6 +61,7 @@ private:
LIBCAMERA_DISABLE_COPY_AND_MOVE(FrameBuffer)
friend class V4L2VideoDevice; /* Needed to update metadata_. */
+ friend class CPU_ISP;
std::vector<Plane> planes_;
--
2.20.1
More information about the libcamera-devel
mailing list