Patch Detail
Show a patch.
GET /api/1.1/patches/17406/?format=api
{ "id": 17406, "url": "https://patchwork.libcamera.org/api/1.1/patches/17406/?format=api", "web_url": "https://patchwork.libcamera.org/patch/17406/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20220926122911.13412-2-naush@raspberrypi.com>", "date": "2022-09-26T12:29:08", "name": "[libcamera-devel,v1,1/4] libcamera: bayer_format: Add unpacked mono 12-bit format to the conversion table", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "6010dca1877ff7e6c886cad765d9344a29d5bf8b", "submitter": { "id": 34, "url": "https://patchwork.libcamera.org/api/1.1/people/34/?format=api", "name": "Naushir Patuck", "email": "naush@raspberrypi.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/17406/mbox/", "series": [ { "id": 3504, "url": "https://patchwork.libcamera.org/api/1.1/series/3504/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3504", "date": "2022-09-26T12:29:07", "name": "imx296 colour tuning", "version": 1, "mbox": "https://patchwork.libcamera.org/series/3504/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/17406/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/17406/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 3E2BABD16B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 26 Sep 2022 12:29:24 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 659A76225A;\n\tMon, 26 Sep 2022 14:29:22 +0200 (CEST)", "from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com\n\t[IPv6:2a00:1450:4864:20::32b])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 09F116218B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 26 Sep 2022 14:29:21 +0200 (CEST)", "by mail-wm1-x32b.google.com with SMTP id ay36so4403743wmb.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 26 Sep 2022 05:29:21 -0700 (PDT)", "from naush-laptop.localdomain ([93.93.133.154])\n\tby smtp.gmail.com with ESMTPSA id\n\ti24-20020a1c5418000000b003a601a1c2f7sm11243700wmb.19.2022.09.26.05.29.19\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 26 Sep 2022 05:29:20 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1664195362;\n\tbh=yj/jTMvBsZS1ayEbLDZyvfn94nLkIwbn9g4dR4W+CXM=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=mfjMvm6i1DVO7m19zm54Tf3b+PZ2hGMTgNcUQs27cFUW6fQvOzjNrKt9xf6Px3BV4\n\tunA0YFkGqWFTJgGPS0yFLs5xpRJgpLuIrugPx1CcfaHZ+FkwK6CJDe/JkP0aRI8qYg\n\txXYYfKZgAtNzDAoVG3hGAxLyT/aVNJiETN84Ez92Egzrs8p6KqiIQe8HK1y79WTZtK\n\tANIDnS65pgKZMEvd16+HSC6KzxZsy0IUGQMkgTleXDogEZxzGl3p5utGwpWxo/QXtv\n\tYm0uQfPEqGW3B4H7daLRkuIk8VU+pK/jNiPdXlwNlxuLXlYwmYa/rlnRYS+OG7z3hZ\n\t8eSZez2ZwNjvw==", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date;\n\tbh=1dZeFwrbwJ+KJHzRqVZrZyvDMarrSJCU4CMpHHuzvAI=;\n\tb=glfKQKYSU/wgCpe2Mfjr5s4Lly1LeLV/WizLlks/nuww+2OC4dhwRICXJaLJHhBJKo\n\t7swhkulPmRJkGfv78a8FXfpFLl1oKdraOuwx/Xt/Y44ORyLyxW1v/qDWOd2SVyUGQGhI\n\tLsw2xjLlbE5To2hpgg4LjCpIf4wvz6Gm07d5Sb+23wYj5uoqn5vvDZUuG27tx1nYJhWm\n\t7DZFpAv8AgVj9ber07HVTh6RRw5wCe+JGgMVzcoF40xr7p2dJgf4yY/gSMjYT5et1bZS\n\tM/s1ehIEBTrzHiNdZL30SlsPMne0Megob8BVb69cN7eW5iY9tE/2cXXYMEpSCZMcfdmO\n\tgCyw==" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"glfKQKYS\"; dkim-atps=neutral", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date;\n\tbh=1dZeFwrbwJ+KJHzRqVZrZyvDMarrSJCU4CMpHHuzvAI=;\n\tb=BsEVl6oCX8UFn8rtPf4/JTbizyXxSK+ebPPKYL8Jbr4fo5Mq4Xx1ZjUUJ4nL/Fn88N\n\tQDhh+5PGthtzbGmzDcRzV4e7v5PJFERpeg43u1ThMPt06e5K+UIiFVGsrfkTR05ecfLx\n\txpg5kjmHx/vehydadmDAWYfi5Pr5kqwm7nWG3D9Y3/WF8Tj25xqPIVvuF+x9lFKhpusJ\n\tIp6HYmA/YZOzuFIi3tX//qU/teB4VK3qDoQ1lNQ9lugrQTbwijlLZvBIXoAU9i3jH37m\n\tC65h/PNSTOUuEVzD3ETCFYSmH/mKpfawaCVB8ge+HRRJ2KjQD5dLSDb/16G2XXfI78em\n\t6d4g==", "X-Gm-Message-State": "ACrzQf35SQ0teJYOzX6ZHZE8+fNnWGAOtl6oT4qc0zMMS5MVsJctwf7x\n\tDQWIacFR/RGWZdidRJ4ZF5Qmmsat2xBupDIA", "X-Google-Smtp-Source": "AMsMyM71Xe7R2O8NGaXhIdkba2+52nDDNREuwbpyGkXA9iUSKtCMRgQgRHIn5DpfkGIUKifMeHjCzA==", "X-Received": "by 2002:a05:600c:1d28:b0:3b4:91f4:897d with SMTP id\n\tl40-20020a05600c1d2800b003b491f4897dmr14691877wms.137.1664195360451; \n\tMon, 26 Sep 2022 05:29:20 -0700 (PDT)", "To": "libcamera-devel@lists.libcamera.org", "Date": "Mon, 26 Sep 2022 13:29:08 +0100", "Message-Id": "<20220926122911.13412-2-naush@raspberrypi.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20220926122911.13412-1-naush@raspberrypi.com>", "References": "<20220926122911.13412-1-naush@raspberrypi.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[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": "Naushir Patuck via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>", "Reply-To": "Naushir Patuck <naush@raspberrypi.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Add BayerFormat conversions for formats::R12 (12-bit unpacked) format.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n src/libcamera/bayer_format.cpp | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/src/libcamera/bayer_format.cpp b/src/libcamera/bayer_format.cpp\nindex 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", "prefixes": [ "libcamera-devel", "v1", "1/4" ] }