| Message ID | 20260616-ipu3-libipa-rework-v1-0-d4448b54f1d8@ideasonboard.com |
|---|---|
| Headers | show
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 [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id C73E2BF415 for <parsemail@patchwork.libcamera.org>; Tue, 16 Jun 2026 06:41:52 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id F2756625A3; Tue, 16 Jun 2026 08:41:50 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="G1HN/GUa"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B6B4E61E76 for <libcamera-devel@lists.libcamera.org>; Tue, 16 Jun 2026 08:41:48 +0200 (CEST) Received: from [127.0.1.1] (chfd-03-b2-v4wan-176392-cust229.vm15.cable.virginm.net [82.19.20.230]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 564D7166C; Tue, 16 Jun 2026 08:41:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1781592075; bh=gKMR/qEkT1YkmmS6l5EFz3WaMMSMcAE09tTZkR2dcsc=; h=From:Subject:Date:To:Cc:From; b=G1HN/GUajkvS2AylRoEaLoNhPSQaEsyKeogL2Qhb9yosDn/qiaoXguTpTy7DPkiH0 rNOyOqtlCp9jz3CapcZk3P7Tx4noxkg/Ubgf6S8bBX4TGelOSQEZlN+NTYRtyubXhl 5/NEz4qPTIacPvCg5oK4NNXxh+FvhiqKdPrrcCd0= From: Daniel Scally <dan.scally@ideasonboard.com> Subject: [PATCH 00/10] libipa: Re-work IPU3 IPA to use libipa algorithms Date: Tue, 16 Jun 2026 07:41:34 +0100 Message-Id: <20260616-ipu3-libipa-rework-v1-0-d4448b54f1d8@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAB7wMGoC/02O2QrCMBBFf6XMs4E0m6a/In3IJBMdtLYmdQHx3 y0u4OO5cA/nAZUKU4WueUChK1ceTwu0qwbiPpx2JDgtDEoqJ13rBE8XLY6MPAVR6DaWg8hKO2O 0S0YhLMepUOb7W7rtP1zofFnc82cEDJVEHIeB567J2UY0uV2jRO83PqWN1WiS0UqmhCpaH3yUB P9NXfMtsr+YcNyNhef9UIX1zjmMQQaVoX8+X6dQFubmAAAA X-Change-ID: 20260616-ipu3-libipa-rework-f2364436d42b To: libcamera-devel@lists.libcamera.org Cc: Daniel Scally <dan.scally@ideasonboard.com> X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2693; i=dan.scally@ideasonboard.com; h=from:subject:message-id; bh=gKMR/qEkT1YkmmS6l5EFz3WaMMSMcAE09tTZkR2dcsc=; b=owEBbQKS/ZANAwAKAchJV3psRXUyAcsmYgBqMPAoqLKquzRWmy6wC7zEMsOsTfc3z6eqKofWE 3oPiHOflDmJAjMEAAEKAB0WIQQqyuwyDnZdb+mxmm/ISVd6bEV1MgUCajDwKAAKCRDISVd6bEV1 MvltEAC1xCxHwo5uZRUssvOx9Ss48Ar/UIjEz5ll8EtZcWBWimwyikoY2h5vOGEvSoCTVQ2qGVw f/IkfOSlu0GDmjj+rj+S3TE/S8B5/QbZETsaMv8kN/lNZ5/+9eqGKQfWhMA9pBB4A/GgiawTag+ FbvAaK6De5btcrSEGOvMf8s4hvaRxR/JZe5fPmynGwR+TddXIzQtfEp3asGSoGV2LkIfeGxevXZ wh9Drpn9LA/o1SsGkGOEck/gNmKaVfWinHjfCIJZ+lZ9yqo88HBnGWLES5o9kS6PfN6DK5TxQsf hNX8VDILkjmSjRf/0NUBmioARsWy8taya0jzIfx8HXbLsgLwD9gVS2jBS1y8pIYOIexyGKY1jLx bMGtJVYu3HqPlSr+yW1xEN6Tk40sr04/RQt4VTQPrJFroYCMHNzkvEaWfbIpEiE0+MzEYOP/ipm TF7v3ZAlQ1y/6MXX0hpAkpBLhN5dHtP0wJBCtACVK1J2NcsdUSlsYPFV7PvKZDWwJYEfL1+/8XL pCr5cFPKTtamDk+Bd5cpLLX6WbRFI6nYnbVr63faXy4Ra5Jn90qlg6YJ3iSL5h0f+ZzTZdowRe9 zJPwsKYfW1e19uCHbt8I1Fb/KlsQOpw9HO6OTvlPenniZah6mZ5g3N0FEmEmvWPLPaYfBHf/Oru FDYtWYjGUL3LA0w== X-Developer-Key: i=dan.scally@ideasonboard.com; a=openpgp; fpr=EEC699ACA1B7CB5D31330C0BBD501C2A3546CCF6 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>, <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>, <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> |
| Series |
|
| Related |
show
|
Hello all This series builds on top of Jacopo's recent set [1] adding libipa implementations of the AWB, LSC and CCM algorithms by adapting the IPU3 IPA to use them. As CCM and LSC were not present for this IPA previously, this series adds them. I also introduce the Gamma Correction algorithm to libipa following the theme of Jacopo's work and update the IPU3 and RkISP1 IPAs to use it. Tested on the IPU3 via the Surface Go2 with OV5693 and on RkISP1 via the Debix A with and imx708. Dan [1] https://patchwork.libcamera.org/project/libcamera/list/?series=5992 Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com> --- Daniel Scally (10): ipa: ipu3: Remove ~Awb() from source and header ipu3: awb: Remove CCM settings from Awb algorithm ipa: ipu3: awb: Port to the new libipa AwbAlgorithm ipa: ipu3: ccm: Add a Colour Correction Matrix algorithm ipa: libipa: Add GammaAlgorithm class ipa: ipu3: ToneMapping: Convert to use GammaAlgorithm ipa: ipu3: Add Ccm to uncalibrated.yaml ipa: rkisp1: goc: Re-work to use GammaAlgorithm class ipa: ipu3: Add IPACameraSensorInfo to IPAContext ipa: ipu3: Add Lens Shading Correction algorithm src/ipa/ipu3/algorithms/agc.cpp | 12 +- src/ipa/ipu3/algorithms/awb.cpp | 204 +++++++++------------- src/ipa/ipu3/algorithms/awb.h | 22 +-- src/ipa/ipu3/algorithms/ccm.cpp | 116 +++++++++++++ src/ipa/ipu3/algorithms/ccm.h | 43 +++++ src/ipa/ipu3/algorithms/lsc.cpp | 290 +++++++++++++++++++++++++++++++ src/ipa/ipu3/algorithms/lsc.h | 58 +++++++ src/ipa/ipu3/algorithms/meson.build | 2 + src/ipa/ipu3/algorithms/tone_mapping.cpp | 73 ++++---- src/ipa/ipu3/algorithms/tone_mapping.h | 9 +- src/ipa/ipu3/data/uncalibrated.yaml | 1 + src/ipa/ipu3/ipa_context.cpp | 82 +++++---- src/ipa/ipu3/ipa_context.h | 32 ++-- src/ipa/ipu3/ipu3.cpp | 1 + src/ipa/libipa/gamma.cpp | 248 ++++++++++++++++++++++++++ src/ipa/libipa/gamma.h | 93 ++++++++++ src/ipa/libipa/meson.build | 2 + src/ipa/rkisp1/algorithms/goc.cpp | 49 ++---- src/ipa/rkisp1/algorithms/goc.h | 5 +- src/ipa/rkisp1/ipa_context.h | 10 +- 20 files changed, 1094 insertions(+), 258 deletions(-) --- base-commit: ff5cb4f17b0b9989dd853b4d4320ddb2c59a9c0e change-id: 20260616-ipu3-libipa-rework-f2364436d42b prerequisite-change-id: 20260615-libipa-algorithms-59666bca0a2f Best regards,