From patchwork Wed Mar 19 16:01:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Klug X-Patchwork-Id: 22975 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 2D5F0C3301 for ; Wed, 19 Mar 2025 16:01:58 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6ADDE68951; Wed, 19 Mar 2025 17:01:57 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="hINtOMTL"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 33E2F687FA for ; Wed, 19 Mar 2025 17:01:56 +0100 (CET) Received: from ideasonboard.com (unknown [IPv6:2a00:6020:448c:6c00:760:e5ca:4814:99c7]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 031E11E6; Wed, 19 Mar 2025 17:00:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1742400013; bh=bfdyj9w4lsv1r5wbHfNhe8lsZTmDx1rGgNw0DbKg0Mk=; h=From:To:Cc:Subject:Date:From; b=hINtOMTLBFAY9ZNmU9dVwYZL358CWzABupGRY6ddzaTZlWWS+KX4p3262FvqWT1PH QZM96mbHzzUkg6sQzblmASxilJXnrssFn65Erg9NbjspYwb+mezPz+0QIij4xuH0Zx +Od14edgV2t7iqmIaODPwCJwvksxs7yNXgVavX2E= From: Stefan Klug To: libcamera-devel@lists.libcamera.org Cc: Stefan Klug Subject: [PATCH 0/2] rkisp1: Fix metering modes Date: Wed, 19 Mar 2025 17:01:35 +0100 Message-ID: <20250319160146.61751-1-stefan.klug@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" Hi all, The metering modes Centered and Spot were not working as expected. This small series fixes that and additionally changes the measurements window to the full frame size which makes more sense when metering modes are available. Please see the individual patches for further details. Best regards, Stefan Stefan Klug (2): ipa: rkisp1: agc: Fix metering modes ipa: rkisp1: agc: Set measurement window to full frame src/ipa/rkisp1/algorithms/agc.cpp | 25 ++++++++++++++----------- src/ipa/rkisp1/algorithms/agc.h | 1 + 2 files changed, 15 insertions(+), 11 deletions(-)