[{"id":25149,"web_url":"https://patchwork.libcamera.org/comment/25149/","msgid":"<20220928071530.s6bihatjh5lh5hqg@uno.localdomain>","date":"2022-09-28T07:15:30","subject":"Re: [libcamera-devel] [PATCH v1 1/4] libcamera: bayer_format: Add\n\tunpacked mono 12-bit format to the conversion table","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/people/3/","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"content":"Hi Naush\n\nOn Mon, Sep 26, 2022 at 01:29:08PM +0100, Naushir Patuck via libcamera-devel wrote:\n> Add BayerFormat conversions for formats::R12 (12-bit unpacked) format.\n>\n> Signed-off-by: Naushir Patuck <naush@raspberrypi.com>\n\nReviewed-by: Jacopo Mondi <jacopo@jmondi.org>\n\n\n> ---\n>  src/libcamera/bayer_format.cpp | 1 +\n>  1 file changed, 1 insertion(+)\n>\n> diff --git a/src/libcamera/bayer_format.cpp b/src/libcamera/bayer_format.cpp\n> index c2a52f4740d6..f27cc1662d25 100644\n> --- a/src/libcamera/bayer_format.cpp\n> +++ b/src/libcamera/bayer_format.cpp\n> @@ -191,6 +191,7 @@ const std::unordered_map<unsigned int, BayerFormat> mbusCodeToBayer{\n>  \t{ MEDIA_BUS_FMT_SRGGB16_1X16, { BayerFormat::RGGB, 16, BayerFormat::Packing::None } },\n>  \t{ MEDIA_BUS_FMT_Y8_1X8, { BayerFormat::MONO, 8, BayerFormat::Packing::None } },\n>  \t{ MEDIA_BUS_FMT_Y10_1X10, { BayerFormat::MONO, 10, BayerFormat::Packing::None } },\n> +\t{ MEDIA_BUS_FMT_Y12_1X12, { BayerFormat::MONO, 12, BayerFormat::Packing::None } },\n>  };\n>\n>  } /* namespace */\n> --\n> 2.25.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 B3013C0DA4\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 28 Sep 2022 07:15:34 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 255C862296;\n\tWed, 28 Sep 2022 09:15:34 +0200 (CEST)","from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net\n\t[217.70.183.198])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6876661F7A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 28 Sep 2022 09:15:32 +0200 (CEST)","(Authenticated sender: jacopo@jmondi.org)\n\tby mail.gandi.net (Postfix) with ESMTPSA id E7348C000F;\n\tWed, 28 Sep 2022 07:15:31 +0000 (UTC)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1664349334;\n\tbh=E9fyoYG5bseM6Iwx4rfOvwZoBp2x4gwVFeKNPPkNULk=;\n\th=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=Ulw1x6il20GxjJVaxr73trHSEu8B9o85lpYQGZZBzhxJSU/fyF757IarQw+FTUMpa\n\tPYKfmVDRPEA3VuosLiVp+8o70Iv7L4ONV6XBamKnxrI+9sTj//1tMJXc6pBKeok5D3\n\tS1G72u0wO8VecGRRJ/L4ouxQWhLCLsW6Ppcxplss+K18/7oKKVP8WMMIQ9AI5btDZq\n\tqC4S4ggZsZKq7GzgQZzbEW7Y2VN2hJ/LtKsDlSdfvYxTX5kb3m1UvuuubjGP7EceLz\n\t/vDTPjPGbD8F9ZGdwbq/T+5KlPOlmrpMa5AmBYTjeB4X5TLyKVOCpuilJwT/DdtiMZ\n\tLN+GeRJwOm05w==","Date":"Wed, 28 Sep 2022 09:15:30 +0200","To":"Naushir Patuck <naush@raspberrypi.com>","Message-ID":"<20220928071530.s6bihatjh5lh5hqg@uno.localdomain>","References":"<20220926122911.13412-1-naush@raspberrypi.com>\n\t<20220926122911.13412-2-naush@raspberrypi.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<20220926122911.13412-2-naush@raspberrypi.com>","Subject":"Re: [libcamera-devel] [PATCH v1 1/4] libcamera: bayer_format: Add\n\tunpacked mono 12-bit format to the conversion table","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":"Jacopo Mondi via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"Jacopo Mondi <jacopo@jmondi.org>","Cc":"libcamera-devel@lists.libcamera.org","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]