From patchwork Fri Dec 3 09:44:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanlin Chen X-Patchwork-Id: 15003 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 A58A5BDB13 for ; Fri, 3 Dec 2021 09:44:35 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5DDCC6084A; Fri, 3 Dec 2021 10:44:35 +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="ETDJ/CJM"; dkim-atps=neutral Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3CC6260710 for ; Fri, 3 Dec 2021 10:44:34 +0100 (CET) Received: by mail-pg1-x52d.google.com with SMTP id 133so2456100pgc.12 for ; Fri, 03 Dec 2021 01:44:34 -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=mjrurec9ea45rKuUYvsbyyUWooqtEO7znSiEL6ewWEc=; b=ETDJ/CJMGG1Scg6B0VvAGbjwXU+A48++DOnMAeQv5AVn672rN5DGTSMrk6dIAXCNdP baKg8uSYEYvNFx1HSnVJ40xp53ia32y1IWYUcAANTP2Pvutabd8/bBRekoMJX/d388wl idqmI/bXBY/tMrAvhV733O4r5jkpp08aODOTA= 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=mjrurec9ea45rKuUYvsbyyUWooqtEO7znSiEL6ewWEc=; b=FvMeqLtqI5YC6DoIQpzSDDIrjjpecMy4MWCe/Wx4Zm2tZagFa5iFNZn1kYL+RpFPuQ exSlIWgQCyeOqeH46mN8IWlL4VACECHE04qgbSJonYoRJ16IL9jNRsgSURvMdFd2CwHA hXxE+MTtCd/tTg82yRrm6DsO/yIc0rDZUXuikilk1IT2zs6D1mV3AS5WKLQD65zN4Tq6 PRecSTLXqTlKUKAtsBmw9hDEMUDraW81tdmoFgDArIzXPYskCdS6tg4SxlLG2JwkUJ9A esvDo5cK87fLWrulAd9EUYusOc+lUBLHS3ndodDF8MyXsI3sLEN/PzXOkKaCuu/LKt4E WTaQ== X-Gm-Message-State: AOAM533S35r/CkXaK5KCX4JeSNdLTpI+Uvge6tIWxQIfyM8m7h6UBv/7 GvBNZ2nC/BG6lO35dgdGjD45eiSbhjvyrA== X-Google-Smtp-Source: ABdhPJx0ie11DHu/1l9BV/0sleNKDZnBZaIa0TTyQB87liDDuqp6vGYCDenN8O7JQcIqjeiUP0GYKg== X-Received: by 2002:aa7:88d6:0:b0:49f:dd4b:ddbc with SMTP id k22-20020aa788d6000000b0049fdd4bddbcmr18058429pff.31.1638524672354; Fri, 03 Dec 2021 01:44:32 -0800 (PST) Received: from localhost ([2401:fa00:1:10:110e:45d1:2f92:6647]) by smtp.gmail.com with UTF8SMTPSA id b14sm2887364pfv.65.2021.12.03.01.44.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Dec 2021 01:44:31 -0800 (PST) From: Han-Lin Chen To: libcamera-devel@lists.libcamera.org Date: Fri, 3 Dec 2021 17:44:22 +0800 Message-Id: <20211203094426.101454-2-hanlinchen@chromium.org> X-Mailer: git-send-email 2.34.0.384.gca35af8252-goog In-Reply-To: <20211203094426.101454-1-hanlinchen@chromium.org> References: <20211203094426.101454-1-hanlinchen@chromium.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v8 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 {