From patchwork Thu Nov 11 10:49:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanlin Chen X-Patchwork-Id: 14552 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 2EBBABDB1C for ; Thu, 11 Nov 2021 10:50:05 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id DD55F6035D; Thu, 11 Nov 2021 11:50:04 +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="mgC/PU/S"; dkim-atps=neutral Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 56ED46032C for ; Thu, 11 Nov 2021 11:50:03 +0100 (CET) Received: by mail-pj1-x1034.google.com with SMTP id y14-20020a17090a2b4e00b001a5824f4918so4288730pjc.4 for ; Thu, 11 Nov 2021 02:50: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:mime-version :content-transfer-encoding; bh=jGcymQePV84ZIZ5Whj2lQwCbt9ptUr3iA+neLQdNC5Y=; b=mgC/PU/S2NPrlpuOO3yghJP2dYcwq3Lqv9z9sKRqzldlkc6NwLD/twvrb4blSYQ9vN sUq8k6EQwA1dbhpiVvtrujeXjiuESEAvJoO4NepxCw3hQHT1tzMUsPhrq0lIFU1QngQH sV66zn3Rl1aHesRKr1AUqsH22JQcmNoc74xCQ= 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:mime-version :content-transfer-encoding; bh=jGcymQePV84ZIZ5Whj2lQwCbt9ptUr3iA+neLQdNC5Y=; b=AAhaVaUFl5tQU0Mbs5ApDU1obnhSpy/c1zswM1+bD0Egs8xuliq6TFBt/jueOqIbLy yQa9Fop2fkgzs1fdHsk9H4Wy/Et4Fi9YXplry2CBsODr9cVc+tGAkoeYtkw4l37XFfjH bCCrVsB3DdOSn4s1u3HRDmri3VVuxWvP9kikPCltwFz2BGqEbL156pd4MBAF9iGWBao/ p8ySwbmmcqC5pqCE01WK9xbAj570CWzO7xKPqJPQHSnYxgiUcUx119zctXQvX99ZBXi2 gmAF+1gXsPoF2I6ifdvM2qsujg/r+AMRUiW8aOdAP0nsTnE9dHls7qGDgBWLdFH7ZQc5 iZAw== X-Gm-Message-State: AOAM532AaBijCSEM6s4R0x3JcrP9mPTZaNE1jP3gmRR1jejQ1350WqoE QtMw1ltkOuq3NBKrLNnZqpWPTQ8b5rYIoQ== X-Google-Smtp-Source: ABdhPJxSted52gqR0rNKYNRXuB9d5Huo3N+zKXAzKNm4CKChZD/pR+56UmB7x75QiqCpXe1/93q86A== X-Received: by 2002:a17:90a:3d42:: with SMTP id o2mr7383671pjf.150.1636627801796; Thu, 11 Nov 2021 02:50:01 -0800 (PST) Received: from localhost ([2401:fa00:1:10:3925:da9c:3049:be7a]) by smtp.gmail.com with UTF8SMTPSA id m18sm2938411pfk.68.2021.11.11.02.50.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Nov 2021 02:50:01 -0800 (PST) From: Han-Lin Chen To: libcamera-devel@lists.libcamera.org Date: Thu, 11 Nov 2021 18:49:56 +0800 Message-Id: <20211111104958.312070-1-hanlinchen@chromium.org> X-Mailer: git-send-email 2.34.0.rc1.387.gb447b232ab-goog MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 1/3] 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 --- 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 {