From patchwork Thu Nov 11 10:49:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanlin Chen X-Patchwork-Id: 14545 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id E9181BDB1C for ; Thu, 11 Nov 2021 10:49:29 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2A8B66035F; Thu, 11 Nov 2021 11:49:29 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="G1kmpdR5"; dkim-atps=neutral Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 702086032C for ; Thu, 11 Nov 2021 11:49:28 +0100 (CET) Received: by mail-pf1-x434.google.com with SMTP id n26so658017pff.3 for ; Thu, 11 Nov 2021 02:49:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vnNtrkNp8afxJ2jD/LUTxmV+vKBZW2zyY1mQyBW54ZI=; b=G1kmpdR5VZ8af3h+VPMDgitGnBgLmhDjvsPdW7B+GMIsr+mEAJdRXw+wt82rmNr8EP lxCsHwhHpJHYCbO0IouoaPHW83a55MyEl6nPvB5JpP1vxZqyvxmGLGuFH7AEs7LEEIWF mehHEvcZKtv6VQDgRpnoSOr2K5po/A6xxz+Q8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vnNtrkNp8afxJ2jD/LUTxmV+vKBZW2zyY1mQyBW54ZI=; b=5nLOsgYd3r7MjjlIiZ95NKoqvcttYRn6vAYt1CgilwEDTtl9UV+oRjUEQenSb0VswG qBrCawCd9z0RmynVxxlWyhIyRc3HxrvIN/zls17oJzcNmsp7f0E6Toh8/N3aAaBYi+5M NM4HqHAn8GTG1Oc+heThM3p9uxrrFwI+RnCnvz9WUYgDRck07Ll3D3ns1j8hHm092Y0P 95e3EyHX5NLNcxmDCfBHkpBI3NbmwInx75bJtjVXfwNkb4IsAbUjxMIEpgh4VabJTzoh L7J6V1jwVOKVZkfyIx0AvE9FVTTSRF1wQJd7ZARrEOSwK6elKAaCDHX09uyjm0iBics/ d14w== X-Gm-Message-State: AOAM532h0iLSZBymsakqxRVOjfLYPfPUqGkoKE2lmYe7ywoMCB3Nr7yn vyGh/wsg1+/m0mKRGANXT7j0bMl2TbHiZA== X-Google-Smtp-Source: ABdhPJw+g5txSz9HHv9s2vUDjcLQKUA3B0rteF0zx8nOms0MGQk8BnZ9zmohmhMo6QT6vU63A3v5NA== X-Received: by 2002:a62:31c5:0:b0:447:cd37:61f8 with SMTP id x188-20020a6231c5000000b00447cd3761f8mr5893318pfx.29.1636627766513; Thu, 11 Nov 2021 02:49:26 -0800 (PST) Received: from localhost ([2401:fa00:1:10:3925:da9c:3049:be7a]) by smtp.gmail.com with UTF8SMTPSA id p15sm2155901pjh.1.2021.11.11.02.49.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Nov 2021 02:49:26 -0800 (PST) From: Han-Lin Chen To: libcamera-devel@lists.libcamera.org Date: Thu, 11 Nov 2021 18:49:02 +0800 Message-Id: <20211111104908.295992-1-hanlinchen@chromium.org> X-Mailer: git-send-email 2.34.0.rc1.387.gb447b232ab-goog MIME-Version: 1.0 Subject: [libcamera-devel] [IPU3-IPA PATCH v3 0/6] *** Enhance image quality for IPU3 with Intel IPA *** X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hello, The patch series is to enhance image quality for IPU3 devices with Intel close IPA by improving AE/AF controls for clearer image, and minor tuning changes for better saturation. - Improve the AE performance and resolve AE hunting problem during converging by matching the effective sensor controls with the corresponding statstistics. - Enable auto focus and set lens controls to pipeline handler. - Use tuned parameters for gbce and tone mapping. Han-Lin Chen (6): ipu3: Use ia_aiq_frame_use_preview as default mode for AIQ ipu3: Add a class AiqResultsRingBuffer to reserve AiqResults history ipu3: Set statistics with the effective AE AiqResults ipu3: Apply auto focus and send lens controls to pipeline handler ipu3: Run AIQ for the first frame to avoid blanking ipu3: Use gbce and tone mapping from the tuning files aiq/aiq.cpp | 3 +- aiq/aiq.h | 4 +- aiq/aiq_input_parameters.cpp | 18 +++--- aiq/aiq_results.cpp | 90 +++++++++++++++++++++++++--- aiq/aiq_results.h | 43 ++++++++++--- ipu3.cpp | 113 +++++++++++++++++++++++++++++------ 6 files changed, 224 insertions(+), 47 deletions(-)