[{"id":35291,"web_url":"https://patchwork.libcamera.org/comment/35291/","msgid":"<175450194618.50296.11285851998507361575@ping.linuxembedded.co.uk>","date":"2025-08-06T17:39:06","subject":"Re: [PATCH v2 2/2] libcamera: software_isp: Reduce statistics image\n\tarea","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Quoting Milan Zamazal (2025-07-24 16:29:36)\n> The statistics in software ISP is computed basically over the whole\n> image area, although only on part of the pixels.  It is not necessary to\n> cover the whole image area, it's sufficient to compute the statistics\n> let's say over the central area of 2/3 of the image width and height,\n> which should be both sufficient and faster.  The speedup is not that\n> important with the CPU implementation but it may save CPU work\n> more noticeably with GPU debayering implementation.\n> \n> Signed-off-by: Milan Zamazal <mzamazal@redhat.com>\n> ---\n>  src/libcamera/software_isp/debayer_cpu.cpp | 2 +-\n>  src/libcamera/software_isp/debayer_egl.cpp | 7 +++++--\n>  2 files changed, 6 insertions(+), 3 deletions(-)\n> \n> diff --git a/src/libcamera/software_isp/debayer_cpu.cpp b/src/libcamera/software_isp/debayer_cpu.cpp\n> index e56492848..bea153592 100644\n> --- a/src/libcamera/software_isp/debayer_cpu.cpp\n> +++ b/src/libcamera/software_isp/debayer_cpu.cpp\n> @@ -526,7 +526,7 @@ int DebayerCpu::configure(const StreamConfiguration &inputCfg,\n>         window_.width = outputCfg.size.width;\n>         window_.height = outputCfg.size.height;\n>  \n> -       /* Don't pass x,y since process() already adjusts src before passing it */\n> +       /* Don't pass x,y from window_ since process() already adjusts for it. */\n>         stats_->setWindow(Rectangle(window_.size()));\n\nShouldn't we do the same on both to have the same behaviour ?\n\nIdeally this should (later) be configurable and could even map to the Ae\ncontrols for CenterWeighted, Spot or Matrix metering ?\n\n>  \n>         /* pad with patternSize.Width on both left and right side */\n> diff --git a/src/libcamera/software_isp/debayer_egl.cpp b/src/libcamera/software_isp/debayer_egl.cpp\n> index 9ec966608..9ad7d6fe7 100644\n> --- a/src/libcamera/software_isp/debayer_egl.cpp\n> +++ b/src/libcamera/software_isp/debayer_egl.cpp\n> @@ -393,8 +393,11 @@ int DebayerEGL::configure(const StreamConfiguration &inputCfg,\n>         window_.width = outputCfg.size.width;\n>         window_.height = outputCfg.size.height;\n>  \n> -       /* Don't pass x,y since process() already adjusts src before passing it */\n> -       stats_->setWindow(Rectangle(window_.size()));\n> +       /*\n> +        * Don't pass x,y from window_ since process() already adjusts for it.\n> +        * But crop the window to 2/3 of its width and height for speedup.\n> +        */\n> +       stats_->setWindow(Rectangle(window_.size()).croppedBy(2, 3));\n\nI think this is reasonable for the moment though as an optimisation.\nIt's almost 'CenterWeighted' but not actually weighting ...\n\n>         LOG(Debayer, Debug) << \"Input width \" << inputCfg.size.width << \" height \" << inputCfg.size.height;\n>         LOG(Debayer, Debug) << \"Output width \" << outputCfg.size.width << \" height \" << outputCfg.size.height;\n> -- \n> 2.50.1\n>","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 67AF9BDCC1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  6 Aug 2025 17:39:12 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 5B3316921E;\n\tWed,  6 Aug 2025 19:39:11 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 922BA691F5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  6 Aug 2025 19:39:09 +0200 (CEST)","from pendragon.ideasonboard.com\n\t(cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id E6DB0EBA;\n\tWed,  6 Aug 2025 19:38:20 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"ZmJ6LLiq\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1754501901;\n\tbh=CYHiXsu3o9pMX/15VGWn9xh4VMhuzEZFo67V2iSBpjs=;\n\th=In-Reply-To:References:Subject:From:Cc:To:Date:From;\n\tb=ZmJ6LLiqyi/FpUAZ5y4zSLsARKmiCNC+s+fW9bj4nZHDFyOJ4+0IR5WmHYYy568Im\n\tnhDIcF3Q/dNfaK1RDmMiBvQkCz7M2FeJX2QY94l0TtyrCaxLYJmpRk57EsETRKG2f3\n\txGkbbQ+rIFRv/cuEzNRftGnDmQ2/hdrv9q3SmkA0=","Content-Type":"text/plain; charset=\"utf-8\"","MIME-Version":"1.0","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"<20250724152936.99830-3-mzamazal@redhat.com>","References":"<20250724152936.99830-1-mzamazal@redhat.com>\n\t<20250724152936.99830-3-mzamazal@redhat.com>","Subject":"Re: [PATCH v2 2/2] libcamera: software_isp: Reduce statistics image\n\tarea","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Cc":"Milan Zamazal <mzamazal@redhat.com>","To":"Milan Zamazal <mzamazal@redhat.com>, libcamera-devel@lists.libcamera.org","Date":"Wed, 06 Aug 2025 18:39:06 +0100","Message-ID":"<175450194618.50296.11285851998507361575@ping.linuxembedded.co.uk>","User-Agent":"alot/0.9.1","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>"}},{"id":35312,"web_url":"https://patchwork.libcamera.org/comment/35312/","msgid":"<175465290674.560048.16496122976224054634@ping.linuxembedded.co.uk>","date":"2025-08-08T11:35:06","subject":"Re: [PATCH v2 2/2] libcamera: software_isp: Reduce statistics image\n\tarea","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Quoting Kieran Bingham (2025-08-06 18:39:06)\n> Quoting Milan Zamazal (2025-07-24 16:29:36)\n> > The statistics in software ISP is computed basically over the whole\n> > image area, although only on part of the pixels.  It is not necessary to\n> > cover the whole image area, it's sufficient to compute the statistics\n> > let's say over the central area of 2/3 of the image width and height,\n> > which should be both sufficient and faster.  The speedup is not that\n> > important with the CPU implementation but it may save CPU work\n> > more noticeably with GPU debayering implementation.\n> > \n> > Signed-off-by: Milan Zamazal <mzamazal@redhat.com>\n> > ---\n> >  src/libcamera/software_isp/debayer_cpu.cpp | 2 +-\n> >  src/libcamera/software_isp/debayer_egl.cpp | 7 +++++--\n> >  2 files changed, 6 insertions(+), 3 deletions(-)\n> > \n> > diff --git a/src/libcamera/software_isp/debayer_cpu.cpp b/src/libcamera/software_isp/debayer_cpu.cpp\n> > index e56492848..bea153592 100644\n> > --- a/src/libcamera/software_isp/debayer_cpu.cpp\n> > +++ b/src/libcamera/software_isp/debayer_cpu.cpp\n> > @@ -526,7 +526,7 @@ int DebayerCpu::configure(const StreamConfiguration &inputCfg,\n> >         window_.width = outputCfg.size.width;\n> >         window_.height = outputCfg.size.height;\n> >  \n> > -       /* Don't pass x,y since process() already adjusts src before passing it */\n> > +       /* Don't pass x,y from window_ since process() already adjusts for it. */\n> >         stats_->setWindow(Rectangle(window_.size()));\n> \n> Shouldn't we do the same on both to have the same behaviour ?\n> \n> Ideally this should (later) be configurable and could even map to the Ae\n> controls for CenterWeighted, Spot or Matrix metering ?\n> \n> >  \n> >         /* pad with patternSize.Width on both left and right side */\n> > diff --git a/src/libcamera/software_isp/debayer_egl.cpp b/src/libcamera/software_isp/debayer_egl.cpp\n> > index 9ec966608..9ad7d6fe7 100644\n> > --- a/src/libcamera/software_isp/debayer_egl.cpp\n> > +++ b/src/libcamera/software_isp/debayer_egl.cpp\n> > @@ -393,8 +393,11 @@ int DebayerEGL::configure(const StreamConfiguration &inputCfg,\n> >         window_.width = outputCfg.size.width;\n> >         window_.height = outputCfg.size.height;\n> >  \n> > -       /* Don't pass x,y since process() already adjusts src before passing it */\n> > -       stats_->setWindow(Rectangle(window_.size()));\n> > +       /*\n> > +        * Don't pass x,y from window_ since process() already adjusts for it.\n> > +        * But crop the window to 2/3 of its width and height for speedup.\n> > +        */\n\nReading the proposal in the first patch - this does look good:\n\n\tstats_->setWindow((window_.size() * 0.66).centeredTo(window_.center());\n\nor even\n\n\tstats_->setWindow((window_.size() * 2 / 3).centeredTo(window_.center());\n\nand tells me all the information I needed before. I can read instantly\nthat it's centered into the window_.center and it's 0.66 of the current\nwindow_.size() which I think is nicer than casting to an intermeddiate\nRectangle() just to initialise.\n\n\n\n> > +       stats_->setWindow(Rectangle(window_.size()).croppedBy(2, 3));\n> \n> I think this is reasonable for the moment though as an optimisation.\n> It's almost 'CenterWeighted' but not actually weighting ...\n> \n> >         LOG(Debayer, Debug) << \"Input width \" << inputCfg.size.width << \" height \" << inputCfg.size.height;\n> >         LOG(Debayer, Debug) << \"Output width \" << outputCfg.size.width << \" height \" << outputCfg.size.height;\n> > -- \n> > 2.50.1\n> >","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 E67BFBEFBE\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  8 Aug 2025 11:35:11 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B2CEE6921E;\n\tFri,  8 Aug 2025 13:35:10 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 4C4796084D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  8 Aug 2025 13:35:09 +0200 (CEST)","from pendragon.ideasonboard.com\n\t(cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 6B19E16B8;\n\tFri,  8 Aug 2025 13:34:19 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"dHxy4jEp\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1754652859;\n\tbh=otYwC1wm7g7sXpi4W9RtGqZVmzi8SLnH+G11AjipyuA=;\n\th=In-Reply-To:References:Subject:From:Cc:To:Date:From;\n\tb=dHxy4jEpp/1wj3RZHM2ZKl6d+rcpb+YJ0NKJWvkLqoGJdNA0wGeuJJTWt0agfkuip\n\tMfJNOyZ964Q7nSGqbCY56HDtjUY5BgMkDCs71oz0UxSQQHi9OdavJp43/+IZqz0+30\n\tJe/8k4UEKtLw0rp4RjB4RX8yB8M9SZw5K6zYM7Aw=","Content-Type":"text/plain; charset=\"utf-8\"","MIME-Version":"1.0","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"<175450194618.50296.11285851998507361575@ping.linuxembedded.co.uk>","References":"<20250724152936.99830-1-mzamazal@redhat.com>\n\t<20250724152936.99830-3-mzamazal@redhat.com>\n\t<175450194618.50296.11285851998507361575@ping.linuxembedded.co.uk>","Subject":"Re: [PATCH v2 2/2] libcamera: software_isp: Reduce statistics image\n\tarea","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Cc":"Milan Zamazal <mzamazal@redhat.com>","To":"Milan Zamazal <mzamazal@redhat.com>, libcamera-devel@lists.libcamera.org","Date":"Fri, 08 Aug 2025 12:35:06 +0100","Message-ID":"<175465290674.560048.16496122976224054634@ping.linuxembedded.co.uk>","User-Agent":"alot/0.9.1","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>"}},{"id":35389,"web_url":"https://patchwork.libcamera.org/comment/35389/","msgid":"<85sehvxii2.fsf@mzamazal-thinkpadp1gen7.tpbc.csb>","date":"2025-08-13T17:02:13","subject":"Re: [PATCH v2 2/2] libcamera: software_isp: Reduce statistics image\n\tarea","submitter":{"id":177,"url":"https://patchwork.libcamera.org/api/people/177/","name":"Milan Zamazal","email":"mzamazal@redhat.com"},"content":"Hi,\n\nthank you all for reviews.\n\nKieran Bingham <kieran.bingham@ideasonboard.com> writes:\n\n> Quoting Milan Zamazal (2025-07-24 16:29:36)\n>> The statistics in software ISP is computed basically over the whole\n>> image area, although only on part of the pixels.  It is not necessary to\n>\n>> cover the whole image area, it's sufficient to compute the statistics\n>> let's say over the central area of 2/3 of the image width and height,\n>> which should be both sufficient and faster.  The speedup is not that\n>> important with the CPU implementation but it may save CPU work\n>> more noticeably with GPU debayering implementation.\n>> \n>> Signed-off-by: Milan Zamazal <mzamazal@redhat.com>\n>> ---\n>>  src/libcamera/software_isp/debayer_cpu.cpp | 2 +-\n>>  src/libcamera/software_isp/debayer_egl.cpp | 7 +++++--\n>>  2 files changed, 6 insertions(+), 3 deletions(-)\n>> \n>> diff --git a/src/libcamera/software_isp/debayer_cpu.cpp b/src/libcamera/software_isp/debayer_cpu.cpp\n>> index e56492848..bea153592 100644\n>> --- a/src/libcamera/software_isp/debayer_cpu.cpp\n>> +++ b/src/libcamera/software_isp/debayer_cpu.cpp\n>> @@ -526,7 +526,7 @@ int DebayerCpu::configure(const StreamConfiguration &inputCfg,\n>>         window_.width = outputCfg.size.width;\n>>         window_.height = outputCfg.size.height;\n>>  \n>> -       /* Don't pass x,y since process() already adjusts src before passing it */\n>> +       /* Don't pass x,y from window_ since process() already adjusts for it. */\n>>         stats_->setWindow(Rectangle(window_.size()));\n>\n> Shouldn't we do the same on both to have the same behaviour ?\n\nYes, it would be better for consistency.\n\n> Ideally this should (later) be configurable and could even map to the Ae\n> controls for CenterWeighted, Spot or Matrix metering ?\n\nMaybe and there should be a common method.  Not necessary now, I think.\n\n>> >  \n>> >         /* pad with patternSize.Width on both left and right side */\n>> > diff --git a/src/libcamera/software_isp/debayer_egl.cpp b/src/libcamera/software_isp/debayer_egl.cpp\n>> > index 9ec966608..9ad7d6fe7 100644\n>> > --- a/src/libcamera/software_isp/debayer_egl.cpp\n>> > +++ b/src/libcamera/software_isp/debayer_egl.cpp\n>> > @@ -393,8 +393,11 @@ int DebayerEGL::configure(const StreamConfiguration &inputCfg,\n>> >         window_.width = outputCfg.size.width;\n>> >         window_.height = outputCfg.size.height;\n>> >  \n>> > -       /* Don't pass x,y since process() already adjusts src before passing it */\n>> > -       stats_->setWindow(Rectangle(window_.size()));\n>> > +       /*\n>> > +        * Don't pass x,y from window_ since process() already adjusts for it.\n>> > +        * But crop the window to 2/3 of its width and height for speedup.\n>> > +        */\n>\n> Reading the proposal in the first patch - this does look good:\n>\n> \tstats_->setWindow((window_.size() * 0.66).centeredTo(window_.center());\n>\n> or even\n>\n> \tstats_->setWindow((window_.size() * 2 / 3).centeredTo(window_.center());\n\nLooks good to me, I use it in v3.\n\n> and tells me all the information I needed before. I can read instantly\n> that it's centered into the window_.center and it's 0.66 of the current\n> window_.size() which I think is nicer than casting to an intermeddiate\n> Rectangle() just to initialise.\n>\n>\n>\n>> > +       stats_->setWindow(Rectangle(window_.size()).croppedBy(2, 3));\n>> \n>> I think this is reasonable for the moment though as an optimisation.\n>> It's almost 'CenterWeighted' but not actually weighting ...\n>> \n>> >         LOG(Debayer, Debug) << \"Input width \" << inputCfg.size.width << \" height \" <<\n>> > inputCfg.size.height;\n>> >         LOG(Debayer, Debug) << \"Output width \" << outputCfg.size.width << \" height \" <<\n>> > outputCfg.size.height;\n>> > -- \n>> > 2.50.1\n>> >","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 9CF5CBDCC1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 13 Aug 2025 17:02:24 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 6DA2569251;\n\tWed, 13 Aug 2025 19:02:23 +0200 (CEST)","from us-smtp-delivery-124.mimecast.com\n\t(us-smtp-delivery-124.mimecast.com [170.10.133.124])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 764A46922C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 13 Aug 2025 19:02:20 +0200 (CEST)","from mail-qt1-f197.google.com (mail-qt1-f197.google.com\n\t[209.85.160.197]) by relay.mimecast.com with ESMTP with STARTTLS\n\t(version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n\tus-mta-608-rQDuN_60Pd2NUgPCb_bPXQ-1; Wed, 13 Aug 2025 13:02:17 -0400","by mail-qt1-f197.google.com with SMTP id\n\td75a77b69052e-4b1099142e0so2416841cf.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 13 Aug 2025 10:02:17 -0700 (PDT)","from mzamazal-thinkpadp1gen7.tpbc.csb\n\t(ip-77-48-47-2.net.vodafone.cz. [77.48.47.2])\n\tby smtp.gmail.com with ESMTPSA id\n\td75a77b69052e-4b0733088e1sm141189421cf.61.2025.08.13.10.02.14\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 13 Aug 2025 10:02:15 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=redhat.com header.i=@redhat.com\n\theader.b=\"HFB2P0Nt\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1755104539;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\tto:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\tin-reply-to:in-reply-to:references:references;\n\tbh=tTeq+GuiHG5xF7bE3ypIwfPIyUHpjVaZaIg469NCO9Y=;\n\tb=HFB2P0Nt5imhov824rBkO1SOn1Skuobmc3Z/rAuuOMXfCyFfdzf1i856CpqRJHI6b+oLcr\n\tg/gbwYfBrKSw6WCqLmLLbhujc6/NLgwtb6/Et5KzfNMmbptg2O50d1VPMbg6b0Q3XNZP+f\n\t9rDwd0REJ3cbq6H+kVgb1v65XrypjSs=","X-MC-Unique":"rQDuN_60Pd2NUgPCb_bPXQ-1","X-Mimecast-MFC-AGG-ID":"rQDuN_60Pd2NUgPCb_bPXQ_1755104537","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1755104537; x=1755709337;\n\th=mime-version:user-agent:message-id:date:references:in-reply-to\n\t:subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=tTeq+GuiHG5xF7bE3ypIwfPIyUHpjVaZaIg469NCO9Y=;\n\tb=sNPS5m2zZU/xSFMROAVLTs2YNAIfFuGeGQJzdZFufA2pADQSY6ky0tPcb+W8oHHFU0\n\tApng+qhzwH3/ZCyVquQHtAFZjgBQ/dHvzg/Y9+JrOD8fZ4rRMc3YckdYuJ8A+8MF4M7Y\n\tOuIO1oF5G8MELW0Y8jEY8PtBZnz8aE6e1kbTxU/jH2J5uUjv+O3PIktP7ZUGzqYExZJr\n\t3i2j9vWrnfoM84i94etfvU+oGnWT9Q5sC/oFnGCXBrAEChX7bOaY3r8FV24kk4rEqMbY\n\t1T1SUm8/K2zKr9eNRG1pb0V6amybjuhpb+Yb6sN6t0KviiOb4Dfy/JT/b3Cm4bRSYR2X\n\tNkVw==","X-Gm-Message-State":"AOJu0YwSCw2jEbjIJHfCuZ8ahjggCXHt2yxzrsLVlVktuQakBcKstAY0\n\tELDbqcq6G6/orR0P8M3ejiu2g/pjtCFhI1zUx5KZHR5hN/Q9JKEdUzzG73B0hqVtFe5T0UnN825\n\tP1nnZsei+QAxLDrtdwaqvOgdngrAF1ja1I6hAOh8+vp0Rs6D2HlX67PZKW4mxYEu6uT434h7dXQ\n\trC5IEZl33DHHF26R7ksMicuo8SbbEjEEX3okO4C/Cz2r0/0ilfSA687kBPIHU=","X-Gm-Gg":"ASbGncuXg4tUix+mxQZ7CWDof0FvL7z4yH9qDbpqxN5eqEMDdHyV/W0RAc6fm191Ypb\n\tK9UBoZfKWWlACFBvYV/5SP1l8fokDKHBlQQmfDHHR2QgJBZ4/Z/qZvgxZdw3mmmmRcTKekgv2g+\n\t0rNT/eBBZqBCBMc9wa5ipYFvjmtPiocRQRETkmBnFCQBViATW6l/nMMUMjM9h0HKY0zFUEPSa7G\n\tw8jFKbBjoOePzwxS1IeJM8Sv/GA+WUJJaRWL6wNNfuInw1SwGts0ehT01/ulS/dx3I79RwgBcMf\n\tO5P2KN08hDRih9JS4D9rSN/WkZKAlRle4ocQVGK7pb1YgjJCAPXmEm0gl3shJcXXGQeMHxrO7SM\n\t/MZ3LveyNELu0h4ey","X-Received":["by 2002:a05:622a:50e:b0:4a6:ea91:7e9 with SMTP id\n\td75a77b69052e-4b0fc76684emr47689231cf.25.1755104536825; \n\tWed, 13 Aug 2025 10:02:16 -0700 (PDT)","by 2002:a05:622a:50e:b0:4a6:ea91:7e9 with SMTP id\n\td75a77b69052e-4b0fc76684emr47688461cf.25.1755104536095; \n\tWed, 13 Aug 2025 10:02:16 -0700 (PDT)"],"X-Google-Smtp-Source":"AGHT+IGQnxuxN4pHjvMV+tZcJZDFfTyMO1nVnBzVOB5lkdkwS+AqQhmH9r4V1sXXlgP3+c4stqZgNA==","From":"Milan Zamazal <mzamazal@redhat.com>","To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Cc":"libcamera-devel@lists.libcamera.org","Subject":"Re: [PATCH v2 2/2] libcamera: software_isp: Reduce statistics image\n\tarea","In-Reply-To":"<175450194618.50296.11285851998507361575@ping.linuxembedded.co.uk>\n\t(Kieran Bingham's message of \"Wed, 06 Aug 2025 18:39:06 +0100\")","References":"<20250724152936.99830-1-mzamazal@redhat.com>\n\t<20250724152936.99830-3-mzamazal@redhat.com>\n\t<175450194618.50296.11285851998507361575@ping.linuxembedded.co.uk>","Date":"Wed, 13 Aug 2025 19:02:13 +0200","Message-ID":"<85sehvxii2.fsf@mzamazal-thinkpadp1gen7.tpbc.csb>","User-Agent":"Gnus/5.13 (Gnus v5.13)","MIME-Version":"1.0","X-Mimecast-Spam-Score":"0","X-Mimecast-MFC-PROC-ID":"xT7dxBeo3t321nwMp7fLeDFX2h3nk-bhqACDaOyyJKI_1755104537","X-Mimecast-Originator":"redhat.com","Content-Type":"text/plain","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>"}}]