Show a patch.

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

{
    "id": 15035,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/15035/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/15035/",
    "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": "<20211203224230.38700-6-djrscally@gmail.com>",
    "date": "2021-12-03T22:42:28",
    "name": "[libcamera-devel,v2,5/7] libcamera: ipa: Add lens control member to ipu3 ipa interface",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "9587ac2496d8a1e758e9122900e4c0e86fd78703",
    "submitter": {
        "id": 90,
        "url": "https://patchwork.libcamera.org/api/1.1/people/90/?format=api",
        "name": "Daniel Scally",
        "email": "djrscally@gmail.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/15035/mbox/",
    "series": [
        {
            "id": 2815,
            "url": "https://patchwork.libcamera.org/api/1.1/series/2815/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2815",
            "date": "2021-12-03T22:42:23",
            "name": "Enumerate CameraLens by following sensor's ancillary links",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/2815/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/15035/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/15035/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 EB743BF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  3 Dec 2021 22:42:43 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7EDF46087A;\n\tFri,  3 Dec 2021 23:42:43 +0100 (CET)",
            "from mail-wm1-x331.google.com (mail-wm1-x331.google.com\n\t[IPv6:2a00:1450:4864:20::331])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id B07B16084B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  3 Dec 2021 23:42:40 +0100 (CET)",
            "by mail-wm1-x331.google.com with SMTP id\n\td72-20020a1c1d4b000000b00331140f3dc8so3304246wmd.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 03 Dec 2021 14:42:40 -0800 (PST)",
            "from localhost.localdomain\n\t(cpc141996-chfd3-2-0-cust928.12-3.cable.virginm.net. [86.13.91.161])\n\tby smtp.gmail.com with ESMTPSA id\n\to25sm3939919wms.17.2021.12.03.14.42.39\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 03 Dec 2021 14:42:40 -0800 (PST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"XhKs6tSm\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=qy80IB0hj+30GZcpPcUaOto0eNpJ4OUHDMk3aW6OLKQ=;\n\tb=XhKs6tSmg2MXyBPhjn8639AKxNQy93bDSPNfIfru1sRGuHuZym1dDy8p26/RplpbvD\n\tAOqBBR/lwFfFVYpNMw4xRohMMPmbA2ckB9Mm6Vk2IDZXYnKjfSu+SFCuICSQQ80XDbQX\n\tmkjUE8/ifL2+8EEHl7EtrYsz5XdTstYAS9FkHJPHXDR0TL66iHn+Dl2+UwGs+sAOhPxK\n\te9zYhbd7KXSNw+4zMg5C5okZjM9pLrLPZI9dgb44bf9GvC1i7h/fcgh7fUjibPhGkoaf\n\t1ebHEwx9iP7UxTWT4vFXLVboN4ljR8cP179pIffP3mvdKzBiwNe25/1nmr/vws3qi7u3\n\tLYMQ==",
        "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=qy80IB0hj+30GZcpPcUaOto0eNpJ4OUHDMk3aW6OLKQ=;\n\tb=w+bFsGdYpGLL65cNYllnzF0DFyPkWnBPmiEiTgmt4orZhmh0y0JVXJVDWcSJZGBEMS\n\tbta6qbbSSPuUhWdFyHlyKyd37uOFIcKIjisD9/ubZAz7/6cc/NYde3esnPPddwrXDKeX\n\t4BeMcgvab1tBX6O95AGM00olq1BKKs1VY51uvU5QWEvdeefkXIGxDeq0+5AscaK07s/q\n\tPPdldgRIwgeCHu4aHbMEYWX8F1pRBwKRdOOh0AU54KD5gJ11vSQmQ69U098wnvUf47aE\n\tJR4ro51GlpzrjitEm/3UvKsnCF5QTilVIe0mIjNoMRgxtpkXmn07eoxUmdVpxjmFivbR\n\til1g==",
        "X-Gm-Message-State": "AOAM5318H900N1nCG6G5KVWeztNZqlLXFfv1WhzP+kxu5Q1lwegmSHLQ\n\t+lH22SG8calrARZkNPUsfpWa0N8yxqM=",
        "X-Google-Smtp-Source": "ABdhPJwyUnMt8+wgl91HT9R00s5F2yv61mmzdlzvkiAcxDkbnqaINJRjcQMfdAxgXWXjsfRo1TK8AQ==",
        "X-Received": "by 2002:a1c:7517:: with SMTP id\n\to23mr18232950wmc.172.1638571360508; \n\tFri, 03 Dec 2021 14:42:40 -0800 (PST)",
        "From": "Daniel Scally <djrscally@gmail.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri,  3 Dec 2021 22:42:28 +0000",
        "Message-Id": "<20211203224230.38700-6-djrscally@gmail.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20211203224230.38700-1-djrscally@gmail.com>",
        "References": "<20211203224230.38700-1-djrscally@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v2 5/7] libcamera: ipa: Add lens control\n\tmember to ipu3 ipa interface",
        "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": "Add further members to the ipu3 ipa interface that will hold lens\ncontrols passed in by configInfo\n\nSigned-off-by: Daniel Scally <djrscally@gmail.com>\n---\nChanges in v2:\n\n\t- New patch\n\n include/libcamera/ipa/ipu3.mojom | 1 +\n src/ipa/ipu3/ipu3.cpp            | 3 +++\n 2 files changed, 4 insertions(+)",
    "diff": "diff --git a/include/libcamera/ipa/ipu3.mojom b/include/libcamera/ipa/ipu3.mojom\nindex cc0d822f..18cdc744 100644\n--- a/include/libcamera/ipa/ipu3.mojom\n+++ b/include/libcamera/ipa/ipu3.mojom\n@@ -37,6 +37,7 @@ struct IPU3Action {\n struct IPAConfigInfo {\n \tlibcamera.IPACameraSensorInfo sensorInfo;\n \tlibcamera.ControlInfoMap sensorControls;\n+\tlibcamera.ControlInfoMap lensControls;\n \tlibcamera.Size bdsOutputSize;\n \tlibcamera.Size iif;\n };\ndiff --git a/src/ipa/ipu3/ipu3.cpp b/src/ipa/ipu3/ipu3.cpp\nindex b7b48d9a..3828650d 100644\n--- a/src/ipa/ipu3/ipu3.cpp\n+++ b/src/ipa/ipu3/ipu3.cpp\n@@ -162,6 +162,7 @@ private:\n \tstd::map<unsigned int, MappedFrameBuffer> buffers_;\n \n \tControlInfoMap ctrls_;\n+\tControlInfoMap lensCtrls_;\n \n \tIPACameraSensorInfo sensorInfo_;\n \n@@ -422,6 +423,8 @@ int IPAIPU3::configure(const IPAConfigInfo &configInfo,\n \n \tsensorInfo_ = configInfo.sensorInfo;\n \n+\tlensCtrls_ = configInfo.lensControls;\n+\n \t/*\n \t * Compute the sensor V4L2 controls to be used by the algorithms and\n \t * to be set on the sensor.\n",
    "prefixes": [
        "libcamera-devel",
        "v2",
        "5/7"
    ]
}