From patchwork Tue Apr 11 09:47:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 18534 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 4150DC0F2A for ; Tue, 11 Apr 2023 09:48:05 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5E374627B8; Tue, 11 Apr 2023 11:48:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1681206484; bh=8XEDCXQfOjPgOWLBPfggNSbRwR+Aq62wqhQnb0YJhKk=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=ZVAZm5ABS+e0dldh734MvWY1ZG5bQXU/n2Eu0vL3fX3x2PVxXahS7rBQKxVJu8SFX aE53w3u25bs8xEF5wQbjOMt/7OeZxR3k7K957NaMk8JlzNteXorFYMg2/ZHTib0Q+A 2Tpvmji4AUQYRifiJA2TfjbxH3Jtlgs1pP1zycSF9uDXoKr0FSyCNWSeKF3H3AVTZB +F/HGQ5qkwz2+Pl1ehiQugZD9HUuSP0SZTYq8/bJRMkMOwO37wQStOo54nVr6acMNe LjEmIfP9YDCyMccOZMJ+zBqhUeykGbniDJhD9wpHtmMx/MAgpU4QOigpPQp7sbTIpA ON6rUmPzVH0iA== Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 1AA2261EC0 for ; Tue, 11 Apr 2023 11:48:01 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="I1S/pENG"; dkim-atps=neutral Received: by mail-oi1-x22a.google.com with SMTP id e9so4971911oig.7 for ; Tue, 11 Apr 2023 02:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1681206480; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NtMLchH6b0RINrQnDbnIFD/hD6pC01Y6NwJRR5Cqbkg=; b=I1S/pENG5LFvCJ723SDZJCoU8U7hSe9lUFB4t55XhpRQlvQIburyy2b4uxppEEnCWf ksmZ/PCx/FRSHZvhxWszscDslb/tLGTQ8fm9Rdhl+Vud/61g9UOYloqOALMdm6NPMhOg SNdN8nzC3GjNGwM03XxQbQQkfQfAMha6cFDb+fvb5bci23v2RoElIcH35aIvCdDrtMXU C8i31bIGDyhHNpkUrfjX8k0jzNo9UJ6A2s1edaK0IOzYywk26YdjEr0YOH+NPM4VjLa5 XnDmFj3sBOrBOVW9Ry54GN/3daLUpwp3dmtGuqHDa2dvOvcmFIBhpFKRXZYRXGfHthdS chgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681206480; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NtMLchH6b0RINrQnDbnIFD/hD6pC01Y6NwJRR5Cqbkg=; b=ghtc2k49TfNH6rPB3Q7dUpej9sfHUuhzu1XjNCdUk5oS+AGnMXWk/e+0Ps0ICpg3Bv oMUXNVRT59bNk/PeKBRYWZZzqATRjhGis0OSbTnoZWUeHqR9c+kZO9IEyL77YSaOvQYj RXvaBeh9zfSJQXpMpptnRhDM75zZkRinztJhuXu2CWqebyRHwnSE+OHcaRPoou/LrSxm lNeC6pATodhAWin1KkIqVI7E09H3+Ijj37+hcu3KtsQ89c3o2I7KbauvKQWEWeAqfrB4 1F34Se7xhAiWFgpCVuvtvA3x98I8m6D6x0a4EEVlwckjzqPqKM7rNxnJDb7049LMK5my qucQ== X-Gm-Message-State: AAQBX9cxymKWhrNHwnap3McG/tIUj6x8z2IlmdlrLlRyPLE4FD13UGy3 TwVu/O0CZpiQ0ZDyfNQnn44+yCL6r9sKK/9JY5Y= X-Google-Smtp-Source: AKy350Zh8IpaJDoVYl/MYMpGHhj5jOcIFyDXTwnl3n6ZZyqEQH7srz2OHeTBawXtNUgbSOLYoAZyqw== X-Received: by 2002:a54:460d:0:b0:389:21:9483 with SMTP id p13-20020a54460d000000b0038900219483mr6444617oip.59.1681206480443; Tue, 11 Apr 2023 02:48:00 -0700 (PDT) Received: from pi4-davidp.pitowers.org ([2a00:1098:3142:14:2bce:64d6:1a5c:49a2]) by smtp.gmail.com with ESMTPSA id bj22-20020a056808199600b0038733b00a5fsm5323371oib.10.2023.04.11.02.47.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 02:48:00 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Tue, 11 Apr 2023 10:47:57 +0100 Message-Id: <20230411094757.29143-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] ipa: raspberrypi: agc: Add "shadows" constraint mode 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: , X-Patchwork-Original-From: David Plowman via libcamera-devel From: David Plowman Reply-To: David Plowman Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The "shadows" constraint mode actually exists in a number of tuning files, but had been omitted from the list of supported modes. Signed-off-by: David Plowman Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- src/ipa/raspberrypi/raspberrypi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp index 9f3f3ac3..9c29fa9a 100644 --- a/src/ipa/raspberrypi/raspberrypi.cpp +++ b/src/ipa/raspberrypi/raspberrypi.cpp @@ -778,6 +778,7 @@ static const std::map MeteringModeTable = { static const std::map ConstraintModeTable = { { controls::ConstraintNormal, "normal" }, { controls::ConstraintHighlight, "highlight" }, + { controls::ConstraintShadows, "shadows" }, { controls::ConstraintCustom, "custom" }, };