Show a patch.

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

{
    "id": 9824,
    "url": "https://patchwork.libcamera.org/api/patches/9824/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/9824/",
    "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": "<20200925085127.17214-4-david.plowman@raspberrypi.com>",
    "date": "2020-09-25T08:51:24",
    "name": "[libcamera-devel,v2,3/6] libcamera: Add IspCrop control",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "25f12fe5071e2be477d828c2d54653cf4db53b4d",
    "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/9824/mbox/",
    "series": [
        {
            "id": 1326,
            "url": "https://patchwork.libcamera.org/api/series/1326/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1326",
            "date": "2020-09-25T08:51:21",
            "name": "Digital zoom",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/1326/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/9824/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/9824/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 8A880C3B5C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 25 Sep 2020 08:51:37 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 3BD3763042;\n\tFri, 25 Sep 2020 10:51:37 +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 D06FF62FD8\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 25 Sep 2020 10:51:34 +0200 (CEST)",
            "by mail-wr1-x444.google.com with SMTP id a17so2676494wrn.6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 25 Sep 2020 01:51:34 -0700 (PDT)",
            "from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\tn4sm2001383wrp.61.2020.09.25.01.51.33\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 25 Sep 2020 01:51:33 -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=\"svm42jGy\"; 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=AXKbuxsOAsGCCzcgdzcbXq7E8buv4RVCzCrQy06ZqSo=;\n\tb=svm42jGyCrEQqoaNR1wsXJJzbHk/wu5O6N/7mwZ3u9eEz4fvZytdBxw4Ka7siuvGQo\n\tqv+oso0FLSMlFOS8hov09ftdUM62nsB0s8ZLr4HAT6ie8IC8gltUdRHz2XLto83fEUk/\n\tEgizASVtMf/vdKMGIgU1djDmiozAnD4dEFIqMdKvmCl91zBpxD2FpaNfQ3YODTOvqQ7E\n\t8M+A889qIEs6MhBGYdUrxcG7Q8Wi6CZUdpsoYWzwdfAFUJh/mNf/BCoJ1FZ2Brs6WE9R\n\tGsttzpZsLf1tIVAUKo7DOM7sQCFmg268g2IP3kkJKxccR7XW7ekTQRPewaWRFsED92KR\n\tdBLQ==",
        "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=AXKbuxsOAsGCCzcgdzcbXq7E8buv4RVCzCrQy06ZqSo=;\n\tb=XI4P3ReWviSmnGLP+9ld5wMpRjPcwERAJ1DzhMo09elGB7bb4hRZl24k8yqItoCISZ\n\tIIWqrkIdPwQy3nRP+PetEQE5ScPWEXJ8XrA19NWkoXff8Q6I5/f+F6o3TcUcq3ni/tsh\n\tb3eu7cAU+/vKW21nUM01Z4WBAsp85JywU0izqF7afpyOTDUUtDB1vokG/DBDT0PDOosb\n\tVebkQ2yrLLPaKvO7rRVmd7i8K1Tys2DBVy1tYnJJibsnVYvrJGbBp+DABZn/7HiYOmBR\n\t93UIc2aDMv1HsGmYy/rnCjF/wU00ZQPoEN11EnNNc+mSbukeL6iO2+zt1QTs3q+Mcy38\n\tBF0Q==",
        "X-Gm-Message-State": "AOAM531tm3n4uMEm9kSHu4psaR2VQxSmjzQfvsNC3sTFt0hFOMR5PmVl\n\tt8mQaNhZXHcp14H0xYrWqsV3vqcKfhQeBA==",
        "X-Google-Smtp-Source": "ABdhPJwTHugPt2j749zxnx7KZwN6BjTQ25ZG3GhCfAXKlF6MeNwW/mz2/psfL5L+OcWGfq7CX5iQhQ==",
        "X-Received": "by 2002:adf:f190:: with SMTP id\n\th16mr3336325wro.202.1601023894347; \n\tFri, 25 Sep 2020 01:51:34 -0700 (PDT)",
        "From": "David Plowman <david.plowman@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 25 Sep 2020 09:51:24 +0100",
        "Message-Id": "<20200925085127.17214-4-david.plowman@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20200925085127.17214-1-david.plowman@raspberrypi.com>",
        "References": "<20200925085127.17214-1-david.plowman@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH v2 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 | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 3560d4a..a6a73c8 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -273,4 +273,13 @@ 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 portion of the full sensor image, in pixels, that will be\n+        scaled up to form the whole of the final output image. This control\n+        can be used to implement digital zoom. The size of the full sensor\n+        image within which an application can crop is available from the\n+        SensorOutputSize property.\n ...\n",
    "prefixes": [
        "libcamera-devel",
        "v2",
        "3/6"
    ]
}