From patchwork Thu Oct 29 12:58:28 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 28674 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 20DD4C3261 for ; Thu, 29 Oct 2026 12:59:13 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 9D1F1690BE; Thu, 29 Oct 2026 13:59:03 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="sWqPEJAp"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C491C69091 for ; Thu, 29 Oct 2026 13:58:49 +0100 (CET) Received: from pb-laptop.local (185.221.143.99.nat.pool.zt.hu [185.221.143.99]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 626886DC; Thu, 29 Oct 2026 13:56:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1793278596; bh=puvYV1dvRXqZm1F0eYYzJJJ55yOA/ha+dSPQ+T7+Wa0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sWqPEJAp8tJiPwGdZBDW+WIUB2/JZlizAYwLWIfA5dsMAHl5rS7v4GQiAiFO/pLQk 37bcBd4XumQ99WyEbMxJdc4M4juXjx+rFRh0QsFQ1epDeuqTNLV6TbSs8tz1ybRUm4 EPQngY8AK88ec+dmtd2+saLlfSf8eqFg78Efzxkw= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Cc: Jacopo Mondi Subject: [PATCH v5 08/24] ipa: libipa: agc: Initialize "Maximize" mode when none given Date: Thu, 29 Oct 2026 13:58:28 +0100 Message-ID: <20261029125844.170324-9-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261029125844.170324-1-barnabas.pocze@ideasonboard.com> References: <20261029125844.170324-1-barnabas.pocze@ideasonboard.com> 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" If the tuning file containts no exposure modes, then automatically initialize a "Maximize" mode instead of "Normal", because that better describes the actual behaviour. Signed-off-by: Barnabás Pőcze Reviewed-by: Jacopo Mondi --- src/ipa/libipa/agc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipa/libipa/agc.cpp b/src/ipa/libipa/agc.cpp index 229c37b0ea..d3ef44bd86 100644 --- a/src/ipa/libipa/agc.cpp +++ b/src/ipa/libipa/agc.cpp @@ -411,7 +411,7 @@ void addFallbacks(AgcMeanLuminance::Configuration &config) */ if (config.exposureModeHelpers.empty()) config.exposureModeHelpers.try_emplace( - controls::AeExposureModeNormal, + controls::AeExposureModeMaximize, std::vector{}); }