Patch Detail
Show a patch.
GET /api/patches/10442/?format=api
{ "id": 10442, "url": "https://patchwork.libcamera.org/api/patches/10442/?format=api", "web_url": "https://patchwork.libcamera.org/patch/10442/", "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": "<20201117093205.9521-3-david.plowman@raspberrypi.com>", "date": "2020-11-17T09:32:05", "name": "[libcamera-devel,2/2] src: ipa: raspberrypi: Change 'sport' exposure mode name to 'short'", "commit_ref": "666905182511153f86d041dcc501f6fc37ba793b", "pull_url": null, "state": "accepted", "archived": false, "hash": "de6d7e227e69dbeeb98b65f25aba85b6565b2f99", "submitter": { "id": 42, "url": "https://patchwork.libcamera.org/api/people/42/?format=api", "name": "David Plowman", "email": "david.plowman@raspberrypi.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/10442/mbox/", "series": [ { "id": 1465, "url": "https://patchwork.libcamera.org/api/series/1465/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1465", "date": "2020-11-17T09:32:03", "name": "Raspberry Pi control fixes", "version": 1, "mbox": "https://patchwork.libcamera.org/series/1465/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/10442/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/10442/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 5056EBE082\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 17 Nov 2020 09:32:14 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C0BBD63329;\n\tTue, 17 Nov 2020 10:32:13 +0100 (CET)", "from mail-wr1-x433.google.com (mail-wr1-x433.google.com\n\t[IPv6:2a00:1450:4864:20::433])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3DCBC63282\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 17 Nov 2020 10:32:11 +0100 (CET)", "by mail-wr1-x433.google.com with SMTP id o15so22447805wru.6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 17 Nov 2020 01:32:11 -0800 (PST)", "from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\tc62sm2666966wme.22.2020.11.17.01.32.09\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 17 Nov 2020 01:32:10 -0800 (PST)" ], "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=\"XSgrmJpW\"; 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=6MHsSTwps/fXcvuXbZNYjauR7mMiCJ60NlJ3/zhDPIg=;\n\tb=XSgrmJpWyfzogRHT42jtp/Fwe2BIm0Pq1bmQs2khOKpw3FY1cIN2vETj2wPMwZig6d\n\tvMakKgOcPJdM4+V8l0Pq4KIKuCsBt/FMu+ACJPPuo3QQ+0XuuHc6DzgFjYuu5rGXRlHy\n\tSSZPEsDWM3EhVNF6dK3NP6d2cpooPBo/sDCjei4QbGp39LiwtKrXYc9B2xnSeBR7DJmU\n\tglrkIa+ppcVo4skKIPnmG+POPckZwCM7S1u+WQZiVzlIZwbUzY04ju7G0aDnEPTQQlsh\n\t2VZHraB8fNBvO3SNbxKDwOB0eBI2J0/tJiuLFK8D2TpbwykC5IoKWm3VIFeU8izd9+8+\n\tnHfQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\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=6MHsSTwps/fXcvuXbZNYjauR7mMiCJ60NlJ3/zhDPIg=;\n\tb=S0OHdTGOZO6SmzK9P4IAAaRQU35eONfj6EafxLg23N1Ab77jqzFRo61W0Se+wfHso1\n\tqtsKkYgrX2ViP3oznSsFLxcbTwqD520epSapEIo7uYsf8ubJ/P5uW71gfIjijGEY0Pcf\n\tK1czQHhg0VNQ7Yvw5dpWwgbNBOCb5kkG2PEKfI013rA/2OlFeQe8p86hazVNugPNJ0lI\n\tf8sGVocBnqr5UlVgEYELWM1ZBnSpreDxfEVQPusHXrnA5ZmjjBKP1FeL6JqgxFkZTx0w\n\tcZrWzOmOuxV4YuZydi4jhVfMpKEd6+1tV20upqdzlvan82R+F7KYlLU6THXcUm8Qe+wS\n\tJ8zQ==", "X-Gm-Message-State": "AOAM531wfmqQd5eU4B9/QSJZ3K6HuITek/cuMFo2MXllOA6l2I1HAUQ5\n\tbsH+iTXV2MKi7EJVi4L9tXfYhSRvvzNKrw==", "X-Google-Smtp-Source": "ABdhPJxRSwzl8ytlMD0hc+LKVE/bf6MUat6Iz8gWJy57CVmtA3+/yor7hp49kvUH100ngrBX6XPYmw==", "X-Received": "by 2002:adf:f183:: with SMTP id\n\th3mr24736264wro.239.1605605530715; \n\tTue, 17 Nov 2020 01:32:10 -0800 (PST)", "From": "David Plowman <david.plowman@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Tue, 17 Nov 2020 09:32:05 +0000", "Message-Id": "<20201117093205.9521-3-david.plowman@raspberrypi.com>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20201117093205.9521-1-david.plowman@raspberrypi.com>", "References": "<20201117093205.9521-1-david.plowman@raspberrypi.com>", "MIME-Version": "1.0", "Subject": "[libcamera-devel] [PATCH 2/2] src: ipa: raspberrypi: Change 'sport'\n\texposure mode name to 'short'", "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>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "The names have to match for the setting to work. I've chosen to go\nwith the libcamera terminology (even though it touches more files).\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/ipa/raspberrypi/data/imx219.json | 2 +-\n src/ipa/raspberrypi/data/imx477.json | 2 +-\n src/ipa/raspberrypi/data/ov5647.json | 2 +-\n utils/raspberrypi/ctt/ctt.py | 2 +-\n 4 files changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/src/ipa/raspberrypi/data/imx219.json b/src/ipa/raspberrypi/data/imx219.json\nindex ce7ff36f..b03a7beb 100644\n--- a/src/ipa/raspberrypi/data/imx219.json\n+++ b/src/ipa/raspberrypi/data/imx219.json\n@@ -140,7 +140,7 @@\n 1.0, 2.0, 4.0, 6.0, 6.0\n ]\n },\n- \"sport\":\n+ \"short\":\n {\n \"shutter\":\n [\ndiff --git a/src/ipa/raspberrypi/data/imx477.json b/src/ipa/raspberrypi/data/imx477.json\nindex 73ad1ae9..12fe2f41 100644\n--- a/src/ipa/raspberrypi/data/imx477.json\n+++ b/src/ipa/raspberrypi/data/imx477.json\n@@ -140,7 +140,7 @@\n 1.0, 2.0, 4.0, 6.0, 6.0\n ]\n },\n- \"sport\":\n+ \"short\":\n {\n \"shutter\":\n [\ndiff --git a/src/ipa/raspberrypi/data/ov5647.json b/src/ipa/raspberrypi/data/ov5647.json\nindex a2469059..3d8a7c8f 100644\n--- a/src/ipa/raspberrypi/data/ov5647.json\n+++ b/src/ipa/raspberrypi/data/ov5647.json\n@@ -140,7 +140,7 @@\n 1.0, 2.0, 4.0, 6.0, 6.0\n ]\n },\n- \"sport\":\n+ \"short\":\n {\n \"shutter\":\n [\ndiff --git a/utils/raspberrypi/ctt/ctt.py b/utils/raspberrypi/ctt/ctt.py\nindex 30d35ae4..15064634 100755\n--- a/utils/raspberrypi/ctt/ctt.py\n+++ b/utils/raspberrypi/ctt/ctt.py\n@@ -130,7 +130,7 @@ class Camera:\n \"shutter\": [100, 10000, 30000, 60000, 120000],\n \"gain\": [1.0, 2.0, 4.0, 6.0, 6.0]\n },\n- \"sport\": {\n+ \"short\": {\n \"shutter\": [100, 5000, 10000, 20000, 120000],\n \"gain\": [1.0, 2.0, 4.0, 6.0, 6.0]\n }\n", "prefixes": [ "libcamera-devel", "2/2" ] }