Show a patch.

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

{
    "id": 8438,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/8438/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/8438/",
    "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": "<20200626102531.1187650-4-naush@raspberrypi.com>",
    "date": "2020-06-26T10:25:30",
    "name": "[libcamera-devel,3/4] libcamera: ipa: raspberrypi: Populate libcamera metadata after controller process",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "c3e17b5711f2f33c0cc6b4edc6b666430eb2c10d",
    "submitter": {
        "id": 34,
        "url": "https://patchwork.libcamera.org/api/1.1/people/34/?format=api",
        "name": "Naushir Patuck",
        "email": "naush@raspberrypi.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/8438/mbox/",
    "series": [
        {
            "id": 1044,
            "url": "https://patchwork.libcamera.org/api/1.1/series/1044/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1044",
            "date": "2020-06-26T10:25:27",
            "name": "Focus feedback control",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/1044/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/8438/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/8438/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 CE784C0109\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 26 Jun 2020 10:25:54 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9E83D60A16;\n\tFri, 26 Jun 2020 12:25:54 +0200 (CEST)",
            "from mail-wm1-x344.google.com (mail-wm1-x344.google.com\n\t[IPv6:2a00:1450:4864:20::344])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 82976609A3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 26 Jun 2020 12:25:51 +0200 (CEST)",
            "by mail-wm1-x344.google.com with SMTP id f18so8875719wml.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 26 Jun 2020 03:25:51 -0700 (PDT)",
            "from naushir-VirtualBox.patuck.local ([88.97.76.4])\n\tby smtp.gmail.com with ESMTPSA id\n\tr8sm21959679wrp.40.2020.06.26.03.25.50\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 26 Jun 2020 03:25:50 -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=\"Hq/HsPmO\"; 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=eZEWDXHM+h7IQM//ELYz7IfKEtPACsZQnbKSWEjmbjo=;\n\tb=Hq/HsPmOpn15458T1PsPdfAAXZPEQGUDILIoAwqnkUtKsZPBFkfeYfXhrqipCbgWR6\n\t0ggdUd2HKFofxEdpEcfi3SiWl73nTszxH4LVhDu6lNOYmceiIBlNl0UxHFP8GfRn7vx1\n\tGHtdmLR0LMUgvbJDoCgrsaMBoPn6ZbeZ9stqHVrZp+T0k3p/0YMG8xFZiQHfneDmwcye\n\tv3ieAu0aBlFk6le2ow0bNgc9EV8ukLqsaSSGP8/yN1eDqps6GQmjxNi+UBHD8mDmQ9E/\n\tFqB7Z5yMY2smWE3tFF0NfZ0VdVq3oLfF5xY9tyJEzvu2PNx30o2PIOFnWOa5TMMqgCpQ\n\t3mlA==",
        "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=eZEWDXHM+h7IQM//ELYz7IfKEtPACsZQnbKSWEjmbjo=;\n\tb=Yyihp5n8+hn4y6kiLinM/uyMKQVxOHEJct4eoLxpTCR1y8asPInASsd2vp12eVmCt4\n\t8SCVh+p9qjtpMWjKcJitGvLeMSVEDRGiKqyTsKoSmrUckAYuBzB2PIHsK/nmyIHUgtes\n\tiJf4GWvd1MhEq0+WHmkyuEsnrDnJwj9Tqj8TXX0yCnW+e0e4VyMwlYaOl2IlM6KMb7AS\n\tniTb7x6GY/I2YN/Z76u5UTadYcI3+wSBgsFDRXPrSX3twY/Z9dEREjKxE34HzDNFH6/l\n\tHbvAUlpKlcvlYxmTP/OM+KjMJBi0aCHK8MQsI7SzAVgJ/jrrldvnxDU9+nBfAB3Oxc5z\n\tV9pA==",
        "X-Gm-Message-State": "AOAM531Y0GTGJPR7QIvcU1ynrD6TGmVERUFZeiapG6rhpe7zQJvmabz8\n\tseIdw27WRbLHKclcvXUXSht9d0DSjlo=",
        "X-Google-Smtp-Source": "ABdhPJzqZPIou70cnT5u2Nk7eD3GQWBV0RR/QRtEOEKQsUtnBxoCjqUFMKjkKZQ/sEh8FJJALFRKCg==",
        "X-Received": "by 2002:a1c:2e58:: with SMTP id\n\tu85mr2585749wmu.123.1593167151016; \n\tFri, 26 Jun 2020 03:25:51 -0700 (PDT)",
        "From": "Naushir Patuck <naush@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 26 Jun 2020 11:25:30 +0100",
        "Message-Id": "<20200626102531.1187650-4-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20200626102531.1187650-1-naush@raspberrypi.com>",
        "References": "<20200626102531.1187650-1-naush@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH 3/4] libcamera: ipa: raspberrypi: Populate\n\tlibcamera metadata after controller process",
        "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": "For control algorithms like focus, this is needed to return out the\nthe current frame focus statistics. For other algorithms, there is no\nfunctional change.\n\nSigned-off-By: Naushir Patuck <naush@raspberrypi.com>\n---\n src/ipa/raspberrypi/raspberrypi.cpp | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp\nindex bc89ab58..62730198 100644\n--- a/src/ipa/raspberrypi/raspberrypi.cpp\n+++ b/src/ipa/raspberrypi/raspberrypi.cpp\n@@ -318,6 +318,8 @@ void IPARPi::processEvent(const IPAOperationData &event)\n \t\tif (frame_count_ > mistrust_count_)\n \t\t\tprocessStats(bufferId);\n \n+\t\treportMetadata();\n+\n \t\tIPAOperationData op;\n \t\top.operation = RPI_IPA_ACTION_STATS_METADATA_COMPLETE;\n \t\top.data = { bufferId & RPiIpaMask::ID };\n@@ -336,7 +338,6 @@ void IPARPi::processEvent(const IPAOperationData &event)\n \t\t * they are \"unreliable\".\n \t\t */\n \t\tprepareISP(embeddedbufferId);\n-\t\treportMetadata();\n \n \t\t/* Ready to push the input buffer into the ISP. */\n \t\tIPAOperationData op;\n",
    "prefixes": [
        "libcamera-devel",
        "3/4"
    ]
}