Show a patch.

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

{
    "id": 9866,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/9866/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/9866/",
    "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": "<20200929164000.15429-4-david.plowman@raspberrypi.com>",
    "date": "2020-09-29T16:39:57",
    "name": "[libcamera-devel,v3,3/6] libcamera: Add IspCrop control",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "84263b1ba001702de1556b52608c250cc4b7df7f",
    "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/9866/mbox/",
    "series": [
        {
            "id": 1337,
            "url": "https://patchwork.libcamera.org/api/1.1/series/1337/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1337",
            "date": "2020-09-29T16:39:54",
            "name": "Digital zoom",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/1337/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/9866/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/9866/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 09513C3B5B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 29 Sep 2020 16:40:11 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9DC6C621F1;\n\tTue, 29 Sep 2020 18:40:10 +0200 (CEST)",
            "from mail-wr1-x444.google.com (mail-wr1-x444.google.com\n\t[IPv6:2a00:1450:4864:20::444])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id D45FA60BD3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 29 Sep 2020 18:40:07 +0200 (CEST)",
            "by mail-wr1-x444.google.com with SMTP id m6so6196498wrn.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 29 Sep 2020 09:40:07 -0700 (PDT)",
            "from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\tq12sm6977393wrs.48.2020.09.29.09.40.06\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 29 Sep 2020 09:40:06 -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=\"QhEAzrnn\"; 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=/leO2kIIvDQeQWWXnaPMsfkqUL7f0ewPekfAGiaUNTY=;\n\tb=QhEAzrnnP4gu0fwDhxVL9lHwwPJk0OxUD4LSFbYOxGT22M1N2XX7/YlQjdN5eskzYd\n\tunVRlr6UVRUrNZso0QB6apJF7LByvIkzNmx3/EVwmpsn1GikD3l/5AITL0c54ijm5eyT\n\tMM0WQWhXcFxDM1TVRQi5u7aGY3ohDSCVfFta2dnzl/qGenuRBSKoh5eqfCkaiMlmb2Mi\n\tPKALkGYRRdE8znWiO0lZ+XunFVruiTKSmE5dStv7mewmqDlqPNfX70ovXGc5x8MZYHKu\n\ti+bSnHBLWLHcdTcKRo2twAwwXQ7+NezmV+2ehKQtFWLMwMtAN6DD1MgonkoRtszf0fks\n\t0WIg==",
        "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=/leO2kIIvDQeQWWXnaPMsfkqUL7f0ewPekfAGiaUNTY=;\n\tb=WMGgGwNHvmpfp52bbRp3QEb1i5jz/BuF5OpS9A10bnUJbb0ZsqdrUqFOcBZ1sXvprl\n\t59fqpwQ6bLxPQ9KMyhlxqiHrE9t8dO/OD804qJNRUSI28c3so/p2GBGlWvPEggyWeQAs\n\tr7pr7qty8tU/W4Kk2ouiQXAHVbvKM3P5pHpqqwjuUPOaiIThDcf//U0qOlNhl7WTU56n\n\tre4i/nyRKB1UwirIIT8krrhc3gKyoWqtx+SoTyqwW3h0ihi/tG3Q9gQRQ+76sn5eR8K0\n\tV2StdbsFFZRsuNGjIyqTTZF0w89DNiTtUkSGsYIGupx6jQxCULYenKs5og/oZtzrzJ1I\n\t2Cag==",
        "X-Gm-Message-State": "AOAM531PZBJSvH4q95LTi0g4jnRm3R92Av3PW8AJWsYJ41jzQQbtnTca\n\t8Qy1idbORoo1a0sau3nH+2ckIOYxqQfcpQ==",
        "X-Google-Smtp-Source": "ABdhPJwvYguy3r+pSwjXRuuTpG7nKcBq5squGv1opK5FB4sjAVhbNgFpvY/0ITdadXejUlT+uaLgdA==",
        "X-Received": "by 2002:adf:ec92:: with SMTP id z18mr5692652wrn.53.1601397607396;\n\tTue, 29 Sep 2020 09:40:07 -0700 (PDT)",
        "From": "David Plowman <david.plowman@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Tue, 29 Sep 2020 17:39:57 +0100",
        "Message-Id": "<20200929164000.15429-4-david.plowman@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20200929164000.15429-1-david.plowman@raspberrypi.com>",
        "References": "<20200929164000.15429-1-david.plowman@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH v3 3/6] libcamera: Add IspCrop control",
        "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 IspCrop control selects how much of the sensor's output image\nwill be scaled to form the output image. It can be used to implement\ndigital zoom.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/libcamera/control_ids.yaml | 12 ++++++++++++\n 1 file changed, 12 insertions(+)",
    "diff": "diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 3560d4a8..46a4bd94 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -273,4 +273,16 @@ controls:\n         order in an array of 9 floating point values.\n \n       size: [3x3]\n+\n+  - IspCrop:\n+      type: Rectangle\n+      description: |\n+        Sets the image portion that will be scaled up to form the\n+        whole of the final output image. The selection rectangle is\n+        expressed in pixel units and defined relatively to the size\n+        of the frame described by the SensorOutputSize property.\n+\n+        This control can be used to implement digital zoom.\n+\n+        \\sa properties::SensorOutputSize\n ...\n",
    "prefixes": [
        "libcamera-devel",
        "v3",
        "3/6"
    ]
}