Show a patch.

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

{
    "id": 16707,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/16707/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/16707/",
    "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": "<20220720154221.50937-3-fsylvestre@baylibre.com>",
    "date": "2022-07-20T15:42:19",
    "name": "[libcamera-devel,v2,2/4] ipa: rkisp1: Transfer queueRequest() call to each algorithm",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "235557cd7f7b58b14275e277f500170665ed79b4",
    "submitter": {
        "id": 123,
        "url": "https://patchwork.libcamera.org/api/1.1/people/123/?format=api",
        "name": "Florian Sylvestre",
        "email": "fsylvestre@baylibre.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/16707/mbox/",
    "series": [
        {
            "id": 3310,
            "url": "https://patchwork.libcamera.org/api/1.1/series/3310/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3310",
            "date": "2022-07-20T15:42:17",
            "name": "Add Demosaicing and Color Processing control for rkisp1",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/3310/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/16707/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/16707/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 5743ABD1F1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 20 Jul 2022 15:42:35 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9ABE66331B;\n\tWed, 20 Jul 2022 17:42:34 +0200 (CEST)",
            "from mail-wr1-x429.google.com (mail-wr1-x429.google.com\n\t[IPv6:2a00:1450:4864:20::429])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 45A566330D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 20 Jul 2022 17:42:33 +0200 (CEST)",
            "by mail-wr1-x429.google.com with SMTP id d8so6726037wrp.6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 20 Jul 2022 08:42:33 -0700 (PDT)",
            "from BL087.. ([2a01:e34:eea9:e630:516d:f303:6345:b768])\n\tby smtp.gmail.com with ESMTPSA id\n\td2-20020adffbc2000000b0021e489ec78bsm2159294wrs.21.2022.07.20.08.42.31\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 20 Jul 2022 08:42:32 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1658331754;\n\tbh=B4CInFeCJuK8l1NH3IN6ut1ImmTBaZzVpmuGaDPXV+A=;\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=oo2HfmhLvr2LQrXjE6ZSRDx36koIEhza4mGn9XsBJKifte7nnTXpyMYWzL8UrfdkK\n\tGOcPwKIKlheGaumeuDKsz76c7NAxVl1NRJ5ugkW/Y0ManmNAH4ehjN13E07f3e+UE0\n\t3srJ97fN743p1Ea9jl/O2f3Rfpna+MGJIVFsP1ZVArxN6STK66DeRJwfDEPS7ogey2\n\tRrHYVNhjmECOThEqSzaIm0P4tPA8RTtyh5MYnM6oygzDzPkPZEtqdNvvQvOoaSFMDA\n\tCu5IYr1hjY9k1Ogec6yNIEJIRifZbBncH0znqJMYiM8Or/4tocfuhXm/vFnls3sDbG\n\tKTdg8el5/5Rkw==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=baylibre-com.20210112.gappssmtp.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=gA0iT8RDrNPKRg5o5iqBwPGdGx6XlOTQhR6ridrzt+c=;\n\tb=equXuNgllxqRRxQZxEAQPa9bvm0XUpoIxxm/6zJjkxQcIH9ZERcGhXZ/n5hQzBDZfG\n\tGkLnmLaLtP85pXN8d2r25uAQcs4/ho2oUscPd3WWqJ9pSC6hXVwwIUXrUsrHuu38s6b5\n\tNR0plh/+0+zrp6ZAfCJAuOAEe6GF3g1R7BmUXsjmu3PNsFi9sy6Q7ZlOWFXiRg6FGhLx\n\tg3JUiiSg1SKX9Al8mlYaY7K2eAG28NLpCtG4alsD6nzt2lVM44QhD2nWOOacpQT/vHsU\n\tkHQuUDFXus7Eewqa/jXfhrFpy0skWoZ3G1YJoUO6xQ6sWhsJpd0EE1cFrQ34asLbgVwB\n\tUn5g=="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected)\n\theader.d=baylibre-com.20210112.gappssmtp.com\n\theader.i=@baylibre-com.20210112.gappssmtp.com header.b=\"equXuNgl\"; \n\tdkim-atps=neutral",
        "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=gA0iT8RDrNPKRg5o5iqBwPGdGx6XlOTQhR6ridrzt+c=;\n\tb=ZwjUsTo8hqKT1JnRh62EJHl++IyUaSFiMJn3KUZkp6F0Br2LD2GrbSmHxouydILtmj\n\tA2CsusgMdz7t2pk1lLi6a8/iqTmrj9D6NS+49SsQM7mPrUJk4kUJy2le3GRGCXXY/ZEL\n\tlkymqK0Xj94VqJ31AD5m7Mm7JWsCYp5RAhRBi01gVH8I3R+tO05nyE4e+IzkqF/N7lJm\n\tuONgGImAJpmUGyQkLRKYEXj916TgZptXWt4++FI5bqlw2cmnpqv8RhlJRyzaxACWZrA4\n\tu6c2vZdQQtkhufznu7DJ2ihf7bUfKOIlzHLK6OOu4kuVnVMB3ljacth/0bPlI+Gbj0wb\n\tAZUA==",
        "X-Gm-Message-State": "AJIora9hdy0cKiv/dTtU9BnPwmXgXEAvWUdf/aGVOYga6HmvM/y4fviA\n\tj4vuaU2mur/N0fCTILYRZfUa8iK/n/oZz/eb",
        "X-Google-Smtp-Source": "AGRyM1svr4oRkUZ+8LqKgrFPnL6rchrw9jCYGjjGotuB2Po3NWnt3p9N82hQRCrd3rO1ONiG1rZJdw==",
        "X-Received": "by 2002:a05:6000:15c3:b0:21d:9f5a:df83 with SMTP id\n\ty3-20020a05600015c300b0021d9f5adf83mr31782430wry.360.1658331752680; \n\tWed, 20 Jul 2022 08:42:32 -0700 (PDT)",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Wed, 20 Jul 2022 17:42:19 +0200",
        "Message-Id": "<20220720154221.50937-3-fsylvestre@baylibre.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20220720154221.50937-1-fsylvestre@baylibre.com>",
        "References": "<20220720154221.50937-1-fsylvestre@baylibre.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v2 2/4] ipa: rkisp1: Transfer\n\tqueueRequest() call to each algorithm",
        "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": "Florian Sylvestre via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Florian Sylvestre <fsylvestre@baylibre.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Implement rkisp1 queueRequest() function to update each algorithm with user\ncontrols.\n\nSigned-off-by: Florian Sylvestre <fsylvestre@baylibre.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/ipa/rkisp1/rkisp1.cpp | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp\nindex a32bb9d1..34034526 100644\n--- a/src/ipa/rkisp1/rkisp1.cpp\n+++ b/src/ipa/rkisp1/rkisp1.cpp\n@@ -269,10 +269,10 @@ void IPARkISP1::unmapBuffers(const std::vector<unsigned int> &ids)\n \t}\n }\n \n-void IPARkISP1::queueRequest([[maybe_unused]] const uint32_t frame,\n-\t\t\t     [[maybe_unused]] const ControlList &controls)\n+void IPARkISP1::queueRequest(const uint32_t frame, const ControlList &controls)\n {\n-\t/* \\todo Start processing for 'frame' based on 'controls'. */\n+\tfor (auto const &algo : algorithms())\n+\t\talgo->queueRequest(context_, frame, controls);\n }\n \n void IPARkISP1::fillParamsBuffer(const uint32_t frame, const uint32_t bufferId)\n",
    "prefixes": [
        "libcamera-devel",
        "v2",
        "2/4"
    ]
}