[libcamera-devel,RFC,v2,3/4] libcamera: framebuffer: Add the friend class CPU_ISP
diff mbox series

Message ID tencent_5C408D54796E0B7D2B1A0CD2EAA07C9D4709@qq.com
State New
Headers show
Series
  • [libcamera-devel,RFC,v2,1/4] pipeline: isp: The software ISP-based pipeline handler
Related show

Commit Message

Siyuan Fan Aug. 10, 2021, 12:17 p.m. UTC
From: Fan Siyuan <siyuan.fan@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@foxmail.com>
---
 include/libcamera/framebuffer.h | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

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_;