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

Message ID tencent_CC1B8032A87EDF9EF84634F0A59140813B0A@qq.com
State New
Headers show
Series
  • pipeline: isp: The software ISP module
Related show

Commit Message

Siyuan Fan Aug. 11, 2021, 6:12 a.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_;