From patchwork Mon May 4 22:28:48 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathias X-Patchwork-Id: 26631 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 7AF61BDCB5 for ; Mon, 4 May 2026 22:41:27 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6EA2963020; Tue, 5 May 2026 00:41:26 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=pepservices.com header.i=@pepservices.com header.b="On8pbf5M"; dkim-atps=neutral Received: from cross.elm.relay.mailchannels.net (cross.elm.relay.mailchannels.net [23.83.212.46]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6B6CE62FD3 for ; Tue, 5 May 2026 00:41:24 +0200 (CEST) X-Sender-Id: idigitalinternetinc|x-authuser|mathias@pepservices.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8BB6238184C for ; Mon, 04 May 2026 22:29:16 +0000 (UTC) Received: from barmail5.idig.net (trex-green-0.trex.outbound.svc.cluster.local [100.100.197.126]) (Authenticated sender: idigitalinternetinc) by relay.mailchannels.net (Postfix) with ESMTPA id 3EA5C381C06 for ; Mon, 04 May 2026 22:29:16 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; d=mailchannels.net; s=arc-2022; cv=none; t=1777933756; b=Xn6TWSmHjZU2o6Bi0iyKs7Q/kLEjbYEATDdVhQ/upCXRBQEvw6FAMfFrrRvUr9kbrEdaCX Sb9na3qvF2oJKl/W+8WwO8+ZVB3cI5jxoc9VHTfjtgOSiMd/0zrJ8GkbIE8d8IdbAqHcUE 8NzG6P5ndwt7AeD9uMOPiwXhqgBKkHFFmO/33wEWP4Divwolo4g0S11yBdtMBAO6D+Aeda OrzeTdbKBuwYIgVxRJkqyV7c0YPPMIWiBRxTMs2sd6pmp3gFHSv1zjLhO4CsH4jWbc3URL KBObo8iukvW8K9kydI5GV8du1M44m9md+MjGUzssj0updwK/CwPAiN1jOOUhmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1777933756; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=inD57rnmwNhoMlLEW9rM+H3yzjB3/7eiQChMuWS32yQ=; b=2vI6fHmBq1+m3UpxwOKyUmFZMW1Vb7OiGUbkDGcJFsNL8SZ0/EbazHELU3ir2d+kVDcyNK 4srOYMZ8HeEqLc8crCP6t5sWGquFrWc3b+efHH8kfTdBjwWIcBRb36k5g96T5omixnUAJB Bdd6CjfcEAfbL875dtgVoC7t9nKwOSe4A76TEInafomdhFM+mg0mWcSJK1maZat7IvItcN BH7jmx8FNoQJ0d8qbEzRL3NMBMwPspVpLTSsjRmbmSIeR8dPljla+gi6pEChBeXwtiQCfl r2xfTW/wPUFPL/m6oFNWzJIgPzoVvI/fDP6qFjSpn3VC9Vj1T9liYWT0bfyFtA== ARC-Authentication-Results: i=1; rspamd-859c89884f-pssrq; auth=pass smtp.auth=idigitalinternetinc smtp.mailfrom=mathias@pepservices.com X-Sender-Id: idigitalinternetinc|x-authuser|mathias@pepservices.com X-MC-Relay: Neutral X-MailChannels-SenderId: idigitalinternetinc|x-authuser|mathias@pepservices.com X-MailChannels-Auth-Id: idigitalinternetinc X-Trouble-Drop: 7fd32aee582e54be_1777933756470_99553212 X-MC-Loop-Signature: 1777933756470:2763803835 X-MC-Ingress-Time: 1777933756470 Received: from barmail5.idig.net (barmail5.idig.net [104.36.151.219]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.100.197.126 (trex/7.1.5); Mon, 04 May 2026 22:29:16 +0000 Received: from cwh28.canadianwebhosting.com (cwh28.canadianwebhosting.com [66.85.29.119]) by barmail5.idig.net with ESMTP id 0lQDD4DGWmEtSDym (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 04 May 2026 15:29:15 -0700 (PDT) X-Barracuda-Envelope-From: mathias@pepservices.com X-Barracuda-Effective-Source-IP: cwh28.canadianwebhosting.com[66.85.29.119] X-Barracuda-Apparent-Source-IP: 66.85.29.119 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pepservices.com; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=inD57rnmwNhoMlLEW9rM+H3yzjB3/7eiQChMuWS32yQ=; b=On8pbf5MsbSsM22YrWNNTo15GT PHFutQBYo2d0B7bOIXBoF6f+lWlJChvf6aCdA4zQ/p6Ksr2twdCJmGHKWqmlHkIStIWLVAkp3dK1T I5Ptru9PqQODI4Qbg58ph6+hxU6Nk/b8R24v+q/k659/acEshF/FV1F02JJPf5lpcpatTSMaxTNy0 Vw0UbeJVHiNq5pzcWZplZ62AuJmxwXs/KWX6Fdd3CQrnQ9BEynp5aEO3FGHX5y5HiB8JDFw0J0IUZ bIdy9bxyHHNXseaLM2DPZcNeCo548RM+t0/5S9t9Ng8T5RqtgoEo5qyP5LVKVa47VZd9BO17g6Lvt vU00ZsgQ==; Received: from d162-156-0-178.bchsia.telus.net ([162.156.0.178]:42680 helo=mathias-pc.local) by cwh28.canadianwebhosting.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.2) (envelope-from ) id 1wK1mu-0000000DMSd-0EbB; Mon, 04 May 2026 18:29:15 -0400 From: Mathias To: libcamera-devel@lists.libcamera.org Cc: Mathias Subject: [PATCH v4 0/4] Add OV9782 sensor support Date: Mon, 4 May 2026 15:28:48 -0700 X-ASG-Orig-Subj: [PATCH v4 0/4] Add OV9782 sensor support Message-ID: <20260504222859.3023305-1-mathias@pepservices.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 X-AuthUser: mathias@pepservices.com X-Barracuda-Connect: cwh28.canadianwebhosting.com[66.85.29.119] X-Barracuda-Start-Time: 1777933755 X-Barracuda-Encrypted: TLS_AES_256_GCM_SHA384 X-Barracuda-URL: https://104.36.151.219:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at idig.net X-Barracuda-Scan-Msg-Size: 1394 X-Barracuda-BRTS-Status: 0 X-ASG-Debug-ID: 1777933755-13d5ac20401cd90001-aslxF0 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=3.5 QUARANTINE_LEVEL=8.0 KILL_LEVEL=4.0 test= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.125474 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 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" Add support for the OmniVision OV9782 sensor in libcamera. The series adds static sensor properties, registers OV9782 with the Raspberry Pi OV9281 camera helper, and installs OV9782 tuning files for both the Raspberry Pi VC4 and PiSP IPA pipelines. Changes in v4: - Condense scalar tuning tables to reduce the patch body size while keeping the JSON structure readable. Changes in v3: - Split the VC4 and PiSP tuning files into separate patches to keep the mailing list message bodies smaller. Changes in v2: - Add Raspberry Pi VC4 and PiSP IPA tuning files for OV9782. - Install the new tuning files through the corresponding Meson data file lists. Mathias (4): libcamera: camera_sensor_properties: Add OV9782 ipa: rpi: cam_helper: Register OV9782 ipa: rpi: Add OV9782 VC4 tuning file ipa: rpi: Add OV9782 PiSP tuning file src/ipa/rpi/cam_helper/cam_helper_ov9281.cpp | 1 + src/ipa/rpi/pisp/data/meson.build | 1 + src/ipa/rpi/pisp/data/ov9782.json | 1253 +++++++++++++++++ src/ipa/rpi/vc4/data/meson.build | 1 + src/ipa/rpi/vc4/data/ov9782.json | 525 +++++++ .../sensor/camera_sensor_properties.cpp | 11 + 6 files changed, 1792 insertions(+) create mode 100644 src/ipa/rpi/pisp/data/ov9782.json create mode 100644 src/ipa/rpi/vc4/data/ov9782.json