Patch Detail
Show a patch.
GET /api/1.1/patches/10267/?format=api
{ "id": 10267, "url": "https://patchwork.libcamera.org/api/1.1/patches/10267/?format=api", "web_url": "https://patchwork.libcamera.org/patch/10267/", "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": "<20201027141246.4708-2-david.plowman@raspberrypi.com>", "date": "2020-10-27T14:12:46", "name": "[libcamera-devel,1/1] libcamera: controls: Add DigitalGain control", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "ae4c9cd0408b5b23b4ee4654f0471d1ceb2ef2c4", "submitter": { "id": 42, "url": "https://patchwork.libcamera.org/api/1.1/people/42/?format=api", "name": "David Plowman", "email": "david.plowman@raspberrypi.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/10267/mbox/", "series": [ { "id": 1420, "url": "https://patchwork.libcamera.org/api/1.1/series/1420/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1420", "date": "2020-10-27T14:12:45", "name": "DigitalGain control", "version": 1, "mbox": "https://patchwork.libcamera.org/series/1420/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/10267/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/10267/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 2AE02BDB1E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 27 Oct 2020 14:12:56 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id DB692620BE;\n\tTue, 27 Oct 2020 15:12:55 +0100 (CET)", "from mail-wr1-x442.google.com (mail-wr1-x442.google.com\n\t[IPv6:2a00:1450:4864:20::442])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3599F62034\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 27 Oct 2020 15:12:53 +0100 (CET)", "by mail-wr1-x442.google.com with SMTP id y12so2084391wrp.6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 27 Oct 2020 07:12:53 -0700 (PDT)", "from pi4-davidp.pitowers.org\n\t([2a00:1098:3142:14:1ce1:9965:4328:89c4])\n\tby smtp.gmail.com with ESMTPSA id\n\tw1sm2083186wrp.95.2020.10.27.07.12.51\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 27 Oct 2020 07:12:51 -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=\"NW5wqnlL\"; 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=DoSxPkvwtjyKHiSql3OGAHick4p2IIwPpboTvl/xkpg=;\n\tb=NW5wqnlLkb/QPcquVmfTKIi7JWlwdDimBIsdVgGh/SSO0OesxNicHQXXb5Wlh6TIsn\n\tZryxZb6p4bDgmPmpZfItVoA8BRm0WD4j8JlcKQYC7V6YcuHMr76KrhhMoSoJxWZi9Tqd\n\t3u/WXDEFI7ZaL6t9o3eIcbhRtYYquXCZl7MahGlbtMUpwbPnJ3BHvb0MxUS8zWXn23uC\n\tJsc0wvLMI62QVKOHZCaILUv+UsPQNCISl8+30lVgzmAjmETzMDGB/7Ya0Wzs07HnFiZj\n\tiKHTiZDg1VbCRiOH0fNApK8UcAISikpAqURcEbWuOBh+UFYhJ+7BLFPlb15iVc0v9kfh\n\tw7og==", "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=DoSxPkvwtjyKHiSql3OGAHick4p2IIwPpboTvl/xkpg=;\n\tb=t5XaIZc5MjcBHwSkXAn2z834tmxZRmaeYXJ2xh7ds/0j/wNmODWMJ72bjBbISlwy75\n\tWOUSW5HUGyYORH1YgIx1ZY46wQkMZ7qfjTLW5Qo6dLWDXsoiYQgF/tImISu3VpR/lmMh\n\t1tR8kcSKc+8yhqNNnWVez0SsZrSteOk3EAg4GFH+jpfVrchn3LX8J1wkbXYIgPkYaKdh\n\tAlzsTW+VZqwxk5t8Xy89CsB/H/IZyEi3TCYMXMSu0OMk84VEFJjoXS5MvmEKKMaYz7hI\n\tF3u1ljo2BEixqgxJB0nYb/FO9pSkqhl5wu7bjqpgjwG7zcDR5mqZCeAytJl0p0xEh7vF\n\tzOmw==", "X-Gm-Message-State": "AOAM533SpTKNKyQ2eLkQAmWELiVNwDJpG4Q9g+EVcGBkdILNi7Bk0Iqs\n\t4Af4DnfS8YIsnJ/qiqRjjofu6F0nsnsYZw==", "X-Google-Smtp-Source": "ABdhPJw1zvjDGSrLLQ6zLVDML4UKXV6kT0CIqHve33tLKHU7eX4HzZVBmhnmvpYcmV1K7pTVvqkyng==", "X-Received": "by 2002:a5d:4cd1:: with SMTP id\n\tc17mr3167155wrt.109.1603807972634; \n\tTue, 27 Oct 2020 07:12:52 -0700 (PDT)", "From": "David Plowman <david.plowman@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Tue, 27 Oct 2020 14:12:46 +0000", "Message-Id": "<20201027141246.4708-2-david.plowman@raspberrypi.com>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20201027141246.4708-1-david.plowman@raspberrypi.com>", "References": "<20201027141246.4708-1-david.plowman@raspberrypi.com>", "MIME-Version": "1.0", "Subject": "[libcamera-devel] [PATCH 1/1] libcamera: controls: Add DigitalGain\n\tcontrol", "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": "This control reports the global digital gain applied by the pipeline\nas a whole, after capturing a raw image from the sensor.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/libcamera/control_ids.yaml | 11 +++++++++++\n 1 file changed, 11 insertions(+)", "diff": "diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex c8874fa9..e6362c74 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -530,4 +530,15 @@ controls:\n This control is only present when the pipeline supports scaling. Its\n maximum valid value is given by the properties::ScalerCropMaximum\n property, and the two can be used to implement digital zoom.\n+\n+ - DigitalGain:\n+ type: float\n+ description: |\n+ Global digital gain value applied to the image during all the\n+ processing steps after capturing the image from the sensor. Any raw\n+ images, therefore, will not include this gain, but the final images\n+ output by the imaging pipeline as a whole will include it.\n+\n+ This control is intended to report the value used by the image\n+ processing pipeline.\n ...\n", "prefixes": [ "libcamera-devel", "1/1" ] }