Show a patch.

GET /api/1.1/patches/15698/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 15698,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/15698/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/15698/",
    "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": "<20220421151117.703956-2-naush@raspberrypi.com>",
    "date": "2022-04-21T15:11:16",
    "name": "[libcamera-devel,v3,1/2] libcamera: Add a SensorSensitivity property",
    "commit_ref": "998d23c0a2255de092d6297d12600ffa1bfa3295",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "9c49df15570ba0ad2e77d42833404e2b771325c8",
    "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/15698/mbox/",
    "series": [
        {
            "id": 3064,
            "url": "https://patchwork.libcamera.org/api/1.1/series/3064/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3064",
            "date": "2022-04-21T15:11:15",
            "name": "Application support for per-mode sensitivities",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/3064/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/15698/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/15698/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 88BB2C3260\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 21 Apr 2022 15:11:27 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4987B65647;\n\tThu, 21 Apr 2022 17:11:27 +0200 (CEST)",
            "from mail-wr1-x431.google.com (mail-wr1-x431.google.com\n\t[IPv6:2a00:1450:4864:20::431])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C2D3665641\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 21 Apr 2022 17:11:24 +0200 (CEST)",
            "by mail-wr1-x431.google.com with SMTP id bv16so7105491wrb.9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 21 Apr 2022 08:11:24 -0700 (PDT)",
            "from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:6bd1:8370:773e:357e])\n\tby smtp.gmail.com with ESMTPSA id\n\tk63-20020a1ca142000000b0038ff2c38e85sm2267683wme.39.2022.04.21.08.11.23\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 21 Apr 2022 08:11:23 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1650553887;\n\tbh=/srzPELWhNOwQikox14BL88h8/TLnOjVs/takO03HQw=;\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=OGf2w9qTsmXPofD+bMTMfmCavCrGDtSBuoFkmsMK2VNJSlOLsXTjcqBIwyGK4fa/I\n\tiqhwFg76NlSi2fFHvgI3dRGc3qG60/1EyNy3EiVqP1NjqC5Mw4LAvUNxfEImluXDU6\n\tceARELBNxD3+YY5O6S+Z3UGIA9QQO50d+jc4y1xNW1Rwg2XWEpXu3fe1Z6jQzqhOkd\n\tExPUTYvGDLAQ0X1s4PcSe1L+NSrRz064P+lXSGtZl1TtTDFkZKypTAdsXL4LiDjXOm\n\t3B0RLUxMWTg2nfLujUSxSx9f6CsKQNUwCK4BhApGrvZCm10ZwGKn1GkDBS1YWkLqSp\n\tQVDfz3DV0juiw==",
            "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=zIfYpFNk3DA5BdEjHx98vV37+ytEtgwFyTClAn2at/M=;\n\tb=jYPLMRY5J74L3ipW/cgdB+HpvSmvLZEXK3IqrViu39gtp4TkTSTrLwdgugTGU4y3B8\n\tGpg7pOfiOtabipQ5ovE7ODNxj+NDtI/yPdA2tb+YNYXQqPvpLyWsY3P/rPTrrEs8gkGw\n\tN0d2guBrzgQSYgNmFsSmeFiKLBImata7LTWDch423H1mNXjNNcDVkI4j2o9tbTACRc1j\n\tqh2Z6fuDBWWPNaOSg0IPYcLKJESxxsT4oqTqi7kfmM0xsXl4wsw1JufbC/wR4e1qYxue\n\tU3228c7cJKerWhccKENa4gBn8AcIw9Wympc5fpnh1dCRK0qr19XnPHC6BAn/UnOoRqAW\n\tJO2w=="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"jYPLMRY5\"; dkim-atps=neutral",
        "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=zIfYpFNk3DA5BdEjHx98vV37+ytEtgwFyTClAn2at/M=;\n\tb=BtYosTRLSfjCdZh6k/vvMbsfSy9HcXOfG565z5nSPzwLuR2rOBAR0lvqwRMEmUYjW9\n\tSEuYGZD2ApkkRIKRh1xklssFgVKjOQyi7S3+QqIxm3JC9jQt7hFgKjtNBgAP4KFlvaQr\n\tLIwFdtcB18HiLjEIlWK1Hn1/QpWfCl8m9snCBlq/18IuaCSDDbYYiwNMGZ46agMnaw/n\n\tdDa54g6Rkn39Jqu6mZKDqRXhwsd9NVXr0VpO/DvZsCjQSsnrJBtweC1VuRDi1IDVLaP3\n\tfAVFxDEtPToU9+7ZZFDLxAVS8T1vf2Dq5Xd//7IUj7j4R5kS/PehOrtlreyMmLadEjit\n\tmnYQ==",
        "X-Gm-Message-State": "AOAM532iieuG7iEbantyp5VO/2twnrDNujvJb13juRqDU0rQUXf5pnj5\n\tuJsgiqgfLQZqNS8t9EVA4p4//IqlLYd8ng==",
        "X-Google-Smtp-Source": "ABdhPJxHj1Les6XrzxUoDZ4wj/5NY/xSLOoQ1qY+yVYJpDUM4nrClk/7D6ogDtAKssV7eZsIGIxX9w==",
        "X-Received": "by 2002:adf:e194:0:b0:207:b4c9:31c6 with SMTP id\n\taz20-20020adfe194000000b00207b4c931c6mr181723wrb.102.1650553884289; \n\tThu, 21 Apr 2022 08:11:24 -0700 (PDT)",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Thu, 21 Apr 2022 16:11:16 +0100",
        "Message-Id": "<20220421151117.703956-2-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220421151117.703956-1-naush@raspberrypi.com>",
        "References": "<20220421151117.703956-1-naush@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v3 1/2] libcamera: Add a SensorSensitivity\n\tproperty",
        "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": "The SensorSensitivity property is a scaling factor that describes how sensitive\nthe selected sensor mode is compared to other readout modes of the same sensor.\nFor example, a binned mode might have twice the sensitivity of the full\nresolution mode, meaning you would get double the signal level for the same\nexposure and gains.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n src/libcamera/property_ids.yaml | 12 ++++++++++++\n 1 file changed, 12 insertions(+)",
    "diff": "diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml\nindex 12ecbce5eed4..11b7ebdc3105 100644\n--- a/src/libcamera/property_ids.yaml\n+++ b/src/libcamera/property_ids.yaml\n@@ -678,6 +678,18 @@ controls:\n         \\todo Turn this property into a \"maximum control value\" for the\n         ScalerCrop control once \"dynamic\" controls have been implemented.\n \n+  - SensorSensitivity:\n+      type: float\n+      description: |\n+        The relative sensitivity of the chosen sensor mode.\n+\n+        Some sensors have readout modes with different sensitivities. For example,\n+        a binned camera mode might, with the same exposure and gains, produce\n+        twice the signal level of the full resolution readout. This would be\n+        signalled by the binned mode, when it is chosen, indicating a value here\n+        that is twice that of the full resolution mode. This value will be valid\n+        after the configure method has returned successfully.\n+\n   # ----------------------------------------------------------------------------\n   # Draft properties section\n \n",
    "prefixes": [
        "libcamera-devel",
        "v3",
        "1/2"
    ]
}