Show a patch.

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

{
    "id": 16532,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/16532/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/16532/",
    "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": "<20220704152318.221213-3-fsylvestre@baylibre.com>",
    "date": "2022-07-04T15:23:16",
    "name": "[libcamera-devel,2/4] ipa: rkisp1: Transfer queueRequest() call to each algorithm",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "7a4c42cd43d57094f7f9728a085ca386ca963181",
    "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/16532/mbox/",
    "series": [
        {
            "id": 3247,
            "url": "https://patchwork.libcamera.org/api/1.1/series/3247/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3247",
            "date": "2022-07-04T15:23:14",
            "name": "Add Demosaicing and Color Processing control for rkisp1",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/3247/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/16532/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/16532/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 66B7EBD808\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  4 Jul 2022 15:23:27 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BF65865651;\n\tMon,  4 Jul 2022 17:23:26 +0200 (CEST)",
            "from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com\n\t[IPv6:2a00:1450:4864:20::32c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id AC5966564B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  4 Jul 2022 17:23:24 +0200 (CEST)",
            "by mail-wm1-x32c.google.com with SMTP id\n\tg39-20020a05600c4ca700b003a03ac7d540so8191241wmp.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 04 Jul 2022 08:23:24 -0700 (PDT)",
            "from BL087.. ([2a01:e34:eea9:e630:ca4a:68b5:560f:5682])\n\tby smtp.gmail.com with ESMTPSA id\n\tp15-20020a05600c204f00b0039c5cecf206sm19603199wmg.4.2022.07.04.08.23.22\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 04 Jul 2022 08:23:23 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1656948206;\n\tbh=+Nga6QCczRCHDYA8vGG8oeRrwRHQFtYoydvMcCmijh0=;\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=LiRYAT76hOs9KlzRfQw6t5Jk2y8wG3zNFuzYxhfaIHjb49ClKdUNOr0xo9e1toHpn\n\taPSheQMh+GBnsfyKnBepSHY94QRxlNbtprSOO4KUnppHNET5rrPCe4bvDcwuJ/i4Yr\n\t0my3PLMDmoeBMEeh8fsmOHNMCvRgshZwErVHV/4R2fIU5t2ajkJ9DISgl8GSraErNK\n\tBIco/+DsK8LSpBXlTW9aEf6jL32IUD62uiEA3zKhdJfp1QxPTfe6jpMMFsXqb+MFXm\n\tIpSOgf/c1c/VpUEcPoz9twMNe68jDaA/0Rtibtkaiw4qGxYIgSveMCzbsKPMFbvUK8\n\taJgrFPfzk8tuw==",
            "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=rftLrhBobROBzZJz5X3Yo8uPXhcnO3e+6JPwXZtQ2tU=;\n\tb=6BHj40P8vhL4JSbrocROzwsuMQrctwFzVLdWHtSNVeq3ovNlXIYkeO7SWZE/Elqs/F\n\tCkCtH1J17HV50fkPPzvK8fxAhtiQJFmwQFUYTCAzcqrrcM3hlsFPMHHo8mFPCsiYZ6QZ\n\tOBi+eoe1AOBIrLBij/D3gRBzr9WYlfGUYRH90lGJ3b+4KISRsbSvwds0D04JSg20SMV5\n\t5ualXwH6jVCCOND4hLaVH15Zm6W/i6Yu/a03ClKUncEhM9+oSDnEBPAGtRZhJv7mGzCB\n\tOJNPf+S4M4oXT969RemS4WmnIWY62UxWpjB/slKwS5nVoamaUeTZKD/J3uS75WQkuwZr\n\t5a1A=="
        ],
        "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=\"6BHj40P8\"; \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=rftLrhBobROBzZJz5X3Yo8uPXhcnO3e+6JPwXZtQ2tU=;\n\tb=cPNDmZ4V+6tMtTOz9/oTKvX0cr/5T2WQlAQiXIUrrX0Q64DqqAYopE3qBcisCDFJn6\n\ttyWQWTZtwCbqLbP3rvKUUXgCdI08NKT4lOtS1MSjpdnlw3zAzrJmp+Cfis4jfP6O5Jlm\n\t9YTPdYXFRYo3rpBIVDf32ImcnkWfqYHNd0hRxG3/2jQNQt0smjtf6Tk9dOAx4r7Uslg+\n\tezx7NA65kar/iBc9W75VAe7oKazDM2UF46N1Ojc6XakRoa99SMYxKn6ybf2TWOUMTYsh\n\tYYXp+kfLm1CpsRfukC7u2Qqf4zQRUtSdRG9NZR5FnhQ0CzQB8mzOYE08I/YNVtXlbO30\n\tVhdQ==",
        "X-Gm-Message-State": "AJIora/I1vrIPAnGXAzuMjHPL8IjYS2v+UvhrRfAOXy93vRNjchzB03R\n\tWMnfsl7svMbapkTI0lu6xVtuhPTB/AuzUA==",
        "X-Google-Smtp-Source": "AGRyM1t3yL72LC+DKPzYKRHRSkFUckRbh1t8KwvQwICtUXTZrqdQkMNjRTYkhVoIHNrhpUWgwOhXBw==",
        "X-Received": "by 2002:a7b:ca54:0:b0:3a0:522c:d0ec with SMTP id\n\tm20-20020a7bca54000000b003a0522cd0ecmr31512734wml.63.1656948204099; \n\tMon, 04 Jul 2022 08:23:24 -0700 (PDT)",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon,  4 Jul 2022 17:23:16 +0200",
        "Message-Id": "<20220704152318.221213-3-fsylvestre@baylibre.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20220704152318.221213-1-fsylvestre@baylibre.com>",
        "References": "<20220704152318.221213-1-fsylvestre@baylibre.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 2/4] ipa: rkisp1: Transfer queueRequest()\n\tcall 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>\n---\n src/ipa/rkisp1/rkisp1.cpp | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp\nindex a32bb9d1..9b0d675c 100644\n--- a/src/ipa/rkisp1/rkisp1.cpp\n+++ b/src/ipa/rkisp1/rkisp1.cpp\n@@ -270,9 +270,10 @@ void IPARkISP1::unmapBuffers(const std::vector<unsigned int> &ids)\n }\n \n void IPARkISP1::queueRequest([[maybe_unused]] const uint32_t frame,\n-\t\t\t     [[maybe_unused]] const ControlList &controls)\n+\t\t\t     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",
        "2/4"
    ]
}