From patchwork Thu Dec 2 14:03:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanlin Chen X-Patchwork-Id: 14989 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 4225FBF415 for ; Thu, 2 Dec 2021 14:03:28 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E74FF60866; Thu, 2 Dec 2021 15:03:27 +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="nBSjjfOA"; dkim-atps=neutral Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C27646011A for ; Thu, 2 Dec 2021 15:03:26 +0100 (CET) Received: by mail-pj1-x1032.google.com with SMTP id iq11so20626947pjb.3 for ; Thu, 02 Dec 2021 06:03:26 -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=KkZXJPGYKAYgycnRX84OOEYhChCKyH0ZiBDNjsY7vhI=; b=nBSjjfOAhF5jMvPBNljOjTgZK+V+s3UEnJFPF6K+2SFAG3q2gH7Vu6ktVV7NyD1KCN Ac182ZVtCJw46eIkuP78iy9NfOZhb1JRoIhjKipoZP8OZIKX7LYevp7b8Du9J79qtCtU vI0e+8UBY1pWjoJWV7e885w1frnTzkLcFCcIM= 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=KkZXJPGYKAYgycnRX84OOEYhChCKyH0ZiBDNjsY7vhI=; b=ErNmHg1iit5OZe35ORgWgUcOS5u1UeYfqQ3m60XvasM9U6IeDWTdVSqAsuJ+Zod4en RD2DnS0PP1cMvY7hLJ6UTCDRJIOn6kXRbAs1dCn6G5P11Zqq0pTjZUuqGL6Ol2JFh8yk TXYL8ucWn66YXJ+EdiKvEsGVfakGkMX21g2iB7CkvxqxTx3Xfz3UEKTpIwjpsrjBqkV2 drOQ+EmcSH1q8U+2IIRVlbCNENu/kc7ej6sGqevvAcjINTmW4MpWGoLrVXEjbWPa/H1W SDKM85XBTvxnf6vC0hq/4YXg3uFlgAfLktbHSMICMczqsmtjE/JmpQq02ceCWNtXi125 VoXw== X-Gm-Message-State: AOAM5337fEoTEFL4NnWlkpZxoiePDbTA+by4QtK014GH8xUgp0vMIiu5 e899N6lXXaxJMiRwEAJZlxwqkZqa+qNRCA== X-Google-Smtp-Source: ABdhPJycFT6SnlWOxpdue+kxcHnQKIsf/uWsULuxBTNYqlVOhp6qYgTnl49g/15KbcX94REgaUXA0A== X-Received: by 2002:a17:902:76c6:b0:142:644e:e9a with SMTP id j6-20020a17090276c600b00142644e0e9amr15422170plt.6.1638453804934; Thu, 02 Dec 2021 06:03:24 -0800 (PST) Received: from localhost ([2401:fa00:1:10:9029:d68:4045:e723]) by smtp.gmail.com with UTF8SMTPSA id p21sm3837189pfh.43.2021.12.02.06.03.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Dec 2021 06:03:24 -0800 (PST) From: Han-Lin Chen To: libcamera-devel@lists.libcamera.org Date: Thu, 2 Dec 2021 22:03:13 +0800 Message-Id: <20211202140317.3118364-2-hanlinchen@chromium.org> X-Mailer: git-send-email 2.34.1.400.ga245620fadb-goog In-Reply-To: <20211202140317.3118364-1-hanlinchen@chromium.org> References: <20211202140317.3118364-1-hanlinchen@chromium.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v7 1/5] 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 Reviewed-by: Umang Jain --- 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 {