Show a patch.

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

{
    "id": 22594,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/22594/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/22594/",
    "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": "<20250120204515.24096-8-laurent.pinchart@ideasonboard.com>",
    "date": "2025-01-20T20:44:58",
    "name": "[v9,07/12] gstreamer: Generate the new AEGC controls",
    "commit_ref": "187f2d537be5a4ad2c73649653cf925b74de61fe",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "40e04fa12b376f18b1cf239333bc67295846607c",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/22594/mbox/",
    "series": [
        {
            "id": 4958,
            "url": "https://patchwork.libcamera.org/api/1.1/series/4958/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4958",
            "date": "2025-01-20T20:44:51",
            "name": "AEGC controls",
            "version": 9,
            "mbox": "https://patchwork.libcamera.org/series/4958/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/22594/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/22594/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 17E88C3312\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 20 Jan 2025 20:45:43 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 694B46854B;\n\tMon, 20 Jan 2025 21:45:42 +0100 (CET)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 392FC68550\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 20 Jan 2025 21:45:32 +0100 (CET)",
            "from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi\n\t[81.175.209.231])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 7AD3A22A;\n\tMon, 20 Jan 2025 21:44:30 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"FlS3b+GT\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1737405870;\n\tbh=o4grrtVQoGmgxGScm2EDzgXPD/uEUcJJTUrmshivwVo=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=FlS3b+GTCcXwtyVRQpuk6Hy6p+InGHGpiNmPQeHUSHcUE/DDiDxnE9Faznn1S80v1\n\tX8cAKyVD1AiuoGkArR1FBT4QwkbOorzefgyLcPNBapm1eWmmE8EXJLU7o0raOpsbF6\n\tnCuss5E5oMws1QjTKOIG23J/AL2iFYSBubnB2mRU=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Naushir Patuck <naush@raspberrypi.com>,\n\tDavid Plowman <david.plowman@raspberrypi.com>,\n\tPaul Elder <paul.elder@ideasonboard.com>",
        "Subject": "[PATCH v9 07/12] gstreamer: Generate the new AEGC controls",
        "Date": "Mon, 20 Jan 2025 22:44:58 +0200",
        "Message-ID": "<20250120204515.24096-8-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.45.2",
        "In-Reply-To": "<20250120204515.24096-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20250120204515.24096-1-laurent.pinchart@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "From: Paul Elder <paul.elder@ideasonboard.com>\n\nSince AeEnable will be replaced with ExposureTimeMode and\nAnalogueGainMode so that the two can be set between auto/manual\nindependently, update the gstreamer control ids generation to conform\nwith this.\n\nSigned-off-by: Paul Elder <paul.elder@ideasonboard.com>\nReviewed-by: Nicolas Nicolas <nicolas.dufresne@collabora.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n utils/codegen/gen-gst-controls.py | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/utils/codegen/gen-gst-controls.py b/utils/codegen/gen-gst-controls.py\nindex df0988266294..07af7653b401 100755\n--- a/utils/codegen/gen-gst-controls.py\n+++ b/utils/codegen/gen-gst-controls.py\n@@ -19,8 +19,9 @@ from controls import Control\n \n \n exposed_controls = [\n-    'AeEnable', 'AeMeteringMode', 'AeConstraintMode', 'AeExposureMode',\n-    'ExposureValue', 'ExposureTime', 'AnalogueGain', 'AeFlickerPeriod',\n+    'AeMeteringMode', 'AeConstraintMode', 'AeExposureMode',\n+    'ExposureValue', 'ExposureTime', 'ExposureTimeMode',\n+    'AnalogueGain', 'AnalogueGainMode', 'AeFlickerPeriod',\n     'Brightness', 'Contrast', 'AwbEnable', 'AwbMode', 'ColourGains',\n     'Saturation', 'Sharpness', 'ColourCorrectionMatrix', 'ScalerCrop',\n     'DigitalGain', 'AfMode', 'AfRange', 'AfSpeed', 'AfMetering', 'AfWindows',\n",
    "prefixes": [
        "v9",
        "07/12"
    ]
}