{"id":13297,"url":"https://patchwork.libcamera.org/api/patches/13297/?format=json","web_url":"https://patchwork.libcamera.org/patch/13297/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<tencent_CC1B8032A87EDF9EF84634F0A59140813B0A@qq.com>","date":"2021-08-11T06:12:57","name":"[libcamera-devel,RFC,v2,3/4] libcamera: framebuffer: Add the friend class CPU_ISP","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"f4d853137924a3a78e874f274f27a2ef735b9564","submitter":{"id":88,"url":"https://patchwork.libcamera.org/api/people/88/?format=json","name":"Siyuan Fan","email":"siyuan.fan@foxmail.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/13297/mbox/","series":[{"id":2336,"url":"https://patchwork.libcamera.org/api/series/2336/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2336","date":"2021-08-11T06:12:54","name":"pipeline: isp: The software ISP module","version":2,"mbox":"https://patchwork.libcamera.org/series/2336/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/13297/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/13297/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 7EE7DC3241\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 11 Aug 2021 06:13:53 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 2ECAA6884E;\n\tWed, 11 Aug 2021 08:13:53 +0200 (CEST)","from out162-62-57-252.mail.qq.com (out162-62-57-252.mail.qq.com\n\t[162.62.57.252])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 9282C60261\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 11 Aug 2021 08:13:50 +0200 (CEST)","from localhost.localdomain ([123.126.82.8])\n\tby newxmesmtplogicsvrszc9.qq.com (NewEsmtp) with SMTP\n\tid 3569928F; Wed, 11 Aug 2021 14:13:22 +0800"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=foxmail.com header.i=@foxmail.com\n\theader.b=\"M8p9BPMq\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com;\n\ts=s201512; t=1628662427;\n\tbh=EIqLODHjrEbAGuJ2JGkHGKc4vTVmI0zsqYyym2mcLZc=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References;\n\tb=M8p9BPMq7lT6o6qF5qqRttnreHy0BKCWD6FXB5Ru+h/1MretUjo/gjrIqhTFI0X0N\n\tttlcFQhuy/s9AaQeMIMlBaOuvjSmqIKxQj4EM3OnMvdxExhHNMhOS6QXCp4i177m2i\n\ttWNrAGRGeUmAzKDwdVL1P9TvikauwXC4wzoy7kdA=","X-QQ-mid":"xmsmtpt1628662425tqdn9z0a2","Message-ID":"<tencent_CC1B8032A87EDF9EF84634F0A59140813B0A@qq.com>","X-QQ-XMAILINFO":"Nqr6iIg7be4re8l0I7sKGAuPsoPVpDC/eRRJLYj8kb+r4k7XuwrKOVqGmlL1bE\n\tVxd85up2sBGUZiG2wjedm2vAD/mojulEo+eCONbvvUjgJ+fIIZFfYS+o1aZvOzFBGsEV2+QpeEja\n\tqTwlGHfGr98OeFe4mgselQRM+NfqWd93hCLO+meDnaGo5Jib0pKTW9IOf+s1OiR7Q+ydmUc75PMU\n\tLocrI4lcT6JbCUoLgHhBxUGUTrYd1KqIZrtor+1OcMvlw51XRB1qzl851dsvSuRoGgTZvd0Y230O\n\t2/CKW7UWrCRLvt5JM8IkSHmrdVCigV6p7RoZLq0VtHD9HQrQA3+y53QI2SiXT5nzOvrXi6Pog1+M\n\tKRgo6srdLQULpeVY1Va5iVZqHh6mb0/X1Fh1W+o5XnRAxcC7293jtuvOGzCeH0WkXGTrMJ7I3/Fe\n\tMIvvZf2uf3FwyMX3UAjwMbLaetN3csVuzeDdmoKJZwuEVAs4Ew2C92eni4TlL7GazVRZJee0VCR2\n\tXPdDZVIcJWn+LYQ/Ca/V3dKOccjUkLp78Xi0D+b8sSbEUwHePG7UoV5KawNXCRTxNkC8Qyizo6t9\n\tGttA0AtlgpN9K97VGzPjPOrJNoWfgAlzgYMp+9wMvd0GIChA+5ceNKfiC1Q9x7VXVyFPBtDgX85O\n\tZs+6iIioP0P357T9otl16yjBXYeVRKZsuvTPWrN8udl1Kwxdefsyv3/93ylKKb40MbRWK+WBEa5k\n\twJtvVxyhwbC3G1x+yWtnNJCOJGmgkRu9wI0eMZvxhFbrNwU5IgdiBfZv4Sjok6pLoeWjLvgl/8Mc\n\txQIBO6XWcrt+SxzKUq5V0t3js21VqIqT3BVaM6WRRoNuyIWAzM3gqktEAr7UZ3GAekIpEJWv/k/e\n\t50ltaf+Jor1CniVR0vRsKRdqLzOGG3mudPA7uKyz1TvW6jmfrQJ7TJVIXA2smt8A==","From":"Siyuan Fan <siyuan.fan@foxmail.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Wed, 11 Aug 2021 07:12:57 +0100","X-OQ-MSGID":"<20210811061258.7421-4-siyuan.fan@foxmail.com>","X-Mailer":"git-send-email 2.20.1","In-Reply-To":"<20210811061258.7421-1-siyuan.fan@foxmail.com>","References":"<20210811061258.7421-1-siyuan.fan@foxmail.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [RFC PATCH v2 3/4] libcamera: framebuffer: Add\n\tthe friend class CPU_ISP","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"From: Fan Siyuan <siyuan.fan@foxmail.com>\n\n In order to fill in dstBuffer->metadata(), we need to add the friend class CPU_ISP.\n\nSigned-off-by: Fan Siyuan <siyuan.fan@foxmail.com>\n---\n include/libcamera/framebuffer.h | 1 +\n 1 file changed, 1 insertion(+)","diff":"diff --git a/include/libcamera/framebuffer.h b/include/libcamera/framebuffer.h\nindex 28307890..9cc1b760 100644\n--- a/include/libcamera/framebuffer.h\n+++ b/include/libcamera/framebuffer.h\n@@ -61,6 +61,7 @@ private:\n \tLIBCAMERA_DISABLE_COPY_AND_MOVE(FrameBuffer)\n \n \tfriend class V4L2VideoDevice; /* Needed to update metadata_. */\n+\tfriend class CPU_ISP;\n \n \tstd::vector<Plane> planes_;\n \n","prefixes":["libcamera-devel","RFC","v2","3/4"]}