Patch Detail
Show a patch.
GET /api/patches/14441/?format=api
{ "id": 14441, "url": "https://patchwork.libcamera.org/api/patches/14441/?format=api", "web_url": "https://patchwork.libcamera.org/patch/14441/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/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": "<20211101091510.23204-7-naush@raspberrypi.com>", "date": "2021-11-01T09:15:05", "name": "[libcamera-devel,v5,06/11] libcamera: bayer_format: Add unpacked mono 10-bit format to the conversion table", "commit_ref": "16ab13eaa94eb05554cba8ce585caa1fa3ee8f50", "pull_url": null, "state": "accepted", "archived": false, "hash": "6423d152e6b72c1a9197b59b47029b51c2da21bc", "submitter": { "id": 34, "url": "https://patchwork.libcamera.org/api/people/34/?format=api", "name": "Naushir Patuck", "email": "naush@raspberrypi.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/14441/mbox/", "series": [ { "id": 2684, "url": "https://patchwork.libcamera.org/api/series/2684/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2684", "date": "2021-11-01T09:14:59", "name": "Raspberry Pi: Conversion to media controller", "version": 5, "mbox": "https://patchwork.libcamera.org/series/2684/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/14441/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/14441/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 232D5C3250\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 1 Nov 2021 09:15:22 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id CEB94600C4;\n\tMon, 1 Nov 2021 10:15:21 +0100 (CET)", "from mail-wr1-x429.google.com (mail-wr1-x429.google.com\n\t[IPv6:2a00:1450:4864:20::429])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id AF35860128\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 1 Nov 2021 10:15:17 +0100 (CET)", "by mail-wr1-x429.google.com with SMTP id u18so27199766wrg.5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 01 Nov 2021 02:15:17 -0700 (PDT)", "from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:3a2b:9d8c:92b9:ece6])\n\tby smtp.gmail.com with ESMTPSA id\n\tw10sm13168849wrq.88.2021.11.01.02.15.16\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 01 Nov 2021 02:15:16 -0700 (PDT)" ], "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"eBaNO+bE\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=YesGHpRAyZMpmSPOBCJXtfRxd1p/hEyqkx/brSyO1nk=;\n\tb=eBaNO+bEQtD517HXixD2GGZL4sXzIBu+LQIm06cQV94yaRRh+YxevHLgjl3ieWFkpv\n\txGIY1Ops6pRZm11ktne+ETs2DcnsCpQqKNEglAFsrHB1U2EtdgRb/LEhilDwOkPOchpV\n\tF7v5hMJtgROlF9qwRIOPtP46x35iCthd5F6AdGWalb+EbU9ghIQ1KE/3fGKvctNHZ2nE\n\takAwuTo1leDI18jvC7Rw+qKWftjjXgeJHaYYEI/dUrpRAP7cWzqgEZq4WHFDKjERArZA\n\t0qOYnX2oUylpUXgm/inUzh0pOrUJFroS7RuQZN7JFi42My73BTWPkFqNlxrJwE9s8feu\n\tMaiQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=YesGHpRAyZMpmSPOBCJXtfRxd1p/hEyqkx/brSyO1nk=;\n\tb=GrWqCws1Ovlh94yRSmVqGvIZ8FugXfPYVRBRt3a7eGJrDavEL9RqOEwGGPoie2K54p\n\t1F11DvFeVCWmmhFMmNgctZl/m8LrwW5CCvPFOxIM6MoKwwki4XDrpXxaBbfGR/lNpvYc\n\tf4/OooWHvALJZeGMjCMdR/dR51oYkrI2XryYsXPDKVxc1wDbY2mJGcz7QhFojouOj//0\n\tJRFCFM4Q4nFpZ4CWYJDRjoWsutSzdnkY3WTLEmOH7mWIjZ0XthiI0wpihPLpj4lhSkVL\n\tz8/HkITI8KuoEuVrho1d3PqDGlVAmNawP2nW+E90tMGZUS6vVS710Y0my3Ov9JeNXRIp\n\tNrWg==", "X-Gm-Message-State": "AOAM532N90KUGmFoJbdlyj07IF+NlFEtoJiiCNuZNAN/BCGEXuIHrSv7\n\teEuPcSxm2D0V+TmvMA7u0lhJU/n8M9WgnwZm", "X-Google-Smtp-Source": "ABdhPJz6ziOs1ZkzP85nUYGBHr6RBxOlJqRKkMOqxc38InzmdWkI/YsGHY1xZssuObNqp3Oy/3yaGg==", "X-Received": "by 2002:a5d:648b:: with SMTP id\n\to11mr37081766wri.56.1635758117262; \n\tMon, 01 Nov 2021 02:15:17 -0700 (PDT)", "From": "Naushir Patuck <naush@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Mon, 1 Nov 2021 09:15:05 +0000", "Message-Id": "<20211101091510.23204-7-naush@raspberrypi.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20211101091510.23204-1-naush@raspberrypi.com>", "References": "<20211101091510.23204-1-naush@raspberrypi.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v5 06/11] libcamera: bayer_format: Add\n\tunpacked mono 10-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>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Add BayerFormat conversions for formats::R10 (10-bit unpacked) format.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n src/libcamera/bayer_format.cpp | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/src/libcamera/bayer_format.cpp b/src/libcamera/bayer_format.cpp\nindex 120115ce8f62..8665a025f7e0 100644\n--- a/src/libcamera/bayer_format.cpp\n+++ b/src/libcamera/bayer_format.cpp\n@@ -149,6 +149,8 @@ const std::map<BayerFormat, Formats, BayerFormatComparator> bayerToFormat{\n \t\t{ formats::SRGGB16, V4L2PixelFormat(V4L2_PIX_FMT_SRGGB16) } },\n \t{ { BayerFormat::MONO, 8, BayerFormat::Packing::None },\n \t\t{ formats::R8, V4L2PixelFormat(V4L2_PIX_FMT_GREY) } },\n+\t{ { BayerFormat::MONO, 10, BayerFormat::Packing::None },\n+\t\t{ formats::R10, V4L2PixelFormat(V4L2_PIX_FMT_Y10) } },\n \t{ { BayerFormat::MONO, 10, BayerFormat::Packing::CSI2 },\n \t\t{ formats::R10_CSI2P, V4L2PixelFormat(V4L2_PIX_FMT_Y10P) } },\n };\n", "prefixes": [ "libcamera-devel", "v5", "06/11" ] }