{"id":14551,"url":"https://patchwork.libcamera.org/api/patches/14551/?format=json","web_url":"https://patchwork.libcamera.org/patch/14551/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20211111104908.295992-7-hanlinchen@chromium.org>","date":"2021-11-11T10:49:08","name":"[libcamera-devel,IPU3-IPA,v3,6/6] ipu3: Use gbce and tone mapping from the tuning files","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"53646348402fc6e587cb6bf308079e8b07c928c9","submitter":{"id":98,"url":"https://patchwork.libcamera.org/api/people/98/?format=json","name":"Hanlin Chen","email":"hanlinchen@chromium.org"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/14551/mbox/","series":[{"id":2711,"url":"https://patchwork.libcamera.org/api/series/2711/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2711","date":"2021-11-11T10:49:02","name":"*** Enhance image quality for IPU3 with Intel IPA ***","version":3,"mbox":"https://patchwork.libcamera.org/series/2711/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/14551/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/14551/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 C5937BDB1C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 11 Nov 2021 10:49:43 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7A59160368;\n\tThu, 11 Nov 2021 11:49:43 +0100 (CET)","from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com\n\t[IPv6:2607:f8b0:4864:20::52a])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 47F996032C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 11 Nov 2021 11:49:42 +0100 (CET)","by mail-pg1-x52a.google.com with SMTP id 200so4855132pga.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 11 Nov 2021 02:49:42 -0800 (PST)","from localhost ([2401:fa00:1:10:3925:da9c:3049:be7a])\n\tby smtp.gmail.com with UTF8SMTPSA id\n\tb21sm2665836pff.179.2021.11.11.02.49.39\n\t(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n\tThu, 11 Nov 2021 02:49:40 -0800 (PST)"],"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=\"IgjLw+dX\"; 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=9VdNDInwabkMtIQOIhMATye+WUU0NKXVhLjxlazEuZ8=;\n\tb=IgjLw+dXSlaJX3ylPvIPePzHJPwH88iq8paebqox57slofmHezqS7iApzdwmLoLxCP\n\tuht67uIdzjrB6yP8oDrt6GFAonh/n087QdX0BHHmBpHe1HPNBSl+7On+6VcqjnJelfy3\n\tz+FL2V3tNIxP/VidX3C0lHFU4/0pHdJsASF+Q=","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=9VdNDInwabkMtIQOIhMATye+WUU0NKXVhLjxlazEuZ8=;\n\tb=wyg2jq5SRvZCyEKg6UHquCF5Ja4EpUFFZjVjILwMqa1LsfLt8ix0w4Ib/MFHNM/L71\n\tvCZy62pI2Ap9nFYO3py8GrHeH7/+aDXuBeHfeGgQXrUz6bag/VbXCsu6rF/Hj2W3lhTS\n\t3Z8sgM6nGSJUlksCCkpg7VFi/VkG4WwNLc5sohXo21OOOl6+xNfl77Wgh4Rm7kMpy2Yk\n\tkjFJBkKObBO6pYTm0Hm4EeR1pTMqZLJe65ZeOsQPEVKfTDMlr2hlHneb7zrxyGMCV0IU\n\t+BBFgAVx9/Zw3NNXCHLDcE0SjFajYdRI+N74HOgcuY9NIsOq0BDW1CSdhxDUoxty2/WJ\n\tt7jQ==","X-Gm-Message-State":"AOAM531yTd1g21pY3G2B7CFCPKVOOE8GouiUZWlJ7tao/B024+iMsrTI\n\tdoGPiqrVd8KLojIxMnTq185P4gYPtBfySw==","X-Google-Smtp-Source":"ABdhPJx6mexjuzKEF0/2Sglgohxf7CjkoNwHO3gG3c7/TUmjt45qdWtu+P87ZMz+25UxtD3h9betDQ==","X-Received":"by 2002:a63:1d03:: with SMTP id d3mr4023595pgd.149.1636627780342;\n\tThu, 11 Nov 2021 02:49:40 -0800 (PST)","From":"Han-Lin Chen <hanlinchen@chromium.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 11 Nov 2021 18:49:08 +0800","Message-Id":"<20211111104908.295992-7-hanlinchen@chromium.org>","X-Mailer":"git-send-email 2.34.0.rc1.387.gb447b232ab-goog","In-Reply-To":"<20211111104908.295992-1-hanlinchen@chromium.org>","References":"<20211111104908.295992-1-hanlinchen@chromium.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [IPU3-IPA PATCH v3 6/6] ipu3: Use gbce and tone\n\tmapping from 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 tuning files.\n\nSigned-off-by: Han-Lin Chen <hanlinchen@chromium.org>\nReviewed-by: Umang Jain <umang.jain@ideasonboard.com>\nReviewed-by: Kieran Bingham <kieran.bingham@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","IPU3-IPA","v3","6/6"]}