From patchwork Thu May 7 16:03:06 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Tia X-Patchwork-Id: 26680 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 9A424BE173 for ; Thu, 7 May 2026 16:11:04 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 4A83263026; Thu, 7 May 2026 18:11:03 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=jetm.me header.i=@jetm.me header.b="aZ8LmUvE"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="n4E7DCCv"; dkim-atps=neutral Received: from fhigh-a1-smtp.messagingengine.com (fhigh-a1-smtp.messagingengine.com [103.168.172.152]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 4889A62010 for ; Thu, 7 May 2026 18:11:01 +0200 (CEST) Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id 474771400134; Thu, 7 May 2026 12:11:00 -0400 (EDT) Received: from phl-imap-07 ([10.202.2.97]) by phl-compute-02.internal (MEProxy); Thu, 07 May 2026 12:11:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jetm.me; h=cc:cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm2; t=1778170260; x=1778256660; bh=vvU3NuN2ig ohG/UCLKkpuVzaJdYdsY4hs7fHPEE6o/4=; b=aZ8LmUvEvCaJ2D4rBUMMno0XhO Ko6xSS9A1JCX+Mg5UBlBFG+w+Sm6vplo+VR+lmoYgbaj7xxGzd7TO95RMe4i2lxy U7fh4oH+iknqezOBiXFQpZX6H0uiaTgJiCIRMEsEW+2EmCSMCg2OApClY0UJj66o riYzpup6akFtp/UERyuthfhuoRHBK7mIue/tKZs8nawQn5plpOrPz4HKQCneuAGl eE75KLBm7DB1G8hKCBH5gmZK/ARd2Bj80xdaRw30JTwJa9qbhctHFwMpyLHlgYrU w1txexe464Cyw4pbt0PbDckAvN/VBHnGnt4uSPzAU/wYT1E0J5L1X+vgoRuw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1778170260; x=1778256660; bh=vvU3NuN2igohG/UCLKkpuVzaJdYd sY4hs7fHPEE6o/4=; b=n4E7DCCvj4HpV1D0kx0+pMDaAIowurLHgOcIoka9WweH jrmk2S+mziAEzamf/2Vu7k/4QoOIStC3fgrOx24+2la8MqfdEqGTQnED1qeq/DB3 Xy8FGXvWziP17E5FnsrOj7QgpmfKAMcfdi8q9C1WCjdkeL3XQvjK50yBiZjx8uxm HBI1EIqlwuYvIz849/wyRBtdkAnp80iEd7CLsdwJ843nkv62S6e6xYeWWllzwbbP axVdexXK1KRCOfEe6krhqwtnk6Jm3DWPgmJ/kz0GDlsf/8e969RulteRzkB8fRGJ pd8D49CCW9TrsAIZ+NI357VjGn/xnnB7kfma7WC4rA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddutdejledvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefotggggffhvfffufevkfesthekredtre dtjeenucfhrhhomheplfgrvhhivghrucfvihgruceofhhlohhsshesjhgvthhmrdhmvgeq necuggftrfgrthhtvghrnhepffejfefhjedvvddtgfekgfekteegfeevteetgeeifedtie etgfduteeujedtuedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepfhhlohhsshesjhgvthhmrdhmvgdpnhgspghrtghpthhtohepjedpmhhoug gvpehsmhhtphhouhhtpdhrtghpthhtoheprhhosggvrhhtrdhmrgguvghrsegtohhllhgr sghorhgrrdgtohhmpdhrtghpthhtohepsggrrhhnrggsrghsrdhpohgtiigvsehiuggvrg hsohhnsghorghrugdrtghomhdprhgtphhtthhopehkihgvrhgrnhdrsghinhhghhgrmhes ihguvggrshhonhgsohgrrhgurdgtohhmpdhrtghpthhtoheplhgruhhrvghnthdrphhinh gthhgrrhhtsehiuggvrghsohhnsghorghrugdrtghomhdprhgtphhtthhopehlihgstggr mhgvrhgrqdguvghvvghlsehlihhsthhsrdhlihgstggrmhgvrhgrrdhorhhgpdhrtghpth htohepjhhohhgrnhhnvghsrdhgohgvuggvsehoshhsrdhquhgrlhgtohhmmhdrtghomhdp rhgtphhtthhopehmiigrmhgriigrlhesrhgvughhrghtrdgtohhm X-ME-Proxy: Feedback-ID: i9dde48b3:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id BE64D1EA006B; Thu, 7 May 2026 12:10:59 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 From: Javier Tia To: libcamera-devel@lists.libcamera.org Date: Thu, 07 May 2026 10:03:06 -0600 Subject: [PATCH v1 0/2] ipa: simple: OV2740 tuning file and swstats sumShift cleanup Cc: mzamazal@redhat.com, kieran.bingham@ideasonboard.com, robert.mader@collabora.com, johannes.goede@oss.qualcomm.com, laurent.pinchart@ideasonboard.com, barnabas.pocze@ideasonboard.com Message-ID: <177817025814.1112523.8335692307235726369@jetm.me> 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" Patch 1/2 addresses review feedback from Laurent Pinchart and Barnabas Pocze on the "Normalize statistics sums to 8-bit" patch (v5 2/3): right-shifting by zero is a no-op, so the if (sumShift_) guard is redundant. Patch 2/2 adds a tuning file for the OV2740 sensor, calibrated from the Intel IPU6 AIQB binary shipped with the ThinkPad X1 Carbon Gen 10. Javier Tia (2): libcamera: software_isp: Drop redundant sumShift_ guard in finishFrame ipa: simple: data: Add OV2740 tuning file src/ipa/simple/data/meson.build | 1 + src/ipa/simple/data/ov2740.yaml | 52 ++++++++++++++++++++++ src/libcamera/software_isp/swstats_cpu.cpp | 8 ++-- 3 files changed, 56 insertions(+), 5 deletions(-) Best, Javier