Show a patch.

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

{
    "id": 14422,
    "url": "https://patchwork.libcamera.org/api/patches/14422/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/14422/",
    "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": "<20211029120001.2469018-6-hanlinchen@chromium.org>",
    "date": "2021-10-29T12:00:01",
    "name": "[libcamera-devel,v2,6/6] ipu3: Use gbce and tone mapping from the tuning files",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "53646348402fc6e587cb6bf308079e8b07c928c9",
    "submitter": {
        "id": 98,
        "url": "https://patchwork.libcamera.org/api/people/98/?format=api",
        "name": "Hanlin Chen",
        "email": "hanlinchen@chromium.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/14422/mbox/",
    "series": [
        {
            "id": 2681,
            "url": "https://patchwork.libcamera.org/api/series/2681/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2681",
            "date": "2021-10-29T11:59:56",
            "name": "[libcamera-devel,v2,1/6] ipu3: Use ia_aiq_frame_use_preview as default mode for AIQ",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/2681/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/14422/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/14422/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 51A26BDB1C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 29 Oct 2021 12:00:19 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 05624600C0;\n\tFri, 29 Oct 2021 14:00:19 +0200 (CEST)",
            "from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com\n\t[IPv6:2607:f8b0:4864:20::1029])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E3F72600BD\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 29 Oct 2021 14:00:17 +0200 (CEST)",
            "by mail-pj1-x1029.google.com with SMTP id\n\toa12-20020a17090b1bcc00b0019f715462a8so7231503pjb.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 29 Oct 2021 05:00:17 -0700 (PDT)",
            "from localhost ([2401:fa00:1:10:35fe:d53b:684:b538])\n\tby smtp.gmail.com with UTF8SMTPSA id\n\tm7sm5570191pgn.32.2021.10.29.05.00.14\n\t(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n\tFri, 29 Oct 2021 05:00:15 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"KDtF1/X2\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=++tKZTGfJU1x4+QwSMn15mcVaU3lDPfIxRASilIzLtI=;\n\tb=KDtF1/X2JvnOSCty9NkwOIjEyJS/eb/x7Z/VVinbUiiRB5MRvPnUFZ0/hivwgU6j3Z\n\tUt6AVb3j4QV1gA+VTNGp18rOKqPoG0+r5imh2XVJptwVaLifxf1uzMnn+Rps9r8WPyxR\n\tHxjFdwRpoigodv1YD21w4wUG1S1Lto25SU+ps=",
        "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=++tKZTGfJU1x4+QwSMn15mcVaU3lDPfIxRASilIzLtI=;\n\tb=N4qXq7gM7fiUkrkiFcc3PyyPsrPElIl9rmyXTMqscjwNhqJD9LIieirQfQWFO1Npqi\n\tv7Yw2ebouedMyC1XjyBMDrxXB/qXCwquoZihrBPHCEr//Lx+u4m0hHbZBT3cIjWyDuYF\n\tFEixbTYd2akJ5jF8tP+p9OIwdnLweb/pDFdYMqPBdnVG6EmN5ZvmBYIvJ52Z/n30bPYA\n\tNrt8T904SxzxCvp8FkpdG8HUf7C0Vs0D0PSXWArGx18mupkSP/3GAnl0cAAJiTTVyGgG\n\tLEPG2P7lcrYd3euv/PO8zy9WsXcgpH6QxH/ouMurLTAdETj+O5DKLA7VtEtopTxirXYa\n\tDOyQ==",
        "X-Gm-Message-State": "AOAM531F1rUBmrpNWNIGe45j1yTItoxAalYE8SGtJPA7shYQJ/ORcQNc\n\t0TDAcY/Gyz5NU/DPmJZXZJfG4FqA3UZf3YWq",
        "X-Google-Smtp-Source": "ABdhPJxJ1EEI91L7pvSWugCJTA+4r4hjQ5ZsnUShkvpYN0Vy04f4rUj71mbp/yllf9ujkKaEtft8AA==",
        "X-Received": "by 2002:a17:902:c214:b0:13f:1b2a:8011 with SMTP id\n\t20-20020a170902c21400b0013f1b2a8011mr9258324pll.3.1635508815896; \n\tFri, 29 Oct 2021 05:00:15 -0700 (PDT)",
        "From": "Han-Lin Chen <hanlinchen@chromium.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 29 Oct 2021 20:00:01 +0800",
        "Message-Id": "<20211029120001.2469018-6-hanlinchen@chromium.org>",
        "X-Mailer": "git-send-email 2.33.1.1089.g2158813163f-goog",
        "In-Reply-To": "<20211029120001.2469018-1-hanlinchen@chromium.org>",
        "References": "<20211029120001.2469018-1-hanlinchen@chromium.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v2 6/6] ipu3: Use gbce and tone mapping\n\tfrom the tuning files",
        "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": "Change the flags to gbce algorithm to use the global brightness and tone\nmapping from the tunint files.\n\nSigned-off-by: Han-Lin Chen <hanlinchen@chromium.org>\nReviewed-by: Umang Jain <umang.jain@ideasonboard.com>\n---\n aiq/aiq_input_parameters.cpp | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/aiq/aiq_input_parameters.cpp b/aiq/aiq_input_parameters.cpp\nindex 5dd2f6c..7a6a1fa 100644\n--- a/aiq/aiq_input_parameters.cpp\n+++ b/aiq/aiq_input_parameters.cpp\n@@ -170,8 +170,8 @@ void AiqInputParameters::setAeAwbAfDefaults()\n \t};\n \n \t/* GBCE Params */\n-\tgbceParams.gbce_level = ia_aiq_gbce_level_bypass;\n-\tgbceParams.tone_map_level = ia_aiq_tone_map_level_default;\n+\tgbceParams.gbce_level = ia_aiq_gbce_level_use_tuning;\n+\tgbceParams.tone_map_level = ia_aiq_tone_map_level_use_tuning;\n \tgbceParams.frame_use = ia_aiq_frame_use_preview;\n \tgbceParams.ev_shift = 0;\n \n",
    "prefixes": [
        "libcamera-devel",
        "v2",
        "6/6"
    ]
}