From patchwork Tue Jan 13 17:46:36 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Wang X-Patchwork-Id: 25757 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 95A00BE08B for ; Tue, 13 Jan 2026 17:47:00 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E2D1361FC3; Tue, 13 Jan 2026 18:46:59 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="c3VQj2jJ"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 0AE8161FA0 for ; Tue, 13 Jan 2026 18:46:58 +0100 (CET) Received: from rui-Precision-7560.local (unknown [209.216.103.65]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5CCD1316; Tue, 13 Jan 2026 18:46:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1768326391; bh=q5NoNPvcCiuIqaOwdwHhANlfjknF52jzlg6fYI4uziM=; h=From:To:Cc:Subject:Date:From; b=c3VQj2jJyyxJfRo8LdUgQgq+r93uZkumMMeFQqMTKoAJg2yYN0eY6r/A6A36xCmK0 IBv0rSfwN6YMC7ApCaQ3tY8r/3z6AHd9AQAYLbYoN8NT3uipd1O209gegt2XR+qI0P 4FVuYMEeL8LKAf4rNd98gHj1f+JcHYdiejXAToHg= From: Rui Wang To: libcamera-devel@lists.libcamera.org Cc: Rui Wang Subject: [PATCH v7 0/6] refactor DPF parsing and initialization Date: Tue, 13 Jan 2026 12:46:36 -0500 Message-ID: <20260113174642.1185403-1-rui.wang@ideasonboard.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 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" This patch series refactors the DPF (Denoise Pre-Filter) parsing and initialization in the rkisp1 IPA module, and enables DPF tuning for the IMX219/OV5647 sensor. The changes include restructuring the DPF configuration handling, improving readability, and adding support for sensor-specific DPF parameters. Support mode selection base on tuning parameters Rui Wang (6): ipa: rkisp1: algorithms: dpf: refactor DPF parsing and initialization ipa: rkisp1: algorithms: dpf: Implement mode switching ipa: rkisp1: algorithms: dpf: Refactor prepare() into helpers ipa: rkisp1: algorithms: dpf: Simplify YAML key names ipa: rkisp1: algorithms: dpf: Add detailed config logging ipa: rkisp1: algorithms: data: enable DPF tuning for sensors src/ipa/rkisp1/algorithms/dpf.cpp | 277 ++++++++++++++++++++++++------ src/ipa/rkisp1/algorithms/dpf.h | 24 +++ src/ipa/rkisp1/data/imx219.yaml | 38 ++++ src/ipa/rkisp1/data/meson.build | 1 + src/ipa/rkisp1/data/ov5640.yaml | 51 +++++- src/ipa/rkisp1/data/ov5647.yaml | 46 +++++ 6 files changed, 378 insertions(+), 59 deletions(-) create mode 100644 src/ipa/rkisp1/data/ov5647.yaml