[{"id":25230,"web_url":"https://patchwork.libcamera.org/comment/25230/","msgid":"<CAHW6GYJQiccQ8jV48y+bA1X=vGqNtMyUK6MVQpQ1m6wM703ieg@mail.gmail.com>","date":"2022-10-03T09:37:08","subject":"Re: [libcamera-devel] [PATCH v2 1/4] libcamera: bayer_format: Add\n\tunpacked mono 12-bit format to the conversion table","submitter":{"id":42,"url":"https://patchwork.libcamera.org/api/people/42/","name":"David Plowman","email":"david.plowman@raspberrypi.com"},"content":"Hi Naush\n\nThanks for the patch!\n\nOn Thu, 29 Sept 2022 at 08:23, Naushir Patuck via libcamera-devel\n<libcamera-devel@lists.libcamera.org> wrote:\n>\n> Add BayerFormat conversions for formats::R12 (12-bit unpacked) format.\n>\n> Signed-off-by: Naushir Patuck <naush@raspberrypi.com>\n> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>\n\nReviewed-by: David Plowman <david.plowman@raspberrypi.com>\n\nThanks!\nDavid\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>         { MEDIA_BUS_FMT_SRGGB16_1X16, { BayerFormat::RGGB, 16, BayerFormat::Packing::None } },\n>         { MEDIA_BUS_FMT_Y8_1X8, { BayerFormat::MONO, 8, BayerFormat::Packing::None } },\n>         { MEDIA_BUS_FMT_Y10_1X10, { BayerFormat::MONO, 10, BayerFormat::Packing::None } },\n> +       { 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 296E2BD16B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  3 Oct 2022 09:37:22 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7E84D62CDB;\n\tMon,  3 Oct 2022 11:37:21 +0200 (CEST)","from mail-pl1-x632.google.com (mail-pl1-x632.google.com\n\t[IPv6:2607:f8b0:4864:20::632])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 7298D61F74\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  3 Oct 2022 11:37:20 +0200 (CEST)","by mail-pl1-x632.google.com with SMTP id d24so9206361pls.4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 03 Oct 2022 02:37:20 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1664789841;\n\tbh=RllTRFgug2+WEjOsSn+AZdVLR+STya3xE7TuWNUywss=;\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=CyGZnAvIPEro9YUv/eN0GdcLHEK2mUP8jNism+hb9kPjJEkUi93ZQr8EGqssUoITf\n\t6ULyedlbAkZ4jobruKVj37N1CxTaI3JdSfRMg5CAiz6MS99ryZU5PqrKeU7ZqPs7AK\n\tTtreHHiNWiTsFPqM8THEkp4UwGMpsET6tRCLYon+dVbIyW7aZV74BMbRDlXarI6DR8\n\tNjsOJRvZsSex6H1IOPPWeoyuON1GNVghbdRbiT9tb2rjH5CR40ftqXgaaSwNLG3X3u\n\tRnSlukR40389m7pRqdgX5UDyLVGNvz/fjIMYp8/kvsps714fG9626AKtemc9FU0zYf\n\tI2ok9r90HK/SA==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=cc:to:subject:message-id:date:from:in-reply-to:references\n\t:mime-version:from:to:cc:subject:date;\n\tbh=gjdPKLgOXMpZHg2PXyk/RVmGn4/ffEzq91ovi76NtBQ=;\n\tb=oDFIboSf5FtRGO9EWlzdGTEe9G6jQFPaHJ7b1prdSxdIkVfwWAGgl7PjVT5olultH4\n\tVtxFKhUkiLSdZZKhJVRp+jiZQjDAVQddLfiVPTLWcf8wDC6j8Sa86C2opW9r7dkUeRUI\n\tPOP3bv1H3QFf3FFZ00MJUQsFh0VFnuFDMNf3HlXei0y8yG9mnlnCYA87vSguyWRDTiLm\n\tZ0D7chYl1BYhTF8vVm8qixETIW9pXEW/MZPQLdrjgmUel7qvfIoXeq/TJ6+43OYWKOgD\n\tmn5N7BZNCq3oAau3Lw9/6CHxI0awYLRR3EiMLwqMkOB/cxlbCqyidgNUKRc07KpeC+AJ\n\tyJBQ=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"oDFIboSf\"; dkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\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;\n\tbh=gjdPKLgOXMpZHg2PXyk/RVmGn4/ffEzq91ovi76NtBQ=;\n\tb=DSFuhI8fKXJoWCIeiv66+v6xSBz0Em/fO8f0yS4QqDVojLlRkbDDPXllixruhnSY3a\n\tFCqAM7bB93CeAqiquxTOzB92AOYPH7zd7IVBIO1d838UFoSuNGgwgd+VYNX2H9/eXHl1\n\thsCZlX9jNb+Qapvtz2b4t6pDoBT1V0L4a2I3/bQnj/uyLotiiGeZpNCHBEyEbP/O0Dq/\n\tpuHz1L3e5Od+c857NdFWR1lbZciIZfo52WR0TZshjvK0DTNJcRqiG5PMvgG8ZjZNVW0x\n\t+Sx0g4tXXNUEE+hWLrMUp472lPOs50Jd2bFESVCGJZAEXPRHrwqWZ0q2jFk9bfQyqLeX\n\tZsfQ==","X-Gm-Message-State":"ACrzQf3dsumhkk4YYCJXlNvS4N6aU0zpTPLLiQmr95FztyODvKYLOY5E\n\tAhrsjnnTR1SkSkwoNNq530rhGpZrxO7KsjXCfH5idQ==","X-Google-Smtp-Source":"AMsMyM64LjbAPv3fMLCZLw0xHKZqRMjDre1n89sR8ikLCIilFMdcM8p4LFykklRSbLA+a4dyRubkNpSg14eYLc/fb6E=","X-Received":"by 2002:a17:90a:6405:b0:203:6eaa:4999 with SMTP id\n\tg5-20020a17090a640500b002036eaa4999mr11308185pjj.8.1664789839034;\n\tMon, 03 Oct 2022 02:37:19 -0700 (PDT)","MIME-Version":"1.0","References":"<20220929072323.7400-1-naush@raspberrypi.com>\n\t<20220929072323.7400-2-naush@raspberrypi.com>","In-Reply-To":"<20220929072323.7400-2-naush@raspberrypi.com>","Date":"Mon, 3 Oct 2022 10:37:08 +0100","Message-ID":"<CAHW6GYJQiccQ8jV48y+bA1X=vGqNtMyUK6MVQpQ1m6wM703ieg@mail.gmail.com>","To":"Naushir Patuck <naush@raspberrypi.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Subject":"Re: [libcamera-devel] [PATCH v2 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":"David Plowman via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"David Plowman <david.plowman@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>"}}]