From patchwork Fri Jul 2 10:38:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 12781 X-Patchwork-Delegate: paul.elder@ideasonboard.com 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 A83C4C3222 for ; Fri, 2 Jul 2021 10:38:45 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 64524684F4; Fri, 2 Jul 2021 12:38:45 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="e7J/HB5m"; 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 18629684F2 for ; Fri, 2 Jul 2021 12:38:44 +0200 (CEST) Received: from pyrite.rasen.tech (unknown [IPv6:2400:4051:61:600:2c71:1b79:d06d:5032]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A309D4AB; Fri, 2 Jul 2021 12:38:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1625222323; bh=oSSvP5KvOo9zcz0/Z6VdUYUkpsxd0fC+uG2+Pyj4NWY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e7J/HB5mVmLXC6BbLuuJHI28PUDZxpHiP25DI29I2LVzoGKmTJOmf+kYhnZs6SrgO WYcdwRMD3nflQlMXEHSxCQtEsDgLELC2SQ/BHXvYncj2gTtpwyCSEAfogrkiqkaaux PQwC0YeKZKzFsPF3jVFFV8yavXxN2YLyHTQ3bLfU= From: Paul Elder To: libcamera-devel@lists.libcamera.org Date: Fri, 2 Jul 2021 19:38:00 +0900 Message-Id: <20210702103800.41291-17-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210702103800.41291-1-paul.elder@ideasonboard.com> References: <20210702103800.41291-1-paul.elder@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [RFC PATCH v3 16/16] pipeline: ipu3: Set AwbLock ControlInfo 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" We want the IPU3 IPA to support AwbLock, so initialize the AwbLock ControlInfo in the IPU3 pipeline handler. Bug: https://bugs.libcamera.org/show_bug.cgi?id=45 Signed-off-by: Paul Elder --- Changes in v3: - use boolean ControlInfo constructor --- src/libcamera/pipeline/ipu3/ipu3.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp index 7906c6ca..5409e955 100644 --- a/src/libcamera/pipeline/ipu3/ipu3.cpp +++ b/src/libcamera/pipeline/ipu3/ipu3.cpp @@ -52,6 +52,7 @@ static constexpr Size IPU3ViewfinderSize(1280, 720); static const ControlInfoMap::Map IPU3Controls = { { &controls::AeEnable, ControlInfo(Span({ false, true }), true) }, { &controls::AeLock, ControlInfo(Span({ false, true }), false) }, + { &controls::AwbLock, ControlInfo(Span({ false, true }), false) }, { &controls::AwbMode, ControlInfo(controls::AwbModeValues) }, { &controls::draft::MaxLatency, ControlInfo(0, 0, 0) }, { &controls::draft::PipelineDepth, ControlInfo(2, 3) },