Patch Detail
Show a patch.
GET /api/patches/9701/?format=api
{ "id": 9701, "url": "https://patchwork.libcamera.org/api/patches/9701/?format=api", "web_url": "https://patchwork.libcamera.org/patch/9701/", "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": "<20200922100400.30766-4-david.plowman@raspberrypi.com>", "date": "2020-09-22T10:03:57", "name": "[libcamera-devel,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/9701/mbox/", "series": [ { "id": 1308, "url": "https://patchwork.libcamera.org/api/series/1308/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1308", "date": "2020-09-22T10:03:54", "name": "Digital zoom", "version": 1, "mbox": "https://patchwork.libcamera.org/series/1308/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/9701/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/9701/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 B7C7BBF01C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 22 Sep 2020 10:04:12 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 84B9E62FD3;\n\tTue, 22 Sep 2020 12:04:12 +0200 (CEST)", "from mail-wr1-x441.google.com (mail-wr1-x441.google.com\n\t[IPv6:2a00:1450:4864:20::441])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A4B3D62FD7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Sep 2020 12:04:09 +0200 (CEST)", "by mail-wr1-x441.google.com with SMTP id e16so16398582wrm.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Sep 2020 03:04:09 -0700 (PDT)", "from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\tg14sm26369595wrv.25.2020.09.22.03.04.08\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 22 Sep 2020 03:04:08 -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=\"jM6T3HlB\"; 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=jM6T3HlBuBxiUvGeJayh1XqDKGsd5TOU+qmvnRFBAA08FZ2C9QvlD1wZ6JxC3/CCiU\n\tqaUPrIpAtuBoPKC5sB2giExJtxuG/V1YABfz66R9R7fFkkJG7101+X85ftTjpfN4MFjl\n\tnU6A8nbDuEDW5nfNzDdzZfYId2zF65hrpZ0E5xRD0ANO7RzFiZ48xRLafXb/+jPRU187\n\tHBA1kV4Akn16cs+5u4HXWQ7DUoS/jevUPubVpUDeepCcG53PmMWcvZDygsgfIUuxbZKc\n\tN+lfZbRBdQv5XM7TFCl10DgNR71yAV6DFOkaI9VzOuROtsIXUZwc7Xt4NgtnZVDS+ZEs\n\tNdvw==", "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=Bbp2PW+g2+yZdnUzxhHL6VJNAjDL+wGg4L3WGme5sEFRd/FB5X0DtfTl5UkRcOtBqe\n\t/dE3qMCKWu19XKbjCnQkjI73Aoq9GKIwtl7pzAmnfgui94WBY7iJuFbLq5jk0gL8YGK1\n\tBfPq/chIFBcBmkKIj7xvxLIJLpLeRyAbsF9GqK4Q+WYP1DHR07q/0ELaKwEQeJ9TplT9\n\tETwtVc8CSbhdeHmqA8wJ0VuAp7z62Et23ygWEjCcklXDXxI2m+lj14cFIOI9WFPo7m31\n\tLYUGD/sY+NlxMni2bwrUXKm0Ha0mn2in3Aj1gjGItvBSf6BB6a6lYUyuGEynUzywXZt/\n\tAKSg==", "X-Gm-Message-State": "AOAM532hYP97NPC5dvA52M8B+KKmgYoTMFTrUmX/O0yMhQY2EHk5/qBS\n\tMaei8gOZlz5LOSrMZARnaanc8s4UqlqkLw==", "X-Google-Smtp-Source": "ABdhPJwpffMZgPiMgSkUiLmnN+FxnzqACrAAGmjd3tVlYdEmB3yPGXsFQgeAlYap3ueSEAUxOBbssA==", "X-Received": "by 2002:adf:e690:: with SMTP id r16mr4372949wrm.15.1600769049207;\n\tTue, 22 Sep 2020 03:04:09 -0700 (PDT)", "From": "David Plowman <david.plowman@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Tue, 22 Sep 2020 11:03:57 +0100", "Message-Id": "<20200922100400.30766-4-david.plowman@raspberrypi.com>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20200922100400.30766-1-david.plowman@raspberrypi.com>", "References": "<20200922100400.30766-1-david.plowman@raspberrypi.com>", "MIME-Version": "1.0", "Subject": "[libcamera-devel] [PATCH 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", "3/6" ] }