From patchwork Fri Nov 26 11:29:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanlin Chen X-Patchwork-Id: 14805 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 11E72BF415 for ; Fri, 26 Nov 2021 11:29:19 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B54E160555; Fri, 26 Nov 2021 12:29:18 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Wa+dF1x8"; dkim-atps=neutral Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 395B660546 for ; Fri, 26 Nov 2021 12:29:16 +0100 (CET) Received: by mail-pf1-x42e.google.com with SMTP id g19so8647438pfb.8 for ; Fri, 26 Nov 2021 03:29:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Zj3ETCdTBLu7RAS5BC4KuZZFoO4fy7wXGac8BmsLB78=; b=Wa+dF1x8TbGh4O0PWq12KuG0ZV7aeecrIJu2JGOYUpYCrszvSXZ3b6rmt+ZRaGlOJ8 eInzoTOG4q2PYe6h8/tAnA/nkcbZvWMSrT5au3/X2jR2ldbKG3e8F3v4VJDa6kuxAg0J /AAtn44hDPorsWrYn9//9wcJ6mwINSY9PZN5w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Zj3ETCdTBLu7RAS5BC4KuZZFoO4fy7wXGac8BmsLB78=; b=DdjRRdhxm6nfZRYXR1q+2vkxVHSGvmwHbetXOkGJ2p3tUk8GhJxq93kh/9uH79dUc4 LD6PGu9jweY5L/0ZhR2SdJM1L2hNGYfPwWnyjnssaPDxD71C3dhzvlWRl/4uHU+Di2o3 3BM+2vrH2Y0zvSFYpODMV3GABAI1/VgxsZt/AFD8C1yXtjKnzJDc4mRVBVxbOnhvMCDq tMuBngzoDRIHjA/tpo5y8WCeTKwnl4xXi0dOxZirOdZamwIQ30mPoGyDOqZWqhcnruJu Wz8eUz/Mu8Mc/efbbLPkKjDV57bqf6uwMJYO1UzI+bfQwQlxbXDUyG3XIsZdDxQ1/uKp jEwQ== X-Gm-Message-State: AOAM531bPzQwg6aI+JgWd5w9NZtNQkTMMkNELl4wj7fZ6GH7/UEGjV1l nO7wuMo0KqvU7RTvz/Qu//9MfwSE1L/lxQ== X-Google-Smtp-Source: ABdhPJyozB8AqrBEcZInusrrnGiqR95i+JkNARz4mDb7sUFW4PLk0kbuwaMOa7Qh6xMytgCgeSyX/g== X-Received: by 2002:a05:6a00:7cc:b0:49f:9cf1:2969 with SMTP id n12-20020a056a0007cc00b0049f9cf12969mr20582502pfu.12.1637926154506; Fri, 26 Nov 2021 03:29:14 -0800 (PST) Received: from localhost ([2401:fa00:1:10:a0de:e637:c058:6824]) by smtp.gmail.com with UTF8SMTPSA id d7sm7365954pfj.91.2021.11.26.03.29.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Nov 2021 03:29:14 -0800 (PST) From: Han-Lin Chen To: libcamera-devel@lists.libcamera.org Date: Fri, 26 Nov 2021 19:29:00 +0800 Message-Id: <20211126112903.3276056-2-hanlinchen@chromium.org> X-Mailer: git-send-email 2.34.0.rc2.393.gf8c9666880-goog In-Reply-To: <20211126112903.3276056-1-hanlinchen@chromium.org> References: <20211126112903.3276056-1-hanlinchen@chromium.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 1/4] ipa: ipu3: Extend ipu3 ipa interface for lens controls 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" IPU3Event and IPU3Action use two fields for both libcamera controls and sensor V4L2 controls. The patch extend one more field for lens V4L2 controls for auto focus usage. Signed-off-by: Han-Lin Chen Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- include/libcamera/ipa/ipu3.mojom | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/libcamera/ipa/ipu3.mojom b/include/libcamera/ipa/ipu3.mojom index 16e3462e..cc0d822f 100644 --- a/include/libcamera/ipa/ipu3.mojom +++ b/include/libcamera/ipa/ipu3.mojom @@ -24,12 +24,14 @@ struct IPU3Event { uint32 bufferId; libcamera.ControlList controls; libcamera.ControlList sensorControls; + libcamera.ControlList lensControls; }; struct IPU3Action { IPU3Operations op; libcamera.ControlList controls; libcamera.ControlList sensorControls; + libcamera.ControlList lensControls; }; struct IPAConfigInfo {