From patchwork Tue Nov 23 12:37:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanlin Chen X-Patchwork-Id: 14705 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 62435BF415 for ; Tue, 23 Nov 2021 12:38:07 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 14A6F60230; Tue, 23 Nov 2021 13:38: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="HL498L9C"; dkim-atps=neutral Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id EE80E60230 for ; Tue, 23 Nov 2021 13:38:03 +0100 (CET) Received: by mail-pl1-x62f.google.com with SMTP id z6so15773025plk.6 for ; Tue, 23 Nov 2021 04:38:03 -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=HL498L9C9hmvst0fhNwFpFiK/SEMPWAOCg2InfShUZ0dnZUatGlGcKHceSsU46DwZ7 sj9gwYtZH7kAa/AUVsX+qNaMNHp/z5s3xEtjpeWp4sX3heQrwYFDhTqlP0uGJ85T95wQ t+QaHDdCTAV4rWpDmAm1GnQllAbsSJn+0/zKc= 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=LnV4A2DAI0GC8t1f0K8GTX+DDUDJnuHk0WTd7gpK+AqgFZ+aS/VNxX2tJDM1Kpt9Rr qbPLDs6QPvfnAnXslwvuXhtsaQHpJJRfNR7pr1Kq45c3JKsdvjkDb4y1FuYpkQJbK2RS fIoemNO/x1rM+x8Lo/ZjvKkrRDoOgfxfKTHjjVGbw+0eGKogzsmHhdlueVoiCGPznmzQ 5axT96hdvL4M0n/2NYD9RSxn2KNm9t6zGD/N8R1N9KhQ7t70UkauWGLXNHngGEeuD5Dk WV3zuFnEC2oz5yQPBKOYI/HBtNSlRDiklDsXnGswUsSOl7dIfFEXq19TbLZkhCrXvKgL CM5Q== X-Gm-Message-State: AOAM530Y9UtBpCzH/qaMc33NkHluiXOomhbaTaXiZmO9k7RlrNm4I3We XFTyE4+ufNnf6UWnoilrlBWj8z3BgnuIow== X-Google-Smtp-Source: ABdhPJyN1oJB592YGYV3NsGE2x4IR3RTZLAeXubTmrfJdmYCedL+xVELj/20u0IncTIVQEss12QQlA== X-Received: by 2002:a17:90a:1b67:: with SMTP id q94mr2482524pjq.119.1637671081880; Tue, 23 Nov 2021 04:38:01 -0800 (PST) Received: from localhost ([2401:fa00:1:10:8aa3:febd:fadf:4199]) by smtp.gmail.com with UTF8SMTPSA id b11sm12685172pfm.7.2021.11.23.04.38.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Nov 2021 04:38:01 -0800 (PST) From: Han-Lin Chen To: libcamera-devel@lists.libcamera.org Date: Tue, 23 Nov 2021 20:37:48 +0800 Message-Id: <20211123123751.3194696-2-hanlinchen@chromium.org> X-Mailer: git-send-email 2.34.0.rc2.393.gf8c9666880-goog In-Reply-To: <20211123123751.3194696-1-hanlinchen@chromium.org> References: <20211123123751.3194696-1-hanlinchen@chromium.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 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 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 {