[{"id":28121,"web_url":"https://patchwork.libcamera.org/comment/28121/","msgid":"<CAEmqJPpC7QFi=BRaH8qxhBj5RWQbLxWqk_Ai5fMd52+1R-6c4A@mail.gmail.com>","date":"2023-11-22T09:15:58","subject":"Re: [libcamera-devel] [PATCH] ipa: rpi: alsc: Do not allow zero\n\tcolour ratio statistics","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/people/34/","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"content":"Hi David,\n\nThank you for this fix.\n\nOn Wed, 22 Nov 2023 at 09:13, David Plowman via libcamera-devel\n<libcamera-devel@lists.libcamera.org> wrote:\n>\n> The algorithm computes R/G and B/G colour ratio statistics which we\n> should not allow to go to zero because there is clearly no gain you\n> could apply to R or B to equalise them. Instead flag such regions as\n> having \"insufficient data\" in the normal manner.\n>\n> Signed-off-by: David Plowman\n\nMissing your email there :)\n\nReviewed-by: Naushir Patuck <naush@raspberrypi.com>\n\n> ---\n>  src/ipa/rpi/controller/rpi/alsc.cpp | 4 +++-\n>  1 file changed, 3 insertions(+), 1 deletion(-)\n>\n> diff --git a/src/ipa/rpi/controller/rpi/alsc.cpp b/src/ipa/rpi/controller/rpi/alsc.cpp\n> index b7413611..8a205c60 100644\n> --- a/src/ipa/rpi/controller/rpi/alsc.cpp\n> +++ b/src/ipa/rpi/controller/rpi/alsc.cpp\n> @@ -548,7 +548,9 @@ static void calculateCrCb(const RgbyRegions &awbRegion, Array2D<double> &cr,\n>         for (unsigned int i = 0; i < cr.size(); i++) {\n>                 auto s = awbRegion.get(i);\n>\n> -               if (s.counted <= minCount || s.val.gSum / s.counted <= minG) {\n> +               /* Do not return unreliable, or zero, colour ratio statistics. */\n> +               if (s.counted <= minCount || s.val.gSum / s.counted <= minG ||\n> +                   s.val.rSum / s.counted <= minG || s.val.bSum / s.counted <= minG) {\n>                         cr[i] = cb[i] = InsufficientData;\n>                         continue;\n>                 }\n> --\n> 2.30.2\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 48D74C3220\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 22 Nov 2023 09:16:28 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id AFA34629AF;\n\tWed, 22 Nov 2023 10:16:27 +0100 (CET)","from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com\n\t[IPv6:2607:f8b0:4864:20::112e])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3D05161DAB\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 22 Nov 2023 10:16:26 +0100 (CET)","by mail-yw1-x112e.google.com with SMTP id\n\t00721157ae682-5cca00db7f0so2113917b3.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 22 Nov 2023 01:16:26 -0800 (PST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1700644587;\n\tbh=q91DcJTxyaLt8kfQ0X2fu7hfkNaCaPtXvajKLx2pH6w=;\n\th=References:In-Reply-To:Date:To:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=D71eORdNSMnQu3TtrITVWIyzqGbC6fHWEZAEXqImmX1BLscdL8OJFjR3j4xCDRczL\n\tSlIVD0mAwYHHKxrDxXxXG0pnB5AJduNiKkHxQAAKcF4Wh9UbGZAc/0EAZ6GhCXG6TZ\n\tC4kM/MfbL/66PpV2SkcLt53qTzL/buoFJeVT41mKvTNSxlzcSCXVtEFKcjF+jeCwyV\n\tJaWa4yV8IgGPG1L93w/KaQ7iycFzAB9hgCiCauHjQIIb/u7XXhlZI4wRUCSjs4UGrX\n\t7gJLX6gGyS+pdXjKqgnzFef1FCUl69l/6JhW4wjFeifAG1gHTGANPJSrgdn56XPWR2\n\tu/xKTM4w3GXFg==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1700644585; x=1701249385;\n\tdarn=lists.libcamera.org; \n\th=cc:to:subject:message-id:date:from:in-reply-to:references\n\t:mime-version:from:to:cc:subject:date:message-id:reply-to;\n\tbh=fgPYSpu6TSZc1NnRxGl0hkHH67OyHg8UxDfcEnyQA10=;\n\tb=PBbmCb73QX4ld0jtPUPSrJU2W3DptnhKLWUM8kfQf9NjiCPVCXGiw9uLUyQBQ1gAGW\n\tNEbgAujMqd6qM9I2C1A2PgDYWtn6aSOj1ofD7t4NeyWvcyYNLmd7yD1NZfn7cbTlLFMw\n\tw3kljKHBvGBKE0Dc70HyC5whHeoOEXZpNvXvKwdqmsrrNKhBWFjDtAzQ5cGWhdws0BkQ\n\tuj6dAq6r4EoPJfc30ZSv3mJlLv+ny1adw3J4zbN53hna24ifuUmlpNeb0BuuIa17Bh5n\n\ttxHz3gPDnB+P7Jkn5VrBATvf7bnc6muiVtQNp/yAHEtPeLFSGat3UrrOrf9yIHrxtvcB\n\tRnyg=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"PBbmCb73\"; dkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1700644585; x=1701249385;\n\th=cc:to:subject:message-id:date:from:in-reply-to:references\n\t:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id\n\t:reply-to;\n\tbh=fgPYSpu6TSZc1NnRxGl0hkHH67OyHg8UxDfcEnyQA10=;\n\tb=lFzATuCcIC4ft/XD2uJMYRLSyg6MAVXBQ02173qiK7hGsVSKq5q4q9mATSc+Ox6P5V\n\tun/l04eF7imfHwA+lb/loz3Bei9ZpPOKJNulSwfFMdBAx8eeMQdPwTf7dE1SzhrzPgu0\n\t+2pOOnckscB0Fsx7kzOU/684EMXI35raDLIRoATJPLiizGDPsBCXMBX8D3PIXFY84OpX\n\typ7ipd/zr3/RWU0zDjq8A0MKK84flgLm+UnKn4a98C76PTQRotQILrT+hTIrofsQgYok\n\tzwVt+WEhfBvfCR4Dbj3EeqtzvGBouIOgmlgj4woJ+Dic6xVWh8l8xyF3mBSvZ+kBBZJs\n\tXUwQ==","X-Gm-Message-State":"AOJu0Yznso5zVjQInpE2Q+EngWE2SCAL2P8EEtxALRSidBB6HXenRcQU\n\tYN+vaG5G3duZNJKU0newSQe3Qt1Fl/YlM/gKabX/Dw==","X-Google-Smtp-Source":"AGHT+IH2c+NvDsZlCiRb+16/q4ufZkHhUU4CMfLBvz+8aOzfhP/2e/vOGrPpv2OWGjLTJQtkZNCgcJ/qdBBBdc9WRIk=","X-Received":"by 2002:a0d:c003:0:b0:5c5:dccd:a933 with SMTP id\n\tb3-20020a0dc003000000b005c5dccda933mr1676721ywd.33.1700644584922;\n\tWed, 22 Nov 2023 01:16:24 -0800 (PST)","MIME-Version":"1.0","References":"<20231122091302.550574-1-david.plowman@raspberrypi.com>","In-Reply-To":"<20231122091302.550574-1-david.plowman@raspberrypi.com>","Date":"Wed, 22 Nov 2023 09:15:58 +0000","Message-ID":"<CAEmqJPpC7QFi=BRaH8qxhBj5RWQbLxWqk_Ai5fMd52+1R-6c4A@mail.gmail.com>","To":"David Plowman <david.plowman@raspberrypi.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Subject":"Re: [libcamera-devel] [PATCH] ipa: rpi: alsc: Do not allow zero\n\tcolour ratio statistics","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>","From":"Naushir Patuck via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Naushir Patuck <naush@raspberrypi.com>","Cc":"libcamera-devel@lists.libcamera.org","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}},{"id":28122,"web_url":"https://patchwork.libcamera.org/comment/28122/","msgid":"<170064500415.814684.7463815614787766935@ping.linuxembedded.co.uk>","date":"2023-11-22T09:23:24","subject":"Re: [libcamera-devel] [PATCH] ipa: rpi: alsc: Do not allow zero\n\tcolour ratio statistics","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Quoting Naushir Patuck via libcamera-devel (2023-11-22 09:15:58)\n> Hi David,\n> \n> Thank you for this fix.\n> \n> On Wed, 22 Nov 2023 at 09:13, David Plowman via libcamera-devel\n> <libcamera-devel@lists.libcamera.org> wrote:\n> >\n> > The algorithm computes R/G and B/G colour ratio statistics which we\n> > should not allow to go to zero because there is clearly no gain you\n> > could apply to R or B to equalise them. Instead flag such regions as\n> > having \"insufficient data\" in the normal manner.\n> >\n> > Signed-off-by: David Plowman\n> \n> Missing your email there :)\n\nCan be fixed while applying...\n\n> \n> Reviewed-by: Naushir Patuck <naush@raspberrypi.com>\n\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\n> \n> > ---\n> >  src/ipa/rpi/controller/rpi/alsc.cpp | 4 +++-\n> >  1 file changed, 3 insertions(+), 1 deletion(-)\n> >\n> > diff --git a/src/ipa/rpi/controller/rpi/alsc.cpp b/src/ipa/rpi/controller/rpi/alsc.cpp\n> > index b7413611..8a205c60 100644\n> > --- a/src/ipa/rpi/controller/rpi/alsc.cpp\n> > +++ b/src/ipa/rpi/controller/rpi/alsc.cpp\n> > @@ -548,7 +548,9 @@ static void calculateCrCb(const RgbyRegions &awbRegion, Array2D<double> &cr,\n> >         for (unsigned int i = 0; i < cr.size(); i++) {\n> >                 auto s = awbRegion.get(i);\n> >\n> > -               if (s.counted <= minCount || s.val.gSum / s.counted <= minG) {\n> > +               /* Do not return unreliable, or zero, colour ratio statistics. */\n> > +               if (s.counted <= minCount || s.val.gSum / s.counted <= minG ||\n> > +                   s.val.rSum / s.counted <= minG || s.val.bSum / s.counted <= minG) {\n> >                         cr[i] = cb[i] = InsufficientData;\n> >                         continue;\n> >                 }\n> > --\n> > 2.30.2\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 91B7FBDE6B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 22 Nov 2023 09:23:28 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E60C5629BD;\n\tWed, 22 Nov 2023 10:23:27 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 07508629AF\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 22 Nov 2023 10:23:27 +0100 (CET)","from pendragon.ideasonboard.com\n\t(aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net\n\t[82.37.23.78])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id DBB68276;\n\tWed, 22 Nov 2023 10:22:55 +0100 (CET)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1700645008;\n\tbh=lYhxfVFfgVLdyh7nJoMNn6mAmHa8tbUvPPdMerutaJU=;\n\th=In-Reply-To:References:To:Date:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=SxomIyCxZXTE/xLTQ29y+2BqNMRM9EcdjydR/l+c2FtB3qHmPEe5PhpjOqnRotZx1\n\tIekdCyz1Tzn0+H0QS03cqcrl6LjJDN/ng4O/zIdQuGcnAbApX1SOpWYf1magXYsM9i\n\tTh6ygeRmQRGnewSI9qBaaiT5y/ZLtHIQd2h8PP4PATqYny+y/+1Jwi+9hF0GlLbV1e\n\tzlTRfFkb9g/bNlAGKGKDSBYdYOXcgC4pTjgsfjKqRJEfee0Rd6g6EheXgA9jmA9YOj\n\tyZrFrN9y2GHBG07K+FcI/vWAlbblf/bsxrcn4Nwu1u8p+3Zi0V5KREF7kVox8QjyOT\n\tfMeOxKykJduWA==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1700644976;\n\tbh=lYhxfVFfgVLdyh7nJoMNn6mAmHa8tbUvPPdMerutaJU=;\n\th=In-Reply-To:References:Subject:From:Cc:To:Date:From;\n\tb=YtRHTSijwyGWhAubzAUWmDrE+ZEzgCF345td5QpGwKc76n98k8jN3pGZD9C4bvL9i\n\tf3jBsjwmYKgIM7404S9j2a3YjofSnZGML4/BJfHpcAyiIlI/WEFo79T6H1gsJ1M5EM\n\t7zsWZKBIYYrM96TjSq3aA3GZYDFplZueKevOaPRc="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"YtRHTSij\"; dkim-atps=neutral","Content-Type":"text/plain; charset=\"utf-8\"","MIME-Version":"1.0","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"<CAEmqJPpC7QFi=BRaH8qxhBj5RWQbLxWqk_Ai5fMd52+1R-6c4A@mail.gmail.com>","References":"<20231122091302.550574-1-david.plowman@raspberrypi.com>\n\t<CAEmqJPpC7QFi=BRaH8qxhBj5RWQbLxWqk_Ai5fMd52+1R-6c4A@mail.gmail.com>","To":"David Plowman <david.plowman@raspberrypi.com>,\n\tNaushir Patuck <naush@raspberrypi.com>,\n\tNaushir Patuck via libcamera-devel <libcamera-devel@lists.libcamera.org>","Date":"Wed, 22 Nov 2023 09:23:24 +0000","Message-ID":"<170064500415.814684.7463815614787766935@ping.linuxembedded.co.uk>","User-Agent":"alot/0.10","Subject":"Re: [libcamera-devel] [PATCH] ipa: rpi: alsc: Do not allow zero\n\tcolour ratio statistics","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>","From":"Kieran Bingham via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Cc":"libcamera-devel@lists.libcamera.org","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}},{"id":28123,"web_url":"https://patchwork.libcamera.org/comment/28123/","msgid":"<CAHW6GYJwaW4MoW_PFztOs=9rwrzpWWX_YBjnKbf5JAEvTG_ASA@mail.gmail.com>","date":"2023-11-22T09:24:22","subject":"Re: [libcamera-devel] [PATCH] ipa: rpi: alsc: Do not allow zero\n\tcolour ratio statistics","submitter":{"id":42,"url":"https://patchwork.libcamera.org/api/people/42/","name":"David Plowman","email":"david.plowman@raspberrypi.com"},"content":"Thank you!!\n\nDavid\n\nOn Wed, 22 Nov 2023 at 09:23, Kieran Bingham <\nkieran.bingham@ideasonboard.com> wrote:\n\n> Quoting Naushir Patuck via libcamera-devel (2023-11-22 09:15:58)\n> > Hi David,\n> >\n> > Thank you for this fix.\n> >\n> > On Wed, 22 Nov 2023 at 09:13, David Plowman via libcamera-devel\n> > <libcamera-devel@lists.libcamera.org> wrote:\n> > >\n> > > The algorithm computes R/G and B/G colour ratio statistics which we\n> > > should not allow to go to zero because there is clearly no gain you\n> > > could apply to R or B to equalise them. Instead flag such regions as\n> > > having \"insufficient data\" in the normal manner.\n> > >\n> > > Signed-off-by: David Plowman\n> >\n> > Missing your email there :)\n>\n> Can be fixed while applying...\n>\n> >\n> > Reviewed-by: Naushir Patuck <naush@raspberrypi.com>\n>\n> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n>\n> >\n> > > ---\n> > >  src/ipa/rpi/controller/rpi/alsc.cpp | 4 +++-\n> > >  1 file changed, 3 insertions(+), 1 deletion(-)\n> > >\n> > > diff --git a/src/ipa/rpi/controller/rpi/alsc.cpp\n> b/src/ipa/rpi/controller/rpi/alsc.cpp\n> > > index b7413611..8a205c60 100644\n> > > --- a/src/ipa/rpi/controller/rpi/alsc.cpp\n> > > +++ b/src/ipa/rpi/controller/rpi/alsc.cpp\n> > > @@ -548,7 +548,9 @@ static void calculateCrCb(const RgbyRegions\n> &awbRegion, Array2D<double> &cr,\n> > >         for (unsigned int i = 0; i < cr.size(); i++) {\n> > >                 auto s = awbRegion.get(i);\n> > >\n> > > -               if (s.counted <= minCount || s.val.gSum / s.counted <=\n> minG) {\n> > > +               /* Do not return unreliable, or zero, colour ratio\n> statistics. */\n> > > +               if (s.counted <= minCount || s.val.gSum / s.counted <=\n> minG ||\n> > > +                   s.val.rSum / s.counted <= minG || s.val.bSum /\n> s.counted <= minG) {\n> > >                         cr[i] = cb[i] = InsufficientData;\n> > >                         continue;\n> > >                 }\n> > > --\n> > > 2.30.2\n> > >\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 CA7E7BDE6B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 22 Nov 2023 09:24:36 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 8050D629B6;\n\tWed, 22 Nov 2023 10:24:36 +0100 (CET)","from mail-vs1-xe32.google.com (mail-vs1-xe32.google.com\n\t[IPv6:2607:f8b0:4864:20::e32])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 848E4629AF\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 22 Nov 2023 10:24:34 +0100 (CET)","by mail-vs1-xe32.google.com with SMTP id\n\tada2fe7eead31-4629fac5a43so997055137.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 22 Nov 2023 01:24:34 -0800 (PST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1700645076;\n\tbh=sNaW76YOpDdMnoeJx/5oIcVLUIP6WIr4NpcDlMuFK04=;\n\th=References:In-Reply-To:Date:To:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=quNWBDFOgSdAmEvN1FIXIhfXSo6G/QWEz7C5BPCd8h1DMRXj8MmFD7TVKLk7VeIxv\n\tBR7dkVj26DUJuVikQNRXN97NOLrLFBvvotUEUQ6PqYwrOhG70Kh8TwD1hJlvPBi8Rd\n\tp7pX0gH5xltlsKMccLpS6Y/Pl9nOaW5Y5/RkOiJTjTsm0LiS0qAxK/BiT7qYilIh5r\n\t2Lb5Vt5Fd888WmAypue8o+4hGXDTHNpzjlrf2Pgdp5EY1T08k2PnUluG5sIvdT1QNS\n\tSyjwjULHFG5IhRZiLh7cuwZTjTqPJHMm9TO6QPTguZyvr+SMucUv3NnWliq7mWnDWA\n\txxeZutmZx/piQ==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1700645073; x=1701249873;\n\tdarn=lists.libcamera.org; \n\th=cc:to:subject:message-id:date:from:in-reply-to:references\n\t:mime-version:from:to:cc:subject:date:message-id:reply-to;\n\tbh=TEqT/I1mb/vVK1s4X77bINaEOKNeNeR6yo7MwIEhXoY=;\n\tb=QSL0jgGdilkoU9Ulm+wFS+A3e3D9aEPfm2M8ycG4HjPhEhHGtcyfoWQ18lB/tp9pRY\n\tQBxnVP7HQsodW1gH1JTgWFuuJEKHABgSWrVU1AWm0C0fn7JehZPc1nmrkcqYSW+2nH5m\n\tkQ37oymrWNFW9tNQA7g0icAboKpiTouCtmMwcNWMnalqLbPbEBO63eu6RQBIeeNrY0Db\n\ts3sU0QSzo6h7H6j4jM1ubDuSZESuUpyK5ysUGwPwq0rjKXl3nbWu7SPdvZs2XdEEcfnl\n\t5FFgSwPBnPJmdYKb++vUkZRdRWt0fm8b8gUrasuU+fVgOOvotL9U1lVQt3YktmxvBcQA\n\tu62w=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"QSL0jgGd\"; dkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1700645073; x=1701249873;\n\th=cc:to:subject:message-id:date:from:in-reply-to:references\n\t:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id\n\t:reply-to;\n\tbh=TEqT/I1mb/vVK1s4X77bINaEOKNeNeR6yo7MwIEhXoY=;\n\tb=cW6dVM4HpP3QisqJMAolNWLUuEINERJG5BXUau63bI3wLVSNJ3hqmDMA+at0nV4Xgv\n\tMDQy9hrcOrFg6pX8Y3gRKWk0CG/8blRgaf7WCRaaNnNQAP39RRVEtxyfC6hKC6Czp7Hl\n\tKYiNbIwEFefGv50YvlxnlYVJmRQnlvNXfL2OW/4h8GDG1CChiruu8qPZEI0WiPh5hh0i\n\twTJJ0H/Te55U+O81U52g+0amNqFpUqkKziIR4VYCudmRfaaodY6WmQmpDQZGJxR/IOPc\n\tfueDRGyDTSOaplk5F0dQyMvzaJxrIOJYO1DbRirc84eCKg0LOOvC0xw2MTabBc6+F1Aj\n\tuTVA==","X-Gm-Message-State":"AOJu0Yzsiu9yWq0s2PwnVMh5CdsXQAacDtKi9uumWnA7/+nJGzTGpeHQ\n\tZm8+RUUpM4ipcynZDMT7OYVF9sEcWyx/XRrhf1GOJg==","X-Google-Smtp-Source":"AGHT+IFj7zVQACS2uZ2qR2k4klyQxI6qOEJVrY8NrIWgikXCMChLy4CXMM+M4GjoeGTwQ77tJYST+kv+mC9gMEE8ZNc=","X-Received":"by 2002:a67:cb13:0:b0:45f:b975:f717 with SMTP id\n\tb19-20020a67cb13000000b0045fb975f717mr1752830vsl.34.1700645073280;\n\tWed, 22 Nov 2023 01:24:33 -0800 (PST)","MIME-Version":"1.0","References":"<20231122091302.550574-1-david.plowman@raspberrypi.com>\n\t<CAEmqJPpC7QFi=BRaH8qxhBj5RWQbLxWqk_Ai5fMd52+1R-6c4A@mail.gmail.com>\n\t<170064500415.814684.7463815614787766935@ping.linuxembedded.co.uk>","In-Reply-To":"<170064500415.814684.7463815614787766935@ping.linuxembedded.co.uk>","Date":"Wed, 22 Nov 2023 09:24:22 +0000","Message-ID":"<CAHW6GYJwaW4MoW_PFztOs=9rwrzpWWX_YBjnKbf5JAEvTG_ASA@mail.gmail.com>","To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Content-Type":"multipart/alternative; boundary=\"0000000000007b77aa060aba490f\"","Subject":"Re: [libcamera-devel] [PATCH] ipa: rpi: alsc: Do not allow zero\n\tcolour ratio statistics","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>","From":"David Plowman via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"David Plowman <david.plowman@raspberrypi.com>","Cc":"Naushir Patuck via libcamera-devel <libcamera-devel@lists.libcamera.org>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]