From patchwork Tue Nov 30 10:51:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanlin Chen X-Patchwork-Id: 14887 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 B22E5BDB13 for ; Tue, 30 Nov 2021 10:52:07 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6AEBF605B8; Tue, 30 Nov 2021 11:52:07 +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="Pjb0hPXx"; dkim-atps=neutral Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 50EA3605A4 for ; Tue, 30 Nov 2021 11:52:06 +0100 (CET) Received: by mail-pj1-x1036.google.com with SMTP id x7so15072049pjn.0 for ; Tue, 30 Nov 2021 02:52:06 -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=Co9Gj6E0SMOgGloogeFHf71M+RMWRlI5QsSOwt7cS/0=; b=Pjb0hPXxpRyf4hYZQEmW31fBMsBG55bEhq/RBDw+/pM9b/BZzqZJnw3/Rp3KMT0mI9 tn7o+8qTDroE1Jaq2faU8UZXo8QqKC8xvvWdhymkcGIaZGsnxvdBeHLBkfkou+N1h69Y bYIcpXI0EoY8x3lgT+k23gnQAI8VXU3IIJKT8= 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=Co9Gj6E0SMOgGloogeFHf71M+RMWRlI5QsSOwt7cS/0=; b=vNroVjiUuNguH7VaRS5zVhOrZyjU0820CqnGT4Qqg2oqqK11X7gFCo14zaATqf4nzu 2F36V7A8nnAj4nzSuJ2Q8iYYwRW/nvqR02G0CXqDotLNqC6/ERUtYoLf2TBsJ1+zv+z6 EJ/K2ivSScY1LPZfBjK1hd7oKm0fJakWplQT1Pb00H6/GYgX3UXUNupRQCrsGbthQ2o9 xpwSTPQsPRq/1SJE/nPZkTCC8mGgSqDb1ttvvelgt1kC9UNfp+zEaJHn5rwPDmtdfmtu YviWSK8MCiObcSFo3gunyZe3T9ASSksLW9yfBvE5NCE7z8VP6M8d/do4kJ771gXCWs/t 9Naw== X-Gm-Message-State: AOAM530dtxZdZ93SrmDD79sra+Eh/y1LNer/65mBd5nyPgbyMxe55CKp tb8xndoDuyJ8Pihd1CObq2djU9wyMK/gzA== X-Google-Smtp-Source: ABdhPJzEV9A7fwigqoR9EQnVmlx5n79dZqoYuZJtx71YK18UTXQsXXTIgAlT9xMlcCZK7wWQDCh3zQ== X-Received: by 2002:a17:90b:4b51:: with SMTP id mi17mr5161011pjb.48.1638269524216; Tue, 30 Nov 2021 02:52:04 -0800 (PST) Received: from localhost ([2401:fa00:1:10:1659:cd3d:a00c:fa38]) by smtp.gmail.com with UTF8SMTPSA id v63sm14619120pgv.71.2021.11.30.02.52.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Nov 2021 02:52:03 -0800 (PST) From: Han-Lin Chen To: libcamera-devel@lists.libcamera.org Date: Tue, 30 Nov 2021 18:51:54 +0800 Message-Id: <20211130105157.203856-2-hanlinchen@chromium.org> X-Mailer: git-send-email 2.34.0.rc2.393.gf8c9666880-goog In-Reply-To: <20211130105157.203856-1-hanlinchen@chromium.org> References: <20211130105157.203856-1-hanlinchen@chromium.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v6 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 {