{"id":14395,"url":"https://patchwork.libcamera.org/api/1.1/patches/14395/?format=json","web_url":"https://patchwork.libcamera.org/patch/14395/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20211028100349.1098545-6-hanlinchen@chromium.org>","date":"2021-10-28T10:03:49","name":"[libcamera-devel,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/1.1/people/98/?format=json","name":"Hanlin Chen","email":"hanlinchen@chromium.org"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/14395/mbox/","series":[{"id":2673,"url":"https://patchwork.libcamera.org/api/1.1/series/2673/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2673","date":"2021-10-28T10:03:44","name":"[libcamera-devel,1/6] ipu3: Use ia_aiq_frame_use_preview as default mode for AIQ","version":1,"mbox":"https://patchwork.libcamera.org/series/2673/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/14395/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/14395/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 C8239BF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 28 Oct 2021 10:04:05 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 8060D600C1;\n\tThu, 28 Oct 2021 12:04:05 +0200 (CEST)","from mail-pf1-x436.google.com (mail-pf1-x436.google.com\n\t[IPv6:2607:f8b0:4864:20::436])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E8254600B5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 28 Oct 2021 12:04:03 +0200 (CEST)","by mail-pf1-x436.google.com with SMTP id l203so5495385pfd.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 28 Oct 2021 03:04:03 -0700 (PDT)","from localhost ([2401:fa00:1:10:1bc:52e7:6df5:c7cf])\n\tby smtp.gmail.com with UTF8SMTPSA id\n\t141sm2349080pge.23.2021.10.28.03.04.01\n\t(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n\tThu, 28 Oct 2021 03:04:01 -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=\"ZD8CcsUd\"; 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=4rYXLtjA/5VTZ7mpq2/BlxHl2T8+W/evILXiYfKpWhQ=;\n\tb=ZD8CcsUdJ88aIXnb1p5QhCUTiSDImCXWm+PwgCmpsoFC87on5Repk3UJZX3neLNZyi\n\tSsWZ/LlHK7Bi/1iPjgWrwNmhzssHz+S34wf6YN0/EHjAy7ddTmyOQWmdqxl2hDriEjzm\n\tnhT2K5or7rYEgh+242kIchS8IUSYLNOixijzI=","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=4rYXLtjA/5VTZ7mpq2/BlxHl2T8+W/evILXiYfKpWhQ=;\n\tb=nsF2yqu9uxJBl62/KFgvHsZUc+Czi2tkUguEfVur3MspNdZG5hEpUl3LQgxDF5SV86\n\tEKFiCbWXkgpkQ36fBtUw+uaXuLJF5p0350a/PnCb77oCjww7YSwKezS8WQcEdhUZcMyK\n\txoT/CPxliMB+3J72bx6bmMThKN3xCPf+yRbhVyI4hmZR++ekTcbtc4pShsq62YdTsmo3\n\tz51Gy1CieYYimtLKj3fU6tjziArYDxJMqWz4WNsTyWTLvvKwIMogr0lbaUfsdMBIRWbo\n\t8kBwW+Bzhh3Q2SBytQ+ofGuy7tC0SZTBDDVb9bFd1Nl3ZQnjPsNgESILkxAHmK1vniM1\n\tPboA==","X-Gm-Message-State":"AOAM533594v4NduSxFiBgiuNOGHgaKgZYLxhA33Q+z722TkO2CMQuVCc\n\t/WKXTUokOUFRAv5KVOeCswva1AkbxRrcLBFM","X-Google-Smtp-Source":"ABdhPJzCZnRnp2IWCzOdEt+qj8dLqQs1nIS1g6HFliwM3GH+MJLo17OGiS7MLfNGeBjuS9CgG9OjEA==","X-Received":"by 2002:aa7:9047:0:b0:44b:e142:8b0d with SMTP id\n\tn7-20020aa79047000000b0044be1428b0dmr3252201pfo.45.1635415442150; \n\tThu, 28 Oct 2021 03:04:02 -0700 (PDT)","From":"Han-Lin Chen <hanlinchen@chromium.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 28 Oct 2021 18:03:49 +0800","Message-Id":"<20211028100349.1098545-6-hanlinchen@chromium.org>","X-Mailer":"git-send-email 2.33.1.1089.g2158813163f-goog","In-Reply-To":"<20211028100349.1098545-1-hanlinchen@chromium.org>","References":"<20211028100349.1098545-1-hanlinchen@chromium.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 6/6] ipu3: Use gbce and tone mapping from\n\tthe 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>","Cc":"Han-Lin Chen <hanlinchen@chromium.com>","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.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","6/6"]}