Show a patch.

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

{
    "id": 17376,
    "url": "https://patchwork.libcamera.org/api/patches/17376/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/17376/",
    "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": "<20220916103713.21132-3-hpa@redhat.com>",
    "date": "2022-09-16T10:37:12",
    "name": "[libcamera-devel,2/3] ipa: ipu3: Drive requestQueue when controls are accepted",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "9ac9667ed96b3e0edb4391e1de6b09df057a13b9",
    "submitter": {
        "id": 105,
        "url": "https://patchwork.libcamera.org/api/people/105/?format=api",
        "name": "Kate Hsuan",
        "email": "hpa@redhat.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/17376/mbox/",
    "series": [
        {
            "id": 3489,
            "url": "https://patchwork.libcamera.org/api/series/3489/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3489",
            "date": "2022-09-16T10:37:10",
            "name": "Basic AF control for IPU3",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/3489/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/17376/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/17376/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 C3DB8C3272\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 16 Sep 2022 10:37:45 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7E77E61FAB;\n\tFri, 16 Sep 2022 12:37:45 +0200 (CEST)",
            "from us-smtp-delivery-124.mimecast.com\n\t(us-smtp-delivery-124.mimecast.com [170.10.129.124])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 48B1661FAB\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 16 Sep 2022 12:37:43 +0200 (CEST)",
            "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n\t[66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n\t(version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\tus-mta-619-LW7X2-2eNQKYh4huN1Qe7g-1; Fri, 16 Sep 2022 06:37:40 -0400",
            "from smtp.corp.redhat.com\n\t(int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mimecast-mx02.redhat.com (Postfix) with ESMTPS id 76F7F185A792\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 16 Sep 2022 10:37:40 +0000 (UTC)",
            "from fedora.redhat.com (unknown [10.39.193.148])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 678FC40C83EB;\n\tFri, 16 Sep 2022 10:37:38 +0000 (UTC)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1663324665;\n\tbh=u7jSniZ9dEKWuTdrcKnvInmONMg4NSiKRe60jkchxZQ=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=VYgv7HNB/+dtO4CU7fbwyI2bVIww9Nz2OXh2F1B3qBR+lCg4po8bOEFle14NUHpuC\n\tPpgMyxKvGsLMAllf+LjZ7e8VhQbhVmYHD111HIRFwpprOyFjwNoIo24c034f/VynxI\n\t4GBwzmMjw3B5sjJNwWPZeiWAnwrccc4ByR+OVXfmGASz3f+BLD5vsJRBPDnpA75hDQ\n\tlTb3i+QI2BJcUoQCIXYzfy7gecXmJlc187OEv0ccyNM0IWhgWkdUvKCPy2/MRt98B5\n\tznY08fAU3MHBr32OlKRQugKUr2Kr12l74hbyvcCLvMX/mX8uD5SG78lX9b913iuiwQ\n\tOKrhSFto3HrAQ==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1663324662;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\tto:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\tcontent-transfer-encoding:content-transfer-encoding:\n\tin-reply-to:in-reply-to:references:references;\n\tbh=xgmP2jvNq4Aci3qEkXLz9LFniveEsEPiTEvFREL+XSQ=;\n\tb=LSPlB4g7Q0WYh5h/aC9wK8+GZcCcXJ9txmRMMhWgHAS72Zrn4E7+azbw8alsU4r6pLtkwQ\n\t4RD02Wh+p36y8nL36bmVmzT4BqERrZupl0TWRt0M8aFkRZOWeYklK56PbvouVasQTXksX+\n\tMvQpYXWL8xM1p1Z7hTAGi7O3ukcjZw4="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=redhat.com\n\theader.i=@redhat.com header.b=\"LSPlB4g7\"; \n\tdkim-atps=neutral",
        "X-MC-Unique": "LW7X2-2eNQKYh4huN1Qe7g-1",
        "To": "libcamera devel <libcamera-devel@lists.libcamera.org>,\n\tHans De Goede <hdegoede@redhat.com>",
        "Date": "Fri, 16 Sep 2022 18:37:12 +0800",
        "Message-Id": "<20220916103713.21132-3-hpa@redhat.com>",
        "In-Reply-To": "<20220916103713.21132-1-hpa@redhat.com>",
        "References": "<20220916103713.21132-1-hpa@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.1 on 10.11.54.1",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true",
        "Subject": "[libcamera-devel] [PATCH 2/3] ipa: ipu3: Drive requestQueue when\n\tcontrols are accepted",
        "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>",
        "From": "Kate Hsuan via libcamera-devel <libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Kate Hsuan <hpa@redhat.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Drive and dispatch the controls to the algorithms when the controls\nare received.\n\nSigned-off-by: Kate Hsuan <hpa@redhat.com>\n---\n src/ipa/ipu3/ipu3.cpp | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/src/ipa/ipu3/ipu3.cpp b/src/ipa/ipu3/ipu3.cpp\nindex ac0c42a7..4f64a546 100644\n--- a/src/ipa/ipu3/ipu3.cpp\n+++ b/src/ipa/ipu3/ipu3.cpp\n@@ -657,6 +657,9 @@ void IPAIPU3::queueRequest(const uint32_t frame, const ControlList &controls)\n {\n \t/* \\todo Start processing for 'frame' based on 'controls'. */\n \tcontext_.frameContexts[frame % kMaxFrameContexts] = { frame, controls };\n+\n+\tfor (auto const &algo : algorithms())\n+\t\talgo->queueRequest(context_, frame, controls);\n }\n \n /**\n",
    "prefixes": [
        "libcamera-devel",
        "2/3"
    ]
}